7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "DescribeServerlessCacheSnapshots"; }
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>
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>
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>
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>
105 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
111 bool m_serverlessCacheNameHasBeenSet =
false;
114 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
117 bool m_snapshotTypeHasBeenSet =
false;
120 bool m_nextTokenHasBeenSet =
false;
123 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