/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace ElastiCache { namespace Model { /** *

Represents the output of a DescribeCacheSecurityGroups * operation.

See Also:

AWS * API Reference

*/ class AWS_ELASTICACHE_API DescribeCacheSecurityGroupsResult { public: DescribeCacheSecurityGroupsResult(); DescribeCacheSecurityGroupsResult(const Aws::AmazonWebServiceResult& result); DescribeCacheSecurityGroupsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetMarker(const Aws::String& value) { m_marker = value; } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline DescribeCacheSecurityGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline DescribeCacheSecurityGroupsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

*/ inline DescribeCacheSecurityGroupsResult& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline const Aws::Vector& GetCacheSecurityGroups() const{ return m_cacheSecurityGroups; } /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline void SetCacheSecurityGroups(const Aws::Vector& value) { m_cacheSecurityGroups = value; } /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline void SetCacheSecurityGroups(Aws::Vector&& value) { m_cacheSecurityGroups = std::move(value); } /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline DescribeCacheSecurityGroupsResult& WithCacheSecurityGroups(const Aws::Vector& value) { SetCacheSecurityGroups(value); return *this;} /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline DescribeCacheSecurityGroupsResult& WithCacheSecurityGroups(Aws::Vector&& value) { SetCacheSecurityGroups(std::move(value)); return *this;} /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline DescribeCacheSecurityGroupsResult& AddCacheSecurityGroups(const CacheSecurityGroup& value) { m_cacheSecurityGroups.push_back(value); return *this; } /** *

A list of cache security groups. Each element in the list contains detailed * information about one group.

*/ inline DescribeCacheSecurityGroupsResult& AddCacheSecurityGroups(CacheSecurityGroup&& value) { m_cacheSecurityGroups.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeCacheSecurityGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCacheSecurityGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_cacheSecurityGroups; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws