7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/CacheUsageLimits.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elasticache/model/Tag.h>
51 inline void SetServerlessCacheName(
const char* value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName.assign(value); }
67 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
82 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
97 inline void SetMajorEngineVersion(
const char* value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion.assign(value); }
125 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
190 inline void SetUserGroupId(
const char* value) { m_userGroupIdHasBeenSet =
true; m_userGroupId.assign(value); }
237 inline void SetDailySnapshotTime(
const char* value) { m_dailySnapshotTimeHasBeenSet =
true; m_dailySnapshotTime.assign(value); }
245 bool m_serverlessCacheNameHasBeenSet =
false;
248 bool m_descriptionHasBeenSet =
false;
251 bool m_engineHasBeenSet =
false;
254 bool m_majorEngineVersionHasBeenSet =
false;
257 bool m_cacheUsageLimitsHasBeenSet =
false;
260 bool m_kmsKeyIdHasBeenSet =
false;
263 bool m_securityGroupIdsHasBeenSet =
false;
266 bool m_snapshotArnsToRestoreHasBeenSet =
false;
269 bool m_tagsHasBeenSet =
false;
272 bool m_userGroupIdHasBeenSet =
false;
275 bool m_subnetIdsHasBeenSet =
false;
277 int m_snapshotRetentionLimit;
278 bool m_snapshotRetentionLimitHasBeenSet =
false;
281 bool m_dailySnapshotTimeHasBeenSet =
false;
CreateServerlessCacheRequest & WithDescription(const Aws::String &value)
const Aws::String & GetUserGroupId() const
void SetUserGroupId(Aws::String &&value)
const Aws::String & GetEngine() const
void SetDailySnapshotTime(const Aws::String &value)
CreateServerlessCacheRequest & WithServerlessCacheName(Aws::String &&value)
CreateServerlessCacheRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetMajorEngineVersion() const
void SetMajorEngineVersion(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateServerlessCacheRequest & WithCacheUsageLimits(CacheUsageLimits &&value)
void SetServerlessCacheName(const char *value)
void SetServerlessCacheName(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetUserGroupId(const char *value)
bool DailySnapshotTimeHasBeenSet() const
CreateServerlessCacheRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateServerlessCacheRequest & WithDescription(Aws::String &&value)
CreateServerlessCacheRequest & WithSnapshotRetentionLimit(int value)
CreateServerlessCacheRequest & WithMajorEngineVersion(const char *value)
void SetDescription(const Aws::String &value)
const Aws::String & GetServerlessCacheName() const
void SetMajorEngineVersion(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetEngine(const char *value)
bool SubnetIdsHasBeenSet() const
CreateServerlessCacheRequest & WithKmsKeyId(const char *value)
CreateServerlessCacheRequest & WithEngine(const Aws::String &value)
void SetDailySnapshotTime(Aws::String &&value)
CreateServerlessCacheRequest & WithServerlessCacheName(const Aws::String &value)
CreateServerlessCacheRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreateServerlessCacheRequest & WithUserGroupId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateServerlessCacheRequest & WithKmsKeyId(Aws::String &&value)
bool UserGroupIdHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
CreateServerlessCacheRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateServerlessCacheRequest & WithMajorEngineVersion(const Aws::String &value)
CreateServerlessCacheRequest & AddSnapshotArnsToRestore(Aws::String &&value)
bool MajorEngineVersionHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
void SetEngine(const Aws::String &value)
CreateServerlessCacheRequest & WithEngine(const char *value)
CreateServerlessCacheRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetKmsKeyId(Aws::String &&value)
CreateServerlessCacheRequest & AddSubnetIds(Aws::String &&value)
CreateServerlessCacheRequest & WithServerlessCacheName(const char *value)
bool CacheUsageLimitsHasBeenSet() const
bool EngineHasBeenSet() const
CreateServerlessCacheRequest & WithSnapshotArnsToRestore(const Aws::Vector< Aws::String > &value)
void SetCacheUsageLimits(const CacheUsageLimits &value)
void SetKmsKeyId(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
bool TagsHasBeenSet() const
CreateServerlessCacheRequest & AddSnapshotArnsToRestore(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDailySnapshotTime() const
CreateServerlessCacheRequest & WithDailySnapshotTime(const Aws::String &value)
CreateServerlessCacheRequest & WithMajorEngineVersion(Aws::String &&value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
CreateServerlessCacheRequest & AddSubnetIds(const Aws::String &value)
void SetServerlessCacheName(const Aws::String &value)
void SetMajorEngineVersion(Aws::String &&value)
void SetCacheUsageLimits(CacheUsageLimits &&value)
const CacheUsageLimits & GetCacheUsageLimits() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateServerlessCacheRequest & WithUserGroupId(const char *value)
bool ServerlessCacheNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSnapshotArnsToRestore() const
bool SnapshotArnsToRestoreHasBeenSet() const
CreateServerlessCacheRequest & AddSnapshotArnsToRestore(const char *value)
CreateServerlessCacheRequest & WithSnapshotArnsToRestore(Aws::Vector< Aws::String > &&value)
void SetDescription(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSnapshotArnsToRestore(Aws::Vector< Aws::String > &&value)
int GetSnapshotRetentionLimit() const
void SetEngine(Aws::String &&value)
AWS_ELASTICACHE_API CreateServerlessCacheRequest()
CreateServerlessCacheRequest & AddSecurityGroupIds(Aws::String &&value)
CreateServerlessCacheRequest & WithKmsKeyId(const Aws::String &value)
CreateServerlessCacheRequest & WithEngine(Aws::String &&value)
CreateServerlessCacheRequest & WithUserGroupId(Aws::String &&value)
CreateServerlessCacheRequest & WithDescription(const char *value)
void SetDailySnapshotTime(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSnapshotRetentionLimit(int value)
void SetUserGroupId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateServerlessCacheRequest & AddSecurityGroupIds(const char *value)
CreateServerlessCacheRequest & AddTags(Tag &&value)
CreateServerlessCacheRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateServerlessCacheRequest & WithTags(Aws::Vector< Tag > &&value)
CreateServerlessCacheRequest & WithDailySnapshotTime(const char *value)
void SetKmsKeyId(const char *value)
void SetSnapshotArnsToRestore(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateServerlessCacheRequest & WithDailySnapshotTime(Aws::String &&value)
CreateServerlessCacheRequest & AddSubnetIds(const char *value)
CreateServerlessCacheRequest & AddTags(const Tag &value)
CreateServerlessCacheRequest & WithCacheUsageLimits(const CacheUsageLimits &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector