7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/docdb-elastic/DocDBElasticRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
43 template<
typename ClusterNameT = Aws::String>
44 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
45 template<
typename ClusterNameT = Aws::String>
62 template<
typename KmsKeyIdT = Aws::String>
63 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
64 template<
typename KmsKeyIdT = Aws::String>
74 inline void SetShardCapacity(
int value) { m_shardCapacityHasBeenSet =
true; m_shardCapacity = value; }
87 inline void SetShardInstanceCount(
int value) { m_shardInstanceCountHasBeenSet =
true; m_shardInstanceCount = value; }
97 template<
typename SnapshotArnT = Aws::String>
98 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
99 template<
typename SnapshotArnT = Aws::String>
109 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
110 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
111 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
113 template<
typename SubnetIdsT = Aws::String>
125 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
131 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
141 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
142 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
143 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
145 template<
typename VpcSecurityGroupIdsT = Aws::String>
151 bool m_clusterNameHasBeenSet =
false;
154 bool m_kmsKeyIdHasBeenSet =
false;
156 int m_shardCapacity{0};
157 bool m_shardCapacityHasBeenSet =
false;
159 int m_shardInstanceCount{0};
160 bool m_shardInstanceCountHasBeenSet =
false;
163 bool m_snapshotArnHasBeenSet =
false;
166 bool m_subnetIdsHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
172 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
void SetShardInstanceCount(int value)
RestoreClusterFromSnapshotRequest & WithClusterName(ClusterNameT &&value)
bool ShardInstanceCountHasBeenSet() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ShardCapacityHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
RestoreClusterFromSnapshotRequest & WithShardInstanceCount(int value)
bool ClusterNameHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetClusterName() const
int GetShardCapacity() const
RestoreClusterFromSnapshotRequest & WithSnapshotArn(SnapshotArnT &&value)
int GetShardInstanceCount() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
RestoreClusterFromSnapshotRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
RestoreClusterFromSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetSnapshotArn(SnapshotArnT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetSnapshotArn() const
RestoreClusterFromSnapshotRequest & WithTags(TagsT &&value)
RestoreClusterFromSnapshotRequest & AddSubnetIds(SubnetIdsT &&value)
RestoreClusterFromSnapshotRequest & WithSubnetIds(SubnetIdsT &&value)
RestoreClusterFromSnapshotRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetShardCapacity(int value)
bool VpcSecurityGroupIdsHasBeenSet() const
AWS_DOCDBELASTIC_API RestoreClusterFromSnapshotRequest()=default
bool TagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
RestoreClusterFromSnapshotRequest & WithShardCapacity(int value)
void SetClusterName(ClusterNameT &&value)
bool SnapshotArnHasBeenSet() const
void SetTags(TagsT &&value)
bool SubnetIdsHasBeenSet() const
void SetSubnetIds(SubnetIdsT &&value)
RestoreClusterFromSnapshotRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector