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>
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 DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
73 template<
typename CacheUsageLimitsT = CacheUsageLimits>
74 void SetCacheUsageLimits(CacheUsageLimitsT&& value) { m_cacheUsageLimitsHasBeenSet =
true; m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value); }
75 template<
typename CacheUsageLimitsT = CacheUsageLimits>
87 inline void SetRemoveUserGroup(
bool value) { m_removeUserGroupHasBeenSet =
true; m_removeUserGroup = value; }
99 template<
typename UserGroupIdT = Aws::String>
100 void SetUserGroupId(UserGroupIdT&& value) { m_userGroupIdHasBeenSet =
true; m_userGroupId = std::forward<UserGroupIdT>(value); }
101 template<
typename UserGroupIdT = Aws::String>
115 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
116 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
117 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
119 template<
typename SecurityGroupIdsT = Aws::String>
145 template<
typename DailySnapshotTimeT = Aws::String>
146 void SetDailySnapshotTime(DailySnapshotTimeT&& value) { m_dailySnapshotTimeHasBeenSet =
true; m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value); }
147 template<
typename DailySnapshotTimeT = Aws::String>
158 template<
typename EngineT = Aws::String>
159 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
160 template<
typename EngineT = Aws::String>
170 template<
typename MajorEngineVersionT = Aws::String>
171 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
172 template<
typename MajorEngineVersionT = Aws::String>
178 bool m_serverlessCacheNameHasBeenSet =
false;
181 bool m_descriptionHasBeenSet =
false;
184 bool m_cacheUsageLimitsHasBeenSet =
false;
186 bool m_removeUserGroup{
false};
187 bool m_removeUserGroupHasBeenSet =
false;
190 bool m_userGroupIdHasBeenSet =
false;
193 bool m_securityGroupIdsHasBeenSet =
false;
195 int m_snapshotRetentionLimit{0};
196 bool m_snapshotRetentionLimitHasBeenSet =
false;
199 bool m_dailySnapshotTimeHasBeenSet =
false;
202 bool m_engineHasBeenSet =
false;
205 bool m_majorEngineVersionHasBeenSet =
false;
ModifyServerlessCacheRequest & WithSnapshotRetentionLimit(int value)
ModifyServerlessCacheRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetUserGroupId() const
ModifyServerlessCacheRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
void SetDescription(DescriptionT &&value)
void SetCacheUsageLimits(CacheUsageLimitsT &&value)
bool MajorEngineVersionHasBeenSet() const
ModifyServerlessCacheRequest & WithCacheUsageLimits(CacheUsageLimitsT &&value)
ModifyServerlessCacheRequest & WithMajorEngineVersion(MajorEngineVersionT &&value)
bool SecurityGroupIdsHasBeenSet() const
void SetDailySnapshotTime(DailySnapshotTimeT &&value)
bool SnapshotRetentionLimitHasBeenSet() const
bool ServerlessCacheNameHasBeenSet() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetDailySnapshotTime() const
const Aws::String & GetEngine() const
ModifyServerlessCacheRequest & WithDailySnapshotTime(DailySnapshotTimeT &&value)
bool DailySnapshotTimeHasBeenSet() const
bool GetRemoveUserGroup() const
ModifyServerlessCacheRequest & WithRemoveUserGroup(bool value)
virtual const char * GetServiceRequestName() const override
void SetUserGroupId(UserGroupIdT &&value)
const CacheUsageLimits & GetCacheUsageLimits() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetMajorEngineVersion(MajorEngineVersionT &&value)
void SetSnapshotRetentionLimit(int value)
bool RemoveUserGroupHasBeenSet() const
ModifyServerlessCacheRequest & WithUserGroupId(UserGroupIdT &&value)
const Aws::String & GetMajorEngineVersion() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
ModifyServerlessCacheRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool CacheUsageLimitsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
ModifyServerlessCacheRequest & WithEngine(EngineT &&value)
void SetRemoveUserGroup(bool value)
AWS_ELASTICACHE_API ModifyServerlessCacheRequest()=default
ModifyServerlessCacheRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetEngine(EngineT &&value)
int GetSnapshotRetentionLimit() const
bool UserGroupIdHasBeenSet() const
bool EngineHasBeenSet() const
const Aws::String & GetServerlessCacheName() const
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector