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>
45 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
66 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
78 inline void SetShardCapacity(
int value) { m_shardCapacityHasBeenSet =
true; m_shardCapacity = value; }
91 inline void SetShardInstanceCount(
int value) { m_shardInstanceCountHasBeenSet =
true; m_shardInstanceCount = value; }
103 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
162 bool m_clusterNameHasBeenSet =
false;
165 bool m_kmsKeyIdHasBeenSet =
false;
168 bool m_shardCapacityHasBeenSet =
false;
170 int m_shardInstanceCount;
171 bool m_shardInstanceCountHasBeenSet =
false;
174 bool m_snapshotArnHasBeenSet =
false;
177 bool m_subnetIdsHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
183 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
RestoreClusterFromSnapshotRequest & AddVpcSecurityGroupIds(const char *value)
RestoreClusterFromSnapshotRequest & AddTags(Aws::String &&key, const char *value)
void SetShardInstanceCount(int value)
bool ShardInstanceCountHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
RestoreClusterFromSnapshotRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ShardCapacityHasBeenSet() const
RestoreClusterFromSnapshotRequest & WithClusterName(const char *value)
RestoreClusterFromSnapshotRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreClusterFromSnapshotRequest & WithSnapshotArn(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
RestoreClusterFromSnapshotRequest & WithShardInstanceCount(int value)
void SetKmsKeyId(const Aws::String &value)
RestoreClusterFromSnapshotRequest & AddSubnetIds(const char *value)
bool ClusterNameHasBeenSet() const
RestoreClusterFromSnapshotRequest & AddTags(const char *key, const char *value)
RestoreClusterFromSnapshotRequest & AddTags(const Aws::String &key, const Aws::String &value)
RestoreClusterFromSnapshotRequest & AddVpcSecurityGroupIds(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetClusterName() const
int GetShardCapacity() const
int GetShardInstanceCount() const
void SetSnapshotArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
RestoreClusterFromSnapshotRequest & AddTags(const char *key, Aws::String &&value)
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
RestoreClusterFromSnapshotRequest & AddTags(const Aws::String &key, Aws::String &&value)
RestoreClusterFromSnapshotRequest & AddSubnetIds(const Aws::String &value)
RestoreClusterFromSnapshotRequest & WithSnapshotArn(const Aws::String &value)
void SetClusterName(const Aws::String &value)
const Aws::String & GetSnapshotArn() const
RestoreClusterFromSnapshotRequest & AddSubnetIds(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RestoreClusterFromSnapshotRequest & AddTags(Aws::String &&key, Aws::String &&value)
RestoreClusterFromSnapshotRequest & WithSnapshotArn(Aws::String &&value)
void SetSnapshotArn(const Aws::String &value)
RestoreClusterFromSnapshotRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
RestoreClusterFromSnapshotRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetClusterName(const char *value)
AWS_DOCDBELASTIC_API RestoreClusterFromSnapshotRequest()
void SetShardCapacity(int value)
bool VpcSecurityGroupIdsHasBeenSet() const
void SetClusterName(Aws::String &&value)
bool TagsHasBeenSet() const
RestoreClusterFromSnapshotRequest & WithKmsKeyId(const char *value)
const Aws::String & GetKmsKeyId() const
RestoreClusterFromSnapshotRequest & WithShardCapacity(int value)
RestoreClusterFromSnapshotRequest & WithKmsKeyId(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
RestoreClusterFromSnapshotRequest & AddVpcSecurityGroupIds(Aws::String &&value)
RestoreClusterFromSnapshotRequest & WithKmsKeyId(const Aws::String &value)
void SetKmsKeyId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
RestoreClusterFromSnapshotRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool SnapshotArnHasBeenSet() const
RestoreClusterFromSnapshotRequest & AddTags(Aws::String &&key, const Aws::String &value)
RestoreClusterFromSnapshotRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSnapshotArn(const char *value)
bool SubnetIdsHasBeenSet() const
RestoreClusterFromSnapshotRequest & WithClusterName(const Aws::String &value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
RestoreClusterFromSnapshotRequest & WithClusterName(Aws::String &&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