AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeServerlessCacheSnapshotsRequest.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
20 public:
21 AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeServerlessCacheSnapshots"; }
28
29 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
41 inline const Aws::String& GetServerlessCacheName() const { return m_serverlessCacheName; }
42 inline bool ServerlessCacheNameHasBeenSet() const { return m_serverlessCacheNameHasBeenSet; }
43 template <typename ServerlessCacheNameT = Aws::String>
44 void SetServerlessCacheName(ServerlessCacheNameT&& value) {
45 m_serverlessCacheNameHasBeenSet = true;
46 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
47 }
48 template <typename ServerlessCacheNameT = Aws::String>
50 SetServerlessCacheName(std::forward<ServerlessCacheNameT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetServerlessCacheSnapshotName() const { return m_serverlessCacheSnapshotName; }
62 inline bool ServerlessCacheSnapshotNameHasBeenSet() const { return m_serverlessCacheSnapshotNameHasBeenSet; }
63 template <typename ServerlessCacheSnapshotNameT = Aws::String>
64 void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT&& value) {
65 m_serverlessCacheSnapshotNameHasBeenSet = true;
66 m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value);
67 }
68 template <typename ServerlessCacheSnapshotNameT = Aws::String>
70 SetServerlessCacheSnapshotName(std::forward<ServerlessCacheSnapshotNameT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
81 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
82 template <typename SnapshotTypeT = Aws::String>
83 void SetSnapshotType(SnapshotTypeT&& value) {
84 m_snapshotTypeHasBeenSet = true;
85 m_snapshotType = std::forward<SnapshotTypeT>(value);
86 }
87 template <typename SnapshotTypeT = Aws::String>
89 SetSnapshotType(std::forward<SnapshotTypeT>(value));
90 return *this;
91 }
93
95
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 template <typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) {
105 m_nextTokenHasBeenSet = true;
106 m_nextToken = std::forward<NextTokenT>(value);
107 }
108 template <typename NextTokenT = Aws::String>
110 SetNextToken(std::forward<NextTokenT>(value));
111 return *this;
112 }
114
116
123 inline int GetMaxResults() const { return m_maxResults; }
124 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
125 inline void SetMaxResults(int value) {
126 m_maxResultsHasBeenSet = true;
127 m_maxResults = value;
128 }
130 SetMaxResults(value);
131 return *this;
132 }
134 private:
135 Aws::String m_serverlessCacheName;
136
137 Aws::String m_serverlessCacheSnapshotName;
138
139 Aws::String m_snapshotType;
140
141 Aws::String m_nextToken;
142
143 int m_maxResults{0};
144 bool m_serverlessCacheNameHasBeenSet = false;
145 bool m_serverlessCacheSnapshotNameHasBeenSet = false;
146 bool m_snapshotTypeHasBeenSet = false;
147 bool m_nextTokenHasBeenSet = false;
148 bool m_maxResultsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace ElastiCache
153} // namespace Aws
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeServerlessCacheSnapshotsRequest & WithNextToken(NextTokenT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(SnapshotTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String