AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheParameterGroupsResult.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/CacheParameterGroup.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 DescribeCacheParameterGroupsResult() = default;
38
40
43 inline const Aws::String& GetMarker() const { return m_marker; }
44 template <typename MarkerT = Aws::String>
45 void SetMarker(MarkerT&& value) {
46 m_markerHasBeenSet = true;
47 m_marker = std::forward<MarkerT>(value);
48 }
49 template <typename MarkerT = Aws::String>
51 SetMarker(std::forward<MarkerT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::Vector<CacheParameterGroup>& GetCacheParameterGroups() const { return m_cacheParameterGroups; }
62 template <typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
63 void SetCacheParameterGroups(CacheParameterGroupsT&& value) {
64 m_cacheParameterGroupsHasBeenSet = true;
65 m_cacheParameterGroups = std::forward<CacheParameterGroupsT>(value);
66 }
67 template <typename CacheParameterGroupsT = Aws::Vector<CacheParameterGroup>>
69 SetCacheParameterGroups(std::forward<CacheParameterGroupsT>(value));
70 return *this;
71 }
72 template <typename CacheParameterGroupsT = CacheParameterGroup>
74 m_cacheParameterGroupsHasBeenSet = true;
75 m_cacheParameterGroups.emplace_back(std::forward<CacheParameterGroupsT>(value));
76 return *this;
77 }
79
81
82 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
83 template <typename ResponseMetadataT = ResponseMetadata>
84 void SetResponseMetadata(ResponseMetadataT&& value) {
85 m_responseMetadataHasBeenSet = true;
86 m_responseMetadata = std::forward<ResponseMetadataT>(value);
87 }
88 template <typename ResponseMetadataT = ResponseMetadata>
90 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_marker;
96
97 Aws::Vector<CacheParameterGroup> m_cacheParameterGroups;
98
99 ResponseMetadata m_responseMetadata;
100 bool m_markerHasBeenSet = false;
101 bool m_cacheParameterGroupsHasBeenSet = false;
102 bool m_responseMetadataHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace ElastiCache
107} // namespace Aws
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCacheParameterGroupsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult()=default
DescribeCacheParameterGroupsResult & WithMarker(MarkerT &&value)
DescribeCacheParameterGroupsResult & AddCacheParameterGroups(CacheParameterGroupsT &&value)
AWS_ELASTICACHE_API DescribeCacheParameterGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCacheParameterGroupsResult & WithCacheParameterGroups(CacheParameterGroupsT &&value)
const Aws::Vector< CacheParameterGroup > & GetCacheParameterGroups() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument