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"; }
49 inline void SetServerlessCacheName(
const char* value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName.assign(value); }
65 inline void SetServerlessCacheSnapshotName(
const char* value) { m_serverlessCacheSnapshotNameHasBeenSet =
true; m_serverlessCacheSnapshotName.assign(value); }
80 inline void SetSnapshotType(
const char* value) { m_snapshotTypeHasBeenSet =
true; m_snapshotType.assign(value); }
97 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
113 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
119 bool m_serverlessCacheNameHasBeenSet =
false;
122 bool m_serverlessCacheSnapshotNameHasBeenSet =
false;
125 bool m_snapshotTypeHasBeenSet =
false;
128 bool m_nextTokenHasBeenSet =
false;
131 bool m_maxResultsHasBeenSet =
false;
int GetMaxResults() const
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithMaxResults(int value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(Aws::String &&value)
bool ServerlessCacheNameHasBeenSet() const
void SetNextToken(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
AWS_ELASTICACHE_API DescribeServerlessCacheSnapshotsRequest()
void SetServerlessCacheName(Aws::String &&value)
void SetSnapshotType(const char *value)
void SetServerlessCacheSnapshotName(const char *value)
void SetServerlessCacheName(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(const char *value)
bool ServerlessCacheSnapshotNameHasBeenSet() const
void SetSnapshotType(Aws::String &&value)
DescribeServerlessCacheSnapshotsRequest & WithSnapshotType(Aws::String &&value)
DescribeServerlessCacheSnapshotsRequest & WithNextToken(const char *value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(const char *value)
bool NextTokenHasBeenSet() const
const Aws::String & GetSnapshotType() const
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(Aws::String &&value)
void SetServerlessCacheName(const Aws::String &value)
const Aws::String & GetServerlessCacheName() const
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(const char *value)
void SetNextToken(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetMaxResults(int value)
bool SnapshotTypeHasBeenSet() const
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
void SetServerlessCacheSnapshotName(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheSnapshotName(const Aws::String &value)
const Aws::String & GetServerlessCacheSnapshotName() const
bool MaxResultsHasBeenSet() const
void SetServerlessCacheSnapshotName(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetSnapshotType(const Aws::String &value)
DescribeServerlessCacheSnapshotsRequest & WithServerlessCacheName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String