/** * 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 DescribeCacheSubnetGroups * operation.

See Also:

AWS * API Reference

*/ class DescribeCacheSubnetGroupsResult { public: AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult(); AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult& 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 DescribeCacheSubnetGroupsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

Provides an identifier to allow retrieval of paginated results.

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

Provides an identifier to allow retrieval of paginated results.

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

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

*/ inline const Aws::Vector& GetCacheSubnetGroups() const{ return m_cacheSubnetGroups; } /** *

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

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

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

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

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

*/ inline DescribeCacheSubnetGroupsResult& WithCacheSubnetGroups(const Aws::Vector& value) { SetCacheSubnetGroups(value); return *this;} /** *

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

*/ inline DescribeCacheSubnetGroupsResult& WithCacheSubnetGroups(Aws::Vector&& value) { SetCacheSubnetGroups(std::move(value)); return *this;} /** *

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

*/ inline DescribeCacheSubnetGroupsResult& AddCacheSubnetGroups(const CacheSubnetGroup& value) { m_cacheSubnetGroups.push_back(value); return *this; } /** *

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

*/ inline DescribeCacheSubnetGroupsResult& AddCacheSubnetGroups(CacheSubnetGroup&& value) { m_cacheSubnetGroups.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 DescribeCacheSubnetGroupsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeCacheSubnetGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_marker; Aws::Vector m_cacheSubnetGroups; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElastiCache } // namespace Aws