7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/CacheUsageLimits.h>
16namespace ElastiCache {
43 template <
typename ServerlessCacheNameT = Aws::String>
45 m_serverlessCacheNameHasBeenSet =
true;
46 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
48 template <
typename ServerlessCacheNameT = Aws::String>
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
81 template <
typename CacheUsageLimitsT = CacheUsageLimits>
83 m_cacheUsageLimitsHasBeenSet =
true;
84 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
86 template <
typename CacheUsageLimitsT = CacheUsageLimits>
102 m_removeUserGroupHasBeenSet =
true;
103 m_removeUserGroup = value;
119 template <
typename UserGroupIdT = Aws::String>
121 m_userGroupIdHasBeenSet =
true;
122 m_userGroupId = std::forward<UserGroupIdT>(value);
124 template <
typename UserGroupIdT = Aws::String>
141 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
143 m_securityGroupIdsHasBeenSet =
true;
144 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
146 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
151 template <
typename SecurityGroupIdsT = Aws::String>
153 m_securityGroupIdsHasBeenSet =
true;
154 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
169 m_snapshotRetentionLimitHasBeenSet =
true;
170 m_snapshotRetentionLimit = value;
187 template <
typename DailySnapshotTimeT = Aws::String>
189 m_dailySnapshotTimeHasBeenSet =
true;
190 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
192 template <
typename DailySnapshotTimeT = Aws::String>
206 template <
typename EngineT = Aws::String>
208 m_engineHasBeenSet =
true;
209 m_engine = std::forward<EngineT>(value);
211 template <
typename EngineT = Aws::String>
224 template <
typename MajorEngineVersionT = Aws::String>
226 m_majorEngineVersionHasBeenSet =
true;
227 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
229 template <
typename MajorEngineVersionT = Aws::String>
242 bool m_removeUserGroup{
false};
248 int m_snapshotRetentionLimit{0};
255 bool m_serverlessCacheNameHasBeenSet =
false;
256 bool m_descriptionHasBeenSet =
false;
257 bool m_cacheUsageLimitsHasBeenSet =
false;
258 bool m_removeUserGroupHasBeenSet =
false;
259 bool m_userGroupIdHasBeenSet =
false;
260 bool m_securityGroupIdsHasBeenSet =
false;
261 bool m_snapshotRetentionLimitHasBeenSet =
false;
262 bool m_dailySnapshotTimeHasBeenSet =
false;
263 bool m_engineHasBeenSet =
false;
264 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