AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetServerlessCacheName(const Aws::String& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = value; }
48 inline void SetServerlessCacheName(Aws::String&& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = std::move(value); }
49 inline void SetServerlessCacheName(const char* value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName.assign(value); }
54
56
61 inline const Aws::String& GetServerlessCacheSnapshotName() const{ return m_serverlessCacheSnapshotName; }
62 inline bool ServerlessCacheSnapshotNameHasBeenSet() const { return m_serverlessCacheSnapshotNameHasBeenSet; }
63 inline void SetServerlessCacheSnapshotName(const Aws::String& value) { m_serverlessCacheSnapshotNameHasBeenSet = true; m_serverlessCacheSnapshotName = value; }
64 inline void SetServerlessCacheSnapshotName(Aws::String&& value) { m_serverlessCacheSnapshotNameHasBeenSet = true; m_serverlessCacheSnapshotName = std::move(value); }
65 inline void SetServerlessCacheSnapshotName(const char* value) { m_serverlessCacheSnapshotNameHasBeenSet = true; m_serverlessCacheSnapshotName.assign(value); }
70
72
76 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
77 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
78 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
79 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
80 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
82 inline DescribeServerlessCacheSnapshotsRequest& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
83 inline DescribeServerlessCacheSnapshotsRequest& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
85
87
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
99 inline DescribeServerlessCacheSnapshotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline DescribeServerlessCacheSnapshotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102
104
111 inline int GetMaxResults() const{ return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
114 inline DescribeServerlessCacheSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116 private:
117
118 Aws::String m_serverlessCacheName;
119 bool m_serverlessCacheNameHasBeenSet = false;
120
121 Aws::String m_serverlessCacheSnapshotName;
122 bool m_serverlessCacheSnapshotNameHasBeenSet = false;
123
124 Aws::String m_snapshotType;
125 bool m_snapshotTypeHasBeenSet = false;
126
127 Aws::String m_nextToken;
128 bool m_nextTokenHasBeenSet = false;
129
130 int m_maxResults;
131 bool m_maxResultsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace ElastiCache
136} // namespace Aws
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(Aws::String &&value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String