AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeCacheParametersRequest.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 DescribeCacheParametersRequest() = 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 "DescribeCacheParameters"; }
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
43 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
44 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
45 template <typename CacheParameterGroupNameT = Aws::String>
46 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) {
47 m_cacheParameterGroupNameHasBeenSet = true;
48 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
49 }
50 template <typename CacheParameterGroupNameT = Aws::String>
52 SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template <typename SourceT = Aws::String>
65 void SetSource(SourceT&& value) {
66 m_sourceHasBeenSet = true;
67 m_source = std::forward<SourceT>(value);
68 }
69 template <typename SourceT = Aws::String>
71 SetSource(std::forward<SourceT>(value));
72 return *this;
73 }
75
77
83 inline int GetMaxRecords() const { return m_maxRecords; }
84 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
85 inline void SetMaxRecords(int value) {
86 m_maxRecordsHasBeenSet = true;
87 m_maxRecords = value;
88 }
90 SetMaxRecords(value);
91 return *this;
92 }
94
96
102 inline const Aws::String& GetMarker() const { return m_marker; }
103 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 template <typename MarkerT = Aws::String>
105 void SetMarker(MarkerT&& value) {
106 m_markerHasBeenSet = true;
107 m_marker = std::forward<MarkerT>(value);
108 }
109 template <typename MarkerT = Aws::String>
111 SetMarker(std::forward<MarkerT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_cacheParameterGroupName;
117
118 Aws::String m_source;
119
120 int m_maxRecords{0};
121
122 Aws::String m_marker;
123 bool m_cacheParameterGroupNameHasBeenSet = false;
124 bool m_sourceHasBeenSet = false;
125 bool m_maxRecordsHasBeenSet = false;
126 bool m_markerHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace ElastiCache
131} // namespace Aws
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeCacheParametersRequest & WithSource(SourceT &&value)
DescribeCacheParametersRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API DescribeCacheParametersRequest()=default
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeCacheParametersRequest & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String