7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
14namespace ElastiCache {
27 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeServerlessCacheSnapshots"; }
43 template <
typename ServerlessCacheNameT = Aws::String>
45 m_serverlessCacheNameHasBeenSet =
true;
46 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
48 template <
typename ServerlessCacheNameT = Aws::String>
63 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
65 m_serverlessCacheSnapshotNameHasBeenSet =
true;
66 m_serverlessCacheSnapshotName = std::forward<ServerlessCacheSnapshotNameT>(value);
68 template <
typename ServerlessCacheSnapshotNameT = Aws::String>
82 template <
typename SnapshotTypeT = Aws::String>
84 m_snapshotTypeHasBeenSet =
true;
85 m_snapshotType = std::forward<SnapshotTypeT>(value);
87 template <
typename SnapshotTypeT = Aws::String>
103 template <
typename NextTokenT = Aws::String>
105 m_nextTokenHasBeenSet =
true;
106 m_nextToken = std::forward<NextTokenT>(value);
108 template <
typename NextTokenT = Aws::String>
126 m_maxResultsHasBeenSet =
true;
127 m_maxResults = value;
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;
int GetMaxResults() const
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsRequest()=default
DescribeServerlessCacheSnapshotsRequest & WithMaxResults(int value)
bool ServerlessCacheNameHasBeenSet() const
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeServerlessCacheSnapshotsRequest & WithNextToken(NextTokenT &&value)
bool ServerlessCacheSnapshotNameHasBeenSet() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
bool NextTokenHasBeenSet() const
const Aws::String & GetSnapshotType() const
void SetNextToken(NextTokenT &&value)
const Aws::String & GetServerlessCacheName() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
void SetMaxResults(int value)
bool SnapshotTypeHasBeenSet() const
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
void SetSnapshotType(SnapshotTypeT &&value)
const Aws::String & GetServerlessCacheSnapshotName() const
bool MaxResultsHasBeenSet() const
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(ServerlessCacheSnapshotNameT &&value)
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(SnapshotTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String