7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/IpDiscovery.h>
12#include <aws/memorydb/model/NetworkType.h>
13#include <aws/memorydb/model/Tag.h>
44 template <
typename ClusterNameT = Aws::String>
46 m_clusterNameHasBeenSet =
true;
47 m_clusterName = std::forward<ClusterNameT>(value);
49 template <
typename ClusterNameT = Aws::String>
62 template <
typename NodeTypeT = Aws::String>
64 m_nodeTypeHasBeenSet =
true;
65 m_nodeType = std::forward<NodeTypeT>(value);
67 template <
typename NodeTypeT = Aws::String>
80 template <
typename MultiRegionClusterNameT = Aws::String>
82 m_multiRegionClusterNameHasBeenSet =
true;
83 m_multiRegionClusterName = std::forward<MultiRegionClusterNameT>(value);
85 template <
typename MultiRegionClusterNameT = Aws::String>
98 template <
typename ParameterGroupNameT = Aws::String>
100 m_parameterGroupNameHasBeenSet =
true;
101 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
103 template <
typename ParameterGroupNameT = Aws::String>
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
135 m_numShardsHasBeenSet =
true;
152 m_numReplicasPerShardHasBeenSet =
true;
153 m_numReplicasPerShard = value;
167 template <
typename SubnetGroupNameT = Aws::String>
169 m_subnetGroupNameHasBeenSet =
true;
170 m_subnetGroupName = std::forward<SubnetGroupNameT>(value);
172 template <
typename SubnetGroupNameT = Aws::String>
185 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
187 m_securityGroupIdsHasBeenSet =
true;
188 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
190 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
195 template <
typename SecurityGroupIdsT = Aws::String>
197 m_securityGroupIdsHasBeenSet =
true;
198 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
216 template <
typename Ma
intenanceWindowT = Aws::String>
218 m_maintenanceWindowHasBeenSet =
true;
219 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
221 template <
typename Ma
intenanceWindowT = Aws::String>
235 m_portHasBeenSet =
true;
251 template <
typename SnsTopicArnT = Aws::String>
253 m_snsTopicArnHasBeenSet =
true;
254 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
256 template <
typename SnsTopicArnT = Aws::String>
270 m_tLSEnabledHasBeenSet =
true;
271 m_tLSEnabled = value;
285 template <
typename KmsKeyIdT = Aws::String>
287 m_kmsKeyIdHasBeenSet =
true;
288 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
290 template <
typename KmsKeyIdT = Aws::String>
305 template <
typename SnapshotArnsT = Aws::Vector<Aws::String>>
307 m_snapshotArnsHasBeenSet =
true;
308 m_snapshotArns = std::forward<SnapshotArnsT>(value);
310 template <
typename SnapshotArnsT = Aws::Vector<Aws::String>>
315 template <
typename SnapshotArnsT = Aws::String>
317 m_snapshotArnsHasBeenSet =
true;
318 m_snapshotArns.emplace_back(std::forward<SnapshotArnsT>(value));
330 template <
typename SnapshotNameT = Aws::String>
332 m_snapshotNameHasBeenSet =
true;
333 m_snapshotName = std::forward<SnapshotNameT>(value);
335 template <
typename SnapshotNameT = Aws::String>
351 m_snapshotRetentionLimitHasBeenSet =
true;
352 m_snapshotRetentionLimit = value;
369 template <
typename TagsT = Aws::Vector<Tag>>
371 m_tagsHasBeenSet =
true;
372 m_tags = std::forward<TagsT>(value);
374 template <
typename TagsT = Aws::Vector<Tag>>
376 SetTags(std::forward<TagsT>(value));
379 template <
typename TagsT = Tag>
381 m_tagsHasBeenSet =
true;
382 m_tags.emplace_back(std::forward<TagsT>(value));
396 template <
typename SnapshotWindowT = Aws::String>
398 m_snapshotWindowHasBeenSet =
true;
399 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
401 template <
typename SnapshotWindowT = Aws::String>
414 template <
typename ACLNameT = Aws::String>
416 m_aCLNameHasBeenSet =
true;
417 m_aCLName = std::forward<ACLNameT>(value);
419 template <
typename ACLNameT = Aws::String>
432 template <
typename EngineT = Aws::String>
434 m_engineHasBeenSet =
true;
435 m_engine = std::forward<EngineT>(value);
437 template <
typename EngineT = Aws::String>
450 template <
typename EngineVersionT = Aws::String>
452 m_engineVersionHasBeenSet =
true;
453 m_engineVersion = std::forward<EngineVersionT>(value);
455 template <
typename EngineVersionT = Aws::String>
470 m_autoMinorVersionUpgradeHasBeenSet =
true;
471 m_autoMinorVersionUpgrade = value;
490 m_dataTieringHasBeenSet =
true;
491 m_dataTiering = value;
510 m_networkTypeHasBeenSet =
true;
511 m_networkType = value;
532 m_ipDiscoveryHasBeenSet =
true;
533 m_ipDiscovery = value;
553 int m_numReplicasPerShard{0};
565 bool m_tLSEnabled{
false};
573 int m_snapshotRetentionLimit{0};
585 bool m_autoMinorVersionUpgrade{
false};
587 bool m_dataTiering{
false};
592 bool m_clusterNameHasBeenSet =
false;
593 bool m_nodeTypeHasBeenSet =
false;
594 bool m_multiRegionClusterNameHasBeenSet =
false;
595 bool m_parameterGroupNameHasBeenSet =
false;
596 bool m_descriptionHasBeenSet =
false;
597 bool m_numShardsHasBeenSet =
false;
598 bool m_numReplicasPerShardHasBeenSet =
false;
599 bool m_subnetGroupNameHasBeenSet =
false;
600 bool m_securityGroupIdsHasBeenSet =
false;
601 bool m_maintenanceWindowHasBeenSet =
false;
602 bool m_portHasBeenSet =
false;
603 bool m_snsTopicArnHasBeenSet =
false;
604 bool m_tLSEnabledHasBeenSet =
false;
605 bool m_kmsKeyIdHasBeenSet =
false;
606 bool m_snapshotArnsHasBeenSet =
false;
607 bool m_snapshotNameHasBeenSet =
false;
608 bool m_snapshotRetentionLimitHasBeenSet =
false;
609 bool m_tagsHasBeenSet =
false;
610 bool m_snapshotWindowHasBeenSet =
false;
611 bool m_aCLNameHasBeenSet =
false;
612 bool m_engineHasBeenSet =
false;
613 bool m_engineVersionHasBeenSet =
false;
614 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
615 bool m_dataTieringHasBeenSet =
false;
616 bool m_networkTypeHasBeenSet =
false;
617 bool m_ipDiscoveryHasBeenSet =
false;
void SetEngine(EngineT &&value)
const Aws::Vector< Aws::String > & GetSnapshotArns() const
CreateClusterRequest & WithEngine(EngineT &&value)
bool SecurityGroupIdsHasBeenSet() const
CreateClusterRequest & AddSnapshotArns(SnapshotArnsT &&value)
CreateClusterRequest & WithAutoMinorVersionUpgrade(bool value)
bool KmsKeyIdHasBeenSet() const
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool GetAutoMinorVersionUpgrade() const
CreateClusterRequest & WithDataTiering(bool value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool SnapshotRetentionLimitHasBeenSet() const
NetworkType GetNetworkType() const
int GetSnapshotRetentionLimit() const
CreateClusterRequest & WithParameterGroupName(ParameterGroupNameT &&value)
CreateClusterRequest & WithSubnetGroupName(SubnetGroupNameT &&value)
void SetNumReplicasPerShard(int value)
void SetDataTiering(bool value)
CreateClusterRequest & WithMaintenanceWindow(MaintenanceWindowT &&value)
const Aws::String & GetEngine() const
virtual const char * GetServiceRequestName() const override
void SetTLSEnabled(bool value)
bool NumShardsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetACLName() const
CreateClusterRequest & WithClusterName(ClusterNameT &&value)
void SetMultiRegionClusterName(MultiRegionClusterNameT &&value)
bool EngineVersionHasBeenSet() const
bool PortHasBeenSet() const
bool DataTieringHasBeenSet() const
bool GetTLSEnabled() const
CreateClusterRequest & WithNodeType(NodeTypeT &&value)
CreateClusterRequest & AddTags(TagsT &&value)
const Aws::String & GetSnapshotWindow() const
bool SubnetGroupNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::String & GetKmsKeyId() const
void SetClusterName(ClusterNameT &&value)
void SetTags(TagsT &&value)
CreateClusterRequest & WithSnapshotName(SnapshotNameT &&value)
void SetParameterGroupName(ParameterGroupNameT &&value)
CreateClusterRequest & WithACLName(ACLNameT &&value)
void SetSnapshotName(SnapshotNameT &&value)
void SetIpDiscovery(IpDiscovery value)
const Aws::String & GetNodeType() const
bool GetDataTiering() const
CreateClusterRequest & WithSnsTopicArn(SnsTopicArnT &&value)
const Aws::String & GetSnsTopicArn() const
CreateClusterRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::String & GetSnapshotName() const
CreateClusterRequest & WithPort(int value)
bool AutoMinorVersionUpgradeHasBeenSet() const
CreateClusterRequest & WithMultiRegionClusterName(MultiRegionClusterNameT &&value)
const Aws::String & GetEngineVersion() const
void SetACLName(ACLNameT &&value)
void SetMaintenanceWindow(MaintenanceWindowT &&value)
const Aws::String & GetClusterName() const
void SetNetworkType(NetworkType value)
bool NetworkTypeHasBeenSet() const
CreateClusterRequest & WithSnapshotWindow(SnapshotWindowT &&value)
bool SnapshotNameHasBeenSet() const
void SetSnsTopicArn(SnsTopicArnT &&value)
CreateClusterRequest & WithTags(TagsT &&value)
CreateClusterRequest & WithTLSEnabled(bool value)
CreateClusterRequest & WithNumReplicasPerShard(int value)
CreateClusterRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateClusterRequest & WithKmsKeyId(KmsKeyIdT &&value)
bool TagsHasBeenSet() const
bool ACLNameHasBeenSet() const
CreateClusterRequest & WithDescription(DescriptionT &&value)
IpDiscovery GetIpDiscovery() const
CreateClusterRequest & WithNetworkType(NetworkType value)
AWS_MEMORYDB_API CreateClusterRequest()=default
int GetNumReplicasPerShard() const
bool SnapshotArnsHasBeenSet() const
bool NumReplicasPerShardHasBeenSet() const
bool NodeTypeHasBeenSet() const
CreateClusterRequest & WithSnapshotRetentionLimit(int value)
CreateClusterRequest & WithSnapshotArns(SnapshotArnsT &&value)
void SetSubnetGroupName(SubnetGroupNameT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetSubnetGroupName() const
const Aws::String & GetMultiRegionClusterName() const
bool SnapshotWindowHasBeenSet() const
void SetAutoMinorVersionUpgrade(bool value)
void SetSnapshotRetentionLimit(int value)
AWS_MEMORYDB_API Aws::String SerializePayload() const override
bool MultiRegionClusterNameHasBeenSet() const
void SetSnapshotWindow(SnapshotWindowT &&value)
CreateClusterRequest & WithIpDiscovery(IpDiscovery value)
CreateClusterRequest & WithEngineVersion(EngineVersionT &&value)
bool MaintenanceWindowHasBeenSet() const
bool TLSEnabledHasBeenSet() const
bool ParameterGroupNameHasBeenSet() const
void SetNodeType(NodeTypeT &&value)
void SetDescription(DescriptionT &&value)
bool IpDiscoveryHasBeenSet() const
bool EngineHasBeenSet() const
void SetNumShards(int value)
const Aws::String & GetParameterGroupName() const
CreateClusterRequest & WithNumShards(int value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool DescriptionHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
void SetSnapshotArns(SnapshotArnsT &&value)
bool ClusterNameHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
const Aws::String & GetMaintenanceWindow() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector