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>
49 inline void SetServerlessCacheName(
const char* value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
91 inline void SetRemoveUserGroup(
bool value) { m_removeUserGroupHasBeenSet =
true; m_removeUserGroup = value; }
105 inline void SetUserGroupId(
const char* value) { m_userGroupIdHasBeenSet =
true; m_userGroupId.assign(value); }
154 inline void SetDailySnapshotTime(
const char* value) { m_dailySnapshotTimeHasBeenSet =
true; m_dailySnapshotTime.assign(value); }
169 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
183 inline void SetMajorEngineVersion(
const char* value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion.assign(value); }
191 bool m_serverlessCacheNameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_cacheUsageLimitsHasBeenSet =
false;
199 bool m_removeUserGroup;
200 bool m_removeUserGroupHasBeenSet =
false;
203 bool m_userGroupIdHasBeenSet =
false;
206 bool m_securityGroupIdsHasBeenSet =
false;
208 int m_snapshotRetentionLimit;
209 bool m_snapshotRetentionLimitHasBeenSet =
false;
212 bool m_dailySnapshotTimeHasBeenSet =
false;
215 bool m_engineHasBeenSet =
false;
218 bool m_majorEngineVersionHasBeenSet =
false;
ModifyServerlessCacheRequest & WithSnapshotRetentionLimit(int value)
ModifyServerlessCacheRequest & WithEngine(const char *value)
ModifyServerlessCacheRequest & WithCacheUsageLimits(CacheUsageLimits &&value)
ModifyServerlessCacheRequest & WithEngine(const Aws::String &value)
ModifyServerlessCacheRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetCacheUsageLimits(CacheUsageLimits &&value)
ModifyServerlessCacheRequest & WithUserGroupId(const char *value)
ModifyServerlessCacheRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetUserGroupId() const
ModifyServerlessCacheRequest & WithMajorEngineVersion(const char *value)
bool MajorEngineVersionHasBeenSet() const
ModifyServerlessCacheRequest & WithServerlessCacheName(const char *value)
void SetServerlessCacheName(Aws::String &&value)
ModifyServerlessCacheRequest & WithDescription(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool SecurityGroupIdsHasBeenSet() const
ModifyServerlessCacheRequest & WithMajorEngineVersion(Aws::String &&value)
ModifyServerlessCacheRequest & WithDailySnapshotTime(const Aws::String &value)
ModifyServerlessCacheRequest & WithDailySnapshotTime(const char *value)
ModifyServerlessCacheRequest & WithCacheUsageLimits(const CacheUsageLimits &value)
void SetEngine(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetCacheUsageLimits(const CacheUsageLimits &value)
ModifyServerlessCacheRequest & WithServerlessCacheName(const Aws::String &value)
void SetMajorEngineVersion(const Aws::String &value)
bool SnapshotRetentionLimitHasBeenSet() const
bool ServerlessCacheNameHasBeenSet() const
void SetDescription(const char *value)
ModifyServerlessCacheRequest & WithEngine(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetDailySnapshotTime() const
const Aws::String & GetEngine() const
ModifyServerlessCacheRequest & WithDescription(const Aws::String &value)
ModifyServerlessCacheRequest & WithUserGroupId(const Aws::String &value)
bool DailySnapshotTimeHasBeenSet() const
void SetUserGroupId(const Aws::String &value)
void SetMajorEngineVersion(const char *value)
ModifyServerlessCacheRequest & WithDailySnapshotTime(Aws::String &&value)
ModifyServerlessCacheRequest & WithServerlessCacheName(Aws::String &&value)
void SetDailySnapshotTime(const char *value)
ModifyServerlessCacheRequest & AddSecurityGroupIds(Aws::String &&value)
bool GetRemoveUserGroup() const
ModifyServerlessCacheRequest & WithRemoveUserGroup(bool value)
void SetUserGroupId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDailySnapshotTime(Aws::String &&value)
const CacheUsageLimits & GetCacheUsageLimits() const
void SetMajorEngineVersion(Aws::String &&value)
ModifyServerlessCacheRequest & WithMajorEngineVersion(const Aws::String &value)
ModifyServerlessCacheRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSnapshotRetentionLimit(int value)
void SetDescription(Aws::String &&value)
bool RemoveUserGroupHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetEngine(const Aws::String &value)
void SetServerlessCacheName(const char *value)
ModifyServerlessCacheRequest & AddSecurityGroupIds(const char *value)
ModifyServerlessCacheRequest & WithUserGroupId(Aws::String &&value)
void SetDailySnapshotTime(const Aws::String &value)
const Aws::String & GetMajorEngineVersion() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API ModifyServerlessCacheRequest()
bool CacheUsageLimitsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetRemoveUserGroup(bool value)
int GetSnapshotRetentionLimit() const
bool UserGroupIdHasBeenSet() const
bool EngineHasBeenSet() const
void SetUserGroupId(const char *value)
ModifyServerlessCacheRequest & WithDescription(const char *value)
const Aws::String & GetServerlessCacheName() const
void SetServerlessCacheName(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetEngine(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector