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>
12#include <aws/elasticache/model/Tag.h>
17namespace ElastiCache {
45 template <
typename ServerlessCacheNameT = Aws::String>
47 m_serverlessCacheNameHasBeenSet =
true;
48 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
50 template <
typename ServerlessCacheNameT = Aws::String>
65 template <
typename DescriptionT = Aws::String>
67 m_descriptionHasBeenSet =
true;
68 m_description = std::forward<DescriptionT>(value);
70 template <
typename DescriptionT = Aws::String>
84 template <
typename EngineT = Aws::String>
86 m_engineHasBeenSet =
true;
87 m_engine = std::forward<EngineT>(value);
89 template <
typename EngineT = Aws::String>
103 template <
typename MajorEngineVersionT = Aws::String>
105 m_majorEngineVersionHasBeenSet =
true;
106 m_majorEngineVersion = std::forward<MajorEngineVersionT>(value);
108 template <
typename MajorEngineVersionT = Aws::String>
122 template <
typename CacheUsageLimitsT = CacheUsageLimits>
124 m_cacheUsageLimitsHasBeenSet =
true;
125 m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value);
127 template <
typename CacheUsageLimitsT = CacheUsageLimits>
141 template <
typename KmsKeyIdT = Aws::String>
143 m_kmsKeyIdHasBeenSet =
true;
144 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
146 template <
typename KmsKeyIdT = Aws::String>
163 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
165 m_securityGroupIdsHasBeenSet =
true;
166 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
168 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
173 template <
typename SecurityGroupIdsT = Aws::String>
175 m_securityGroupIdsHasBeenSet =
true;
176 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
188 template <
typename SnapshotArnsToRestoreT = Aws::Vector<Aws::String>>
190 m_snapshotArnsToRestoreHasBeenSet =
true;
191 m_snapshotArnsToRestore = std::forward<SnapshotArnsToRestoreT>(value);
193 template <
typename SnapshotArnsToRestoreT = Aws::Vector<Aws::String>>
198 template <
typename SnapshotArnsToRestoreT = Aws::String>
200 m_snapshotArnsToRestoreHasBeenSet =
true;
201 m_snapshotArnsToRestore.emplace_back(std::forward<SnapshotArnsToRestoreT>(value));
213 template <
typename TagsT = Aws::Vector<Tag>>
215 m_tagsHasBeenSet =
true;
216 m_tags = std::forward<TagsT>(value);
218 template <
typename TagsT = Aws::Vector<Tag>>
220 SetTags(std::forward<TagsT>(value));
223 template <
typename TagsT = Tag>
225 m_tagsHasBeenSet =
true;
226 m_tags.emplace_back(std::forward<TagsT>(value));
238 template <
typename UserGroupIdT = Aws::String>
240 m_userGroupIdHasBeenSet =
true;
241 m_userGroupId = std::forward<UserGroupIdT>(value);
243 template <
typename UserGroupIdT = Aws::String>
258 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
260 m_subnetIdsHasBeenSet =
true;
261 m_subnetIds = std::forward<SubnetIdsT>(value);
263 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
268 template <
typename SubnetIdsT = Aws::String>
270 m_subnetIdsHasBeenSet =
true;
271 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
286 m_snapshotRetentionLimitHasBeenSet =
true;
287 m_snapshotRetentionLimit = value;
304 template <
typename DailySnapshotTimeT = Aws::String>
306 m_dailySnapshotTimeHasBeenSet =
true;
307 m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value);
309 template <
typename DailySnapshotTimeT = Aws::String>
338 int m_snapshotRetentionLimit{0};
341 bool m_serverlessCacheNameHasBeenSet =
false;
342 bool m_descriptionHasBeenSet =
false;
343 bool m_engineHasBeenSet =
false;
344 bool m_majorEngineVersionHasBeenSet =
false;
345 bool m_cacheUsageLimitsHasBeenSet =
false;
346 bool m_kmsKeyIdHasBeenSet =
false;
347 bool m_securityGroupIdsHasBeenSet =
false;
348 bool m_snapshotArnsToRestoreHasBeenSet =
false;
349 bool m_tagsHasBeenSet =
false;
350 bool m_userGroupIdHasBeenSet =
false;
351 bool m_subnetIdsHasBeenSet =
false;
352 bool m_snapshotRetentionLimitHasBeenSet =
false;
353 bool m_dailySnapshotTimeHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
void SetEngine(EngineT &&value)
const Aws::String & GetUserGroupId() const
const Aws::String & GetEngine() const
CreateServerlessCacheRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetMajorEngineVersion() const
CreateServerlessCacheRequest & WithEngine(EngineT &&value)
CreateServerlessCacheRequest & WithSnapshotArnsToRestore(SnapshotArnsToRestoreT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateServerlessCacheRequest & WithUserGroupId(UserGroupIdT &&value)
CreateServerlessCacheRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool DailySnapshotTimeHasBeenSet() const
CreateServerlessCacheRequest & WithSnapshotRetentionLimit(int value)
const Aws::String & GetServerlessCacheName() const
void SetDailySnapshotTime(DailySnapshotTimeT &&value)
bool SubnetIdsHasBeenSet() const
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool UserGroupIdHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
bool MajorEngineVersionHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
bool CacheUsageLimitsHasBeenSet() const
bool EngineHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
CreateServerlessCacheRequest & WithDailySnapshotTime(DailySnapshotTimeT &&value)
void SetUserGroupId(UserGroupIdT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDailySnapshotTime() const
CreateServerlessCacheRequest & AddSnapshotArnsToRestore(SnapshotArnsToRestoreT &&value)
const Aws::String & GetDescription() const
CreateServerlessCacheRequest & AddSubnetIds(SubnetIdsT &&value)
bool DescriptionHasBeenSet() const
CreateServerlessCacheRequest & WithCacheUsageLimits(CacheUsageLimitsT &&value)
CreateServerlessCacheRequest & WithTags(TagsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
const CacheUsageLimits & GetCacheUsageLimits() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateServerlessCacheRequest & WithMajorEngineVersion(MajorEngineVersionT &&value)
CreateServerlessCacheRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
bool ServerlessCacheNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSnapshotArnsToRestore() const
bool SnapshotArnsToRestoreHasBeenSet() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
int GetSnapshotRetentionLimit() const
void SetKmsKeyId(KmsKeyIdT &&value)
CreateServerlessCacheRequest & WithDescription(DescriptionT &&value)
void SetMajorEngineVersion(MajorEngineVersionT &&value)
void SetCacheUsageLimits(CacheUsageLimitsT &&value)
void SetServerlessCacheName(ServerlessCacheNameT &&value)
void SetSnapshotRetentionLimit(int value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateServerlessCacheRequest & AddTags(TagsT &&value)
void SetSnapshotArnsToRestore(SnapshotArnsToRestoreT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateServerlessCacheRequest & WithSubnetIds(SubnetIdsT &&value)
AWS_ELASTICACHE_API CreateServerlessCacheRequest()=default
CreateServerlessCacheRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector