AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheSubnetGroupsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/CacheSubnetGroup.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache {
25namespace Model {
33 public:
34 AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult() = default;
37
39
42 inline const Aws::String& GetMarker() const { return m_marker; }
43 template <typename MarkerT = Aws::String>
44 void SetMarker(MarkerT&& value) {
45 m_markerHasBeenSet = true;
46 m_marker = std::forward<MarkerT>(value);
47 }
48 template <typename MarkerT = Aws::String>
50 SetMarker(std::forward<MarkerT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<CacheSubnetGroup>& GetCacheSubnetGroups() const { return m_cacheSubnetGroups; }
61 template <typename CacheSubnetGroupsT = Aws::Vector<CacheSubnetGroup>>
62 void SetCacheSubnetGroups(CacheSubnetGroupsT&& value) {
63 m_cacheSubnetGroupsHasBeenSet = true;
64 m_cacheSubnetGroups = std::forward<CacheSubnetGroupsT>(value);
65 }
66 template <typename CacheSubnetGroupsT = Aws::Vector<CacheSubnetGroup>>
68 SetCacheSubnetGroups(std::forward<CacheSubnetGroupsT>(value));
69 return *this;
70 }
71 template <typename CacheSubnetGroupsT = CacheSubnetGroup>
73 m_cacheSubnetGroupsHasBeenSet = true;
74 m_cacheSubnetGroups.emplace_back(std::forward<CacheSubnetGroupsT>(value));
75 return *this;
76 }
78
80
81 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
82 template <typename ResponseMetadataT = ResponseMetadata>
83 void SetResponseMetadata(ResponseMetadataT&& value) {
84 m_responseMetadataHasBeenSet = true;
85 m_responseMetadata = std::forward<ResponseMetadataT>(value);
86 }
87 template <typename ResponseMetadataT = ResponseMetadata>
89 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_marker;
95
96 Aws::Vector<CacheSubnetGroup> m_cacheSubnetGroups;
97
98 ResponseMetadata m_responseMetadata;
99 bool m_markerHasBeenSet = false;
100 bool m_cacheSubnetGroupsHasBeenSet = false;
101 bool m_responseMetadataHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ElastiCache
106} // namespace Aws
DescribeCacheSubnetGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< CacheSubnetGroup > & GetCacheSubnetGroups() const
DescribeCacheSubnetGroupsResult & AddCacheSubnetGroups(CacheSubnetGroupsT &&value)
AWS_ELASTICACHE_API DescribeCacheSubnetGroupsResult()=default
DescribeCacheSubnetGroupsResult & WithMarker(MarkerT &&value)
DescribeCacheSubnetGroupsResult & WithCacheSubnetGroups(CacheSubnetGroupsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument