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>
49 template<
typename ServerlessCacheNameT = Aws::String>
50 void SetServerlessCacheName(ServerlessCacheNameT&& value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value); }
51 template<
typename ServerlessCacheNameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
76 template<
typename EngineT = Aws::String>
77 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
78 template<
typename EngineT = Aws::String>
89 template<
typename MajorEngineVersionT = Aws::String>
90 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
91 template<
typename MajorEngineVersionT = Aws::String>
102 template<
typename CacheUsageLimitsT = CacheUsageLimits>
103 void SetCacheUsageLimits(CacheUsageLimitsT&& value) { m_cacheUsageLimitsHasBeenSet =
true; m_cacheUsageLimits = std::forward<CacheUsageLimitsT>(value); }
104 template<
typename CacheUsageLimitsT = CacheUsageLimits>
115 template<
typename KmsKeyIdT = Aws::String>
116 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
117 template<
typename KmsKeyIdT = Aws::String>
131 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
132 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
133 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
135 template<
typename SecurityGroupIdsT = Aws::String>
146 template<
typename SnapshotArnsToRestoreT = Aws::Vector<Aws::String>>
147 void SetSnapshotArnsToRestore(SnapshotArnsToRestoreT&& value) { m_snapshotArnsToRestoreHasBeenSet =
true; m_snapshotArnsToRestore = std::forward<SnapshotArnsToRestoreT>(value); }
148 template<
typename SnapshotArnsToRestoreT = Aws::Vector<Aws::String>>
150 template<
typename SnapshotArnsToRestoreT = Aws::String>
161 template<
typename TagsT = Aws::Vector<Tag>>
162 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
163 template<
typename TagsT = Aws::Vector<Tag>>
165 template<
typename TagsT = Tag>
176 template<
typename UserGroupIdT = Aws::String>
177 void SetUserGroupId(UserGroupIdT&& value) { m_userGroupIdHasBeenSet =
true; m_userGroupId = std::forward<UserGroupIdT>(value); }
178 template<
typename UserGroupIdT = Aws::String>
190 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
191 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
192 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
194 template<
typename SubnetIdsT = Aws::String>
220 template<
typename DailySnapshotTimeT = Aws::String>
221 void SetDailySnapshotTime(DailySnapshotTimeT&& value) { m_dailySnapshotTimeHasBeenSet =
true; m_dailySnapshotTime = std::forward<DailySnapshotTimeT>(value); }
222 template<
typename DailySnapshotTimeT = Aws::String>
228 bool m_serverlessCacheNameHasBeenSet =
false;
231 bool m_descriptionHasBeenSet =
false;
234 bool m_engineHasBeenSet =
false;
237 bool m_majorEngineVersionHasBeenSet =
false;
240 bool m_cacheUsageLimitsHasBeenSet =
false;
243 bool m_kmsKeyIdHasBeenSet =
false;
246 bool m_securityGroupIdsHasBeenSet =
false;
249 bool m_snapshotArnsToRestoreHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
255 bool m_userGroupIdHasBeenSet =
false;
258 bool m_subnetIdsHasBeenSet =
false;
260 int m_snapshotRetentionLimit{0};
261 bool m_snapshotRetentionLimitHasBeenSet =
false;
264 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