AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeServerlessCacheSnapshotsRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeServerlessCacheSnapshots"; }
31
32 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
45 inline const Aws::String& GetServerlessCacheName() const { return m_serverlessCacheName; }
46 inline bool ServerlessCacheNameHasBeenSet() const { return m_serverlessCacheNameHasBeenSet; }
47 template<typename ServerlessCacheNameT = Aws::String>
48 void SetServerlessCacheName(ServerlessCacheNameT&& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value); }
49 template<typename ServerlessCacheNameT = Aws::String>
50 DescribeServerlessCacheSnapshotsRequest& WithServerlessCacheName(ServerlessCacheNameT&& value) { SetServerlessCacheName(std::forward<ServerlessCacheNameT>(value)); return *this;}
52
54
59 inline const Aws::String& GetServerlessCacheSnapshotName() const { return m_serverlessCacheSnapshotName; }
60 inline bool ServerlessCacheSnapshotNameHasBeenSet() const { return m_serverlessCacheSnapshotNameHasBeenSet; }
61 template<typename ServerlessCacheSnapshotNameT = Aws::String>
62 void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT&& value) { m_serverlessCacheSnapshotNameHasBeenSet = true; m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value); }
63 template<typename ServerlessCacheSnapshotNameT = Aws::String>
64 DescribeServerlessCacheSnapshotsRequest& WithServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT&& value) { SetServerlessCacheSnapshotName(std::forward<ServerlessCacheSnapshotNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
73 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
74 template<typename SnapshotTypeT = Aws::String>
75 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
76 template<typename SnapshotTypeT = Aws::String>
77 DescribeServerlessCacheSnapshotsRequest& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
79
81
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template<typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
91 template<typename NextTokenT = Aws::String>
92 DescribeServerlessCacheSnapshotsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
94
96
103 inline int GetMaxResults() const { return m_maxResults; }
104 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
105 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
106 inline DescribeServerlessCacheSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
108 private:
109
110 Aws::String m_serverlessCacheName;
111 bool m_serverlessCacheNameHasBeenSet = false;
112
113 Aws::String m_serverlessCacheSnapshotName;
114 bool m_serverlessCacheSnapshotNameHasBeenSet = false;
115
116 Aws::String m_snapshotType;
117 bool m_snapshotTypeHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 int m_maxResults{0};
123 bool m_maxResultsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace ElastiCache
128} // 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