AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheClustersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElastiCache {
15namespace Model {
16
24 public:
25 AWS_ELASTICACHE_API DescribeCacheClustersRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeCacheClusters"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
45 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
46 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
47 template <typename CacheClusterIdT = Aws::String>
48 void SetCacheClusterId(CacheClusterIdT&& value) {
49 m_cacheClusterIdHasBeenSet = true;
50 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
51 }
52 template <typename CacheClusterIdT = Aws::String>
54 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
55 return *this;
56 }
58
60
66 inline int GetMaxRecords() const { return m_maxRecords; }
67 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
68 inline void SetMaxRecords(int value) {
69 m_maxRecordsHasBeenSet = true;
70 m_maxRecords = value;
71 }
73 SetMaxRecords(value);
74 return *this;
75 }
77
79
85 inline const Aws::String& GetMarker() const { return m_marker; }
86 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
87 template <typename MarkerT = Aws::String>
88 void SetMarker(MarkerT&& value) {
89 m_markerHasBeenSet = true;
90 m_marker = std::forward<MarkerT>(value);
91 }
92 template <typename MarkerT = Aws::String>
94 SetMarker(std::forward<MarkerT>(value));
95 return *this;
96 }
98
100
105 inline bool GetShowCacheNodeInfo() const { return m_showCacheNodeInfo; }
106 inline bool ShowCacheNodeInfoHasBeenSet() const { return m_showCacheNodeInfoHasBeenSet; }
107 inline void SetShowCacheNodeInfo(bool value) {
108 m_showCacheNodeInfoHasBeenSet = true;
109 m_showCacheNodeInfo = value;
110 }
113 return *this;
114 }
116
118
124 inline bool GetShowCacheClustersNotInReplicationGroups() const { return m_showCacheClustersNotInReplicationGroups; }
125 inline bool ShowCacheClustersNotInReplicationGroupsHasBeenSet() const { return m_showCacheClustersNotInReplicationGroupsHasBeenSet; }
127 m_showCacheClustersNotInReplicationGroupsHasBeenSet = true;
128 m_showCacheClustersNotInReplicationGroups = value;
129 }
132 return *this;
133 }
135 private:
136 Aws::String m_cacheClusterId;
137
138 int m_maxRecords{0};
139
140 Aws::String m_marker;
141
142 bool m_showCacheNodeInfo{false};
143
144 bool m_showCacheClustersNotInReplicationGroups{false};
145 bool m_cacheClusterIdHasBeenSet = false;
146 bool m_maxRecordsHasBeenSet = false;
147 bool m_markerHasBeenSet = false;
148 bool m_showCacheNodeInfoHasBeenSet = false;
149 bool m_showCacheClustersNotInReplicationGroupsHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace ElastiCache
154} // namespace Aws
DescribeCacheClustersRequest & WithShowCacheNodeInfo(bool value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API DescribeCacheClustersRequest()=default
DescribeCacheClustersRequest & WithCacheClusterId(CacheClusterIdT &&value)
DescribeCacheClustersRequest & WithMarker(MarkerT &&value)
DescribeCacheClustersRequest & WithShowCacheClustersNotInReplicationGroups(bool value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String