From a13452355cb34615f469d53f3c0a5728d2fd8455 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation The new Amazon Elastic DocumentDB service endpoint. Amazon DocumentDB
+ * elastic-clusters support workloads with millions of reads/writes per second and
+ * petabytes of storage capacity. Amazon DocumentDB elastic clusters also simplify
+ * how developers interact with Amazon DocumentDB elastic-clusters by eliminating
+ * the need to choose, manage or upgrade instances. Amazon DocumentDB
+ * elastic-clusters were created to: provide a solution for
+ * customers looking for a database that provides virtually limitless scale with
+ * rich query capabilities and MongoDB API compatibility. give
+ * customers higher connection limits, and to reduce downtime from patching. continue investing in a cloud-native, elastic, and class leading
+ * architecture for JSON workloads.
Creates a new Elastic DocumentDB cluster and returns its Cluster + *
Copies a snapshot of an elastic cluster.
Creates a new Amazon DocumentDB elastic cluster and returns its cluster * structure.
Creates a snapshot of a cluster.
Delete a Elastic DocumentDB cluster.
Delete a Elastic DocumentDB snapshot.
Returns information about a specific Elastic DocumentDB - * cluster.
Returns information about a specific Elastic DocumentDB - * snapshot
Returns information about Elastic DocumentDB snapshots for a specified + *
Returns information about snapshots for a specified elastic * cluster.
Returns information about provisioned Elastic DocumentDB + *
Returns information about provisioned Amazon DocumentDB elastic * clusters.
Lists all tags on a Elastic DocumentDB resource
Restores a Elastic DocumentDB cluster from a snapshot.
Adds metadata tags to a Elastic DocumentDB resource
Restarts the stopped elastic cluster that is specified by
+ * clusterARN
.
Stops the running elastic cluster that is specified by
+ * clusterArn
. The elastic cluster must be in the available
+ * state.
Adds metadata tags to an elastic cluster resource
Removes metadata tags to a Elastic DocumentDB resource
Removes metadata tags from an elastic cluster resource
Modifies a Elastic DocumentDB cluster. This includes updating - * admin-username/password, upgrading API version setting up a backup window and - * maintenance window
Returns information about a specific Elastic DocumentDB - * cluster.
The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline Cluster& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline Cluster& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline Cluster& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline const Auth& GetAuthType() const{ return m_authType; } /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline void SetAuthType(const Auth& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline void SetAuthType(Auth&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline Cluster& WithAuthType(const Auth& value) { SetAuthType(value); return *this;} /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type for the elastic cluster.
*/ inline Cluster& WithAuthType(Auth&& value) { SetAuthType(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The number of days for which automatic snapshots are retained.
+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline Cluster& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline const Aws::String& GetClusterEndpoint() const{ return m_clusterEndpoint; } /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline bool ClusterEndpointHasBeenSet() const { return m_clusterEndpointHasBeenSet; } /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline void SetClusterEndpoint(const Aws::String& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = value; } /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline void SetClusterEndpoint(Aws::String&& value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint = std::move(value); } /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline void SetClusterEndpoint(const char* value) { m_clusterEndpointHasBeenSet = true; m_clusterEndpoint.assign(value); } /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline Cluster& WithClusterEndpoint(const Aws::String& value) { SetClusterEndpoint(value); return *this;} /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline Cluster& WithClusterEndpoint(Aws::String&& value) { SetClusterEndpoint(std::move(value)); return *this;} /** - *The URL used to connect to the Elastic DocumentDB cluster.
+ *The URL used to connect to the elastic cluster.
*/ inline Cluster& WithClusterEndpoint(const char* value) { SetClusterEndpoint(value); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline Cluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline Cluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline Cluster& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline const Aws::String& GetCreateTime() const{ return m_createTime; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline Cluster& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline Cluster& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline Cluster& WithCreateTime(const char* value) { SetCreateTime(value); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline Cluster& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline Cluster& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier to use to encrypt the elastic cluster.
*/ inline Cluster& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + /** + *The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by backupRetentionPeriod
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: @@ -384,166 +455,244 @@ namespace Model /** - *
The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline Cluster& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *The number of shards in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline int GetShardCount() const{ return m_shardCount; } /** - *The number of shards in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *The number of shards in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *The number of shards in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline Cluster& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *The status of the Elastic DocumentDB cluster.
+ *The number of replica instances applying to all shards in the cluster. A
+ * shardInstanceCount
value of 1 means there is one writer instance,
+ * and any additional instances are replicas that can be used for reads and to
+ * improve availability.
The number of replica instances applying to all shards in the cluster. A
+ * shardInstanceCount
value of 1 means there is one writer instance,
+ * and any additional instances are replicas that can be used for reads and to
+ * improve availability.
The number of replica instances applying to all shards in the cluster. A
+ * shardInstanceCount
value of 1 means there is one writer instance,
+ * and any additional instances are replicas that can be used for reads and to
+ * improve availability.
The number of replica instances applying to all shards in the cluster. A
+ * shardInstanceCount
value of 1 means there is one writer instance,
+ * and any additional instances are replicas that can be used for reads and to
+ * improve availability.
The total number of shards in the cluster.
+ */ + inline const Aws::VectorThe total number of shards in the cluster.
+ */ + inline bool ShardsHasBeenSet() const { return m_shardsHasBeenSet; } + + /** + *The total number of shards in the cluster.
+ */ + inline void SetShards(const Aws::VectorThe total number of shards in the cluster.
+ */ + inline void SetShards(Aws::VectorThe total number of shards in the cluster.
+ */ + inline Cluster& WithShards(const Aws::VectorThe total number of shards in the cluster.
+ */ + inline Cluster& WithShards(Aws::VectorThe total number of shards in the cluster.
+ */ + inline Cluster& AddShards(const Shard& value) { m_shardsHasBeenSet = true; m_shards.push_back(value); return *this; } + + /** + *The total number of shards in the cluster.
+ */ + inline Cluster& AddShards(Shard&& value) { m_shardsHasBeenSet = true; m_shards.push_back(std::move(value)); return *this; } + + + /** + *The status of the elastic cluster.
*/ inline const Status& GetStatus() const{ return m_status; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline Cluster& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline Cluster& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline Cluster& WithSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline Cluster& WithSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline Cluster& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline Cluster& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline Cluster& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline const Aws::VectorA list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *A list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline Cluster& WithVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline Cluster& WithVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline Cluster& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline Cluster& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *A list of EC2 VPC security groups associated with this cluster.
+ *A list of EC2 VPC security groups associated with thie elastic cluster.
*/ inline Cluster& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -555,6 +704,9 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; @@ -570,6 +722,9 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -579,6 +734,12 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + + Aws::VectorA list of Elastic DocumentDB cluster.
The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline ClusterInList& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline ClusterInList& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline ClusterInList& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline const Status& GetStatus() const{ return m_status; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline ClusterInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *The status of the Elastic DocumentDB cluster.
+ *The status of the elastic cluster.
*/ inline ClusterInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h index 7152f07eb65..1d63dec5a46 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshot.h @@ -6,6 +6,7 @@ #pragma once #includeReturns information about a specific Elastic DocumentDB - * snapshot.
The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB cluster administrator.
+ *The name of the elastic cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshot& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshot& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshot& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline const Aws::String& GetClusterCreationTime() const{ return m_clusterCreationTime; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline bool ClusterCreationTimeHasBeenSet() const { return m_clusterCreationTimeHasBeenSet; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetClusterCreationTime(const Aws::String& value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime = value; } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetClusterCreationTime(Aws::String&& value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime = std::move(value); } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline void SetClusterCreationTime(const char* value) { m_clusterCreationTimeHasBeenSet = true; m_clusterCreationTime.assign(value); } /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline ClusterSnapshot& WithClusterCreationTime(const Aws::String& value) { SetClusterCreationTime(value); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline ClusterSnapshot& WithClusterCreationTime(Aws::String&& value) { SetClusterCreationTime(std::move(value)); return *this;} /** - *The time when the Elastic DocumentDB cluster was created in Universal - * Coordinated Time (UTC).
+ *The time when the elastic cluster was created in Universal Coordinated Time + * (UTC).
*/ inline ClusterSnapshot& WithClusterCreationTime(const char* value) { SetClusterCreationTime(value); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline ClusterSnapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline ClusterSnapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
+ *The KMS key identifier is the Amazon Resource Name (ARN) for the KMS + * encryption key. If you are creating a cluster using the same Amazon account that + * owns this KMS encryption key, you can use the KMS key alias instead of the ARN + * as the KMS encryption key. If an encryption key is not specified here, Amazon + * DocumentDB uses the default encryption key that KMS creates for your account. + * Your account has a different default encryption key for each Amazon Region.
*/ inline ClusterSnapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshot& WithSnapshotCreationTime(const Aws::String& value) { SetSnapshotCreationTime(value); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshot& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshot& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *The status of the Elastic DocumentDB snapshot.
+ *The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The status of the elastic cluster snapshot.
*/ inline const Status& GetStatus() const{ return m_status; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline ClusterSnapshot& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** - *A list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *A list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline ClusterSnapshot& WithSubnetIds(const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline ClusterSnapshot& WithSubnetIds(Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline ClusterSnapshot& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *A list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline ClusterSnapshot& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *A list of the IDs of subnets associated with the DB cluster snapshot.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline ClusterSnapshot& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *A list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *A list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(Aws::VectorA list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *A list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *A list of the IDs of the VPC security groups associated with the cluster - * snapshot.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -497,6 +590,9 @@ namespace Model Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; + SnapshotType m_snapshotType; + bool m_snapshotTypeHasBeenSet = false; + Status m_status; bool m_statusHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h index 4a35c34603d..7a7017f33b5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ClusterSnapshotInList.h @@ -25,7 +25,7 @@ namespace Model { /** - *A list of Elastic DocumentDB snapshots.
The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshotInList& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshotInList& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ClusterSnapshotInList& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB snapshot
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline const Aws::String& GetSnapshotCreationTime() const{ return m_snapshotCreationTime; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(const Aws::String& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = value; } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(Aws::String&& value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime = std::move(value); } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline void SetSnapshotCreationTime(const char* value) { m_snapshotCreationTimeHasBeenSet = true; m_snapshotCreationTime.assign(value); } /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const Aws::String& value) { SetSnapshotCreationTime(value); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(Aws::String&& value) { SetSnapshotCreationTime(std::move(value)); return *this;} /** - *The time when the Elastic DocumentDB snapshot was created in Universal + *
The time when the elastic cluster snapshot was created in Universal * Coordinated Time (UTC).
*/ inline ClusterSnapshotInList& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline const Status& GetStatus() const{ return m_status; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithStatus(const Status& value) { SetStatus(value); return *this;} /** - *The status of the Elastic DocumentDB snapshot.
+ *The status of the elastic cluster snapshot.
*/ inline ClusterSnapshotInList& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h new file mode 100644 index 00000000000..552bf5a27a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CopyClusterSnapshotRequest.h @@ -0,0 +1,445 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeSet to true
to copy all tags from the source cluster snapshot to
+ * the target elastic cluster snapshot. The default is false
.
Set to true
to copy all tags from the source cluster snapshot to
+ * the target elastic cluster snapshot. The default is false
.
Set to true
to copy all tags from the source cluster snapshot to
+ * the target elastic cluster snapshot. The default is false
.
Set to true
to copy all tags from the source cluster snapshot to
+ * the target elastic cluster snapshot. The default is false
.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. + * The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web + * Services KMS key identifier, or the Amazon Web Services KMS key alias for the + * Amazon Web Services KMS encryption key.
If you copy an encrypted elastic
+ * cluster snapshot from your Amazon Web Services account, you can specify a value
+ * for KmsKeyId
to encrypt the copy with a new Amazon Web ServicesS
+ * KMS encryption key. If you don't specify a value for KmsKeyId
, then
+ * the copy of the elastic cluster snapshot is encrypted with the same
+ * AWS
KMS key as the source elastic cluster snapshot.
To copy
+ * an encrypted elastic cluster snapshot to another Amazon Web Services region, set
+ * KmsKeyId
to the Amazon Web Services KMS key ID that you want to use
+ * to encrypt the copy of the elastic cluster snapshot in the destination region.
+ * Amazon Web Services KMS encryption keys are specific to the Amazon Web Services
+ * region that they are created in, and you can't use encryption keys from one
+ * Amazon Web Services region in another Amazon Web Services region.
If you
+ * copy an unencrypted elastic cluster snapshot and specify a value for the
+ * KmsKeyId
parameter, an error is returned.
The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} + + /** + *The Amazon Resource Name (ARN) identifier of the elastic cluster + * snapshot.
+ */ + inline CopyClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} + + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline const Aws::MapThe tags to be assigned to the elastic cluster snapshot.
+ */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline void SetTags(const Aws::MapThe tags to be assigned to the elastic cluster snapshot.
+ */ + inline void SetTags(Aws::MapThe tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& WithTags(const Aws::MapThe tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& WithTags(Aws::MapThe tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *The tags to be assigned to the elastic cluster snapshot.
+ */ + inline CopyClusterSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + + /** + *The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The identifier of the new elastic cluster snapshot to create from the source + * cluster snapshot. This parameter is not case sensitive.
Constraints:
+ *Must contain from 1 to 63 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with + * a hyphen or contain two consecutive hyphens.
Example:
+ * elastic-cluster-snapshot-5
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The name of the Elastic DocumentDB cluster administrator.
+ *
The name of the Amazon DocumentDB elastic clusters administrator.
* Constraints:
Must be from 1 to 63 letters or * numbers.
The first character must be a letter.
Cannot be a reserved word.
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The password for the Elastic DocumentDB cluster administrator and can contain - * any printable ASCII characters.
Constraints:
Must contain from 8 to 100 characters.
Cannot contain a - * forward slash (/), double quote ("), or the "at" symbol (@).
The password for the Amazon DocumentDB elastic clusters administrator. The + * password can contain any printable ASCII characters.
+ * Constraints:
Must contain from 8 to 100 characters.
+ *Cannot contain a forward slash (/), double quote ("), or the "at" + * symbol (@).
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The client token for the Elastic DocumentDB cluster.
+ *The number of days for which automatic snapshots are retained.
+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline CreateClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *The client token for the elastic cluster.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline CreateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline CreateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline CreateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** - *The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The name of the new Elastic DocumentDB cluster. This parameter is stored as a - * lowercase string.
Constraints:
Must contain from - * 1 to 63 letters, numbers, or hyphens.
The first character must - * be a letter.
Cannot end with a hyphen or contain two - * consecutive hyphens.
Example: my-cluster
- *
The name of the new elastic cluster. This parameter is stored as a lowercase + * string.
Constraints:
Must contain from 1 to 63 + * letters, numbers, or hyphens.
The first character must be a + * letter.
Cannot end with a hyphen or contain two consecutive + * hyphens.
Example: my-cluster
The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline CreateClusterRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline CreateClusterRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified, - * Elastic DocumentDB uses the default encryption key that KMS creates for your - * account. Your account has a different default encryption key for each Amazon - * Region.
+ *The KMS key identifier to use to encrypt the new elastic cluster.
The + * KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. + * If you are creating a cluster using the same Amazon account that owns this KMS + * encryption key, you can use the KMS key alias instead of the ARN as the KMS + * encryption key.
If an encryption key is not specified, Amazon DocumentDB + * uses the default encryption key that KMS creates for your account. Your account + * has a different default encryption key for each Amazon Region.
*/ inline CreateClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + /** + *The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: @@ -506,210 +588,247 @@ namespace Model /** - *
The capacity of each shard in the new Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *The capacity of each shard in the new Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *The capacity of each shard in the new Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *The capacity of each shard in the new Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline CreateClusterRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *The number of shards to create in the new Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline int GetShardCount() const{ return m_shardCount; } /** - *The number of shards to create in the new Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *The number of shards to create in the new Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *The number of shards to create in the new Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline CreateClusterRequest& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline const Aws::VectorThe Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline void SetSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline CreateClusterRequest& WithSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline CreateClusterRequest& WithSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline CreateClusterRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline CreateClusterRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the new elastic cluster.
*/ inline CreateClusterRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline const Aws::MapThe tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline void SetTags(const Aws::MapThe tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline void SetTags(Aws::MapThe tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& WithTags(const Aws::MapThe tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& WithTags(Aws::MapThe tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB cluster.
+ *The tags to be assigned to the new elastic cluster.
*/ inline CreateClusterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline CreateClusterRequest& WithVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline CreateClusterRequest& WithVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the new elastic + * cluster.
*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -724,6 +843,9 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; @@ -733,6 +855,9 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -742,6 +867,9 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::VectorThe new Elastic DocumentDB cluster that has been created.
+ *The new elastic cluster that has been created.
*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *The new Elastic DocumentDB cluster that has been created.
+ *The new elastic cluster that has been created.
*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *The new Elastic DocumentDB cluster that has been created.
+ *The new elastic cluster that has been created.
*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *The new Elastic DocumentDB cluster that has been created.
+ *The new elastic cluster that has been created.
*/ inline CreateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *The new Elastic DocumentDB cluster that has been created.
+ *The new elastic cluster that has been created.
*/ inline CreateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h index c89ca591278..514cf082de5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotRequest.h @@ -34,157 +34,157 @@ namespace Model /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline CreateClusterSnapshotRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline CreateClusterSnapshotRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster that the snapshot will be taken - * from.
+ *The ARN identifier of the elastic cluster of which you want to create a + * snapshot.
*/ inline CreateClusterSnapshotRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB snapshot.
+ *The name of the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline const Aws::MapThe tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline void SetTags(const Aws::MapThe tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline void SetTags(Aws::MapThe tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& WithTags(const Aws::MapThe tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& WithTags(Aws::MapThe tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the new Elastic DocumentDB snapshot.
+ *The tags to be assigned to the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h index f61c5df4d54..753384ed28a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/CreateClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about the new Elastic DocumentDB snapshot.
+ *Returns information about the new elastic cluster snapshot.
*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *Returns information about the new Elastic DocumentDB snapshot.
+ *Returns information about the new elastic cluster snapshot.
*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *Returns information about the new Elastic DocumentDB snapshot.
+ *Returns information about the new elastic cluster snapshot.
*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *Returns information about the new Elastic DocumentDB snapshot.
+ *Returns information about the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *Returns information about the new Elastic DocumentDB snapshot.
+ *Returns information about the new elastic cluster snapshot.
*/ inline CreateClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h index 5bc8985bcc7..0804480da86 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline DeleteClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline DeleteClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster that is to be deleted.
+ *The ARN identifier of the elastic cluster that is to be deleted.
*/ inline DeleteClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h index 94df5b73efd..1e8b60d93b4 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about the newly deleted Elastic DocumentDB cluster.
+ *Returns information about the newly deleted elastic cluster.
*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *Returns information about the newly deleted Elastic DocumentDB cluster.
+ *Returns information about the newly deleted elastic cluster.
*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *Returns information about the newly deleted Elastic DocumentDB cluster.
+ *Returns information about the newly deleted elastic cluster.
*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *Returns information about the newly deleted Elastic DocumentDB cluster.
+ *Returns information about the newly deleted elastic cluster.
*/ inline DeleteClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *Returns information about the newly deleted Elastic DocumentDB cluster.
+ *Returns information about the newly deleted elastic cluster.
*/ inline DeleteClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h index 8886ba59d47..260aba3c40a 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB snapshot that is to be deleted.
+ *The ARN identifier of the elastic cluster snapshot that is to be deleted.
*/ inline DeleteClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h index 0e1a162d5c2..cabca621a2e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/DeleteClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about the newly deleted Elastic DocumentDB snapshot.
+ *Returns information about the newly deleted elastic cluster snapshot.
*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *Returns information about the newly deleted Elastic DocumentDB snapshot.
+ *Returns information about the newly deleted elastic cluster snapshot.
*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *Returns information about the newly deleted Elastic DocumentDB snapshot.
+ *Returns information about the newly deleted elastic cluster snapshot.
*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *Returns information about the newly deleted Elastic DocumentDB snapshot.
+ *Returns information about the newly deleted elastic cluster snapshot.
*/ inline DeleteClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *Returns information about the newly deleted Elastic DocumentDB snapshot.
+ *Returns information about the newly deleted elastic cluster snapshot.
*/ inline DeleteClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h index 669ec7d0d97..b2c8e82342e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline GetClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline GetClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline GetClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h index a01efd9a881..32862486f9c 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about a specific Elastic DocumentDB cluster.
+ *Returns information about a specific elastic cluster.
*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *Returns information about a specific Elastic DocumentDB cluster.
+ *Returns information about a specific elastic cluster.
*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *Returns information about a specific Elastic DocumentDB cluster.
+ *Returns information about a specific elastic cluster.
*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *Returns information about a specific Elastic DocumentDB cluster.
+ *Returns information about a specific elastic cluster.
*/ inline GetClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *Returns information about a specific Elastic DocumentDB cluster.
+ *Returns information about a specific elastic cluster.
*/ inline GetClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h index c75fe6aeb4d..5e0f44c8265 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotRequest.h @@ -33,42 +33,42 @@ namespace Model /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline GetClusterSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline GetClusterSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline GetClusterSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h index 64cd7bb8637..37da2cb09de 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/GetClusterSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about a specific Elastic DocumentDB snapshot.
+ *Returns information about a specific elastic cluster snapshot.
*/ inline const ClusterSnapshot& GetSnapshot() const{ return m_snapshot; } /** - *Returns information about a specific Elastic DocumentDB snapshot.
+ *Returns information about a specific elastic cluster snapshot.
*/ inline void SetSnapshot(const ClusterSnapshot& value) { m_snapshot = value; } /** - *Returns information about a specific Elastic DocumentDB snapshot.
+ *Returns information about a specific elastic cluster snapshot.
*/ inline void SetSnapshot(ClusterSnapshot&& value) { m_snapshot = std::move(value); } /** - *Returns information about a specific Elastic DocumentDB snapshot.
+ *Returns information about a specific elastic cluster snapshot.
*/ inline GetClusterSnapshotResult& WithSnapshot(const ClusterSnapshot& value) { SetSnapshot(value); return *this;} /** - *Returns information about a specific Elastic DocumentDB snapshot.
+ *Returns information about a specific elastic cluster snapshot.
*/ inline GetClusterSnapshotResult& WithSnapshot(ClusterSnapshot&& value) { SetSnapshot(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h index 7283cca6909..344e109c405 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClusterSnapshotsRequest.h @@ -39,107 +39,216 @@ namespace Model /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ListClusterSnapshotsRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ListClusterSnapshotsRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline ListClusterSnapshotsRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline ListClusterSnapshotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** - *The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The type of cluster snapshots to be returned. You can specify one of the + * following values:
automated
- Return all cluster
+ * snapshots that Amazon DocumentDB has automatically created for your Amazon Web
+ * Services account.
manual
- Return all cluster
+ * snapshots that you have manually created for your Amazon Web Services
+ * account.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
A list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline const Aws::VectorA list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline void SetSnapshots(const Aws::VectorA list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline void SetSnapshots(Aws::VectorA list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline ListClusterSnapshotsResult& WithSnapshots(const Aws::VectorA list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline ListClusterSnapshotsResult& WithSnapshots(Aws::VectorA list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline ListClusterSnapshotsResult& AddSnapshots(const ClusterSnapshotInList& value) { m_snapshots.push_back(value); return *this; } /** - *A list of Elastic DocumentDB snapshots for a specified cluster.
+ *A list of snapshots for a specified elastic cluster.
*/ inline ListClusterSnapshotsResult& AddSnapshots(ClusterSnapshotInList&& value) { m_snapshots.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h index a33b191bb37..873778ff9c8 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListClustersRequest.h @@ -39,63 +39,91 @@ namespace Model /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *The maximum number of entries to recieve in the response.
+ *The maximum number of elastic cluster snapshot results to receive in the + * response.
*/ inline ListClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** - *The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The nextToken which is used the get the next page of data.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
A list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline const Aws::VectorA list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline void SetClusters(const Aws::VectorA list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline void SetClusters(Aws::VectorA list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline ListClustersResult& WithClusters(const Aws::VectorA list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline ListClustersResult& WithClusters(Aws::VectorA list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline ListClustersResult& AddClusters(const ClusterInList& value) { m_clusters.push_back(value); return *this; } /** - *A list of Elastic DocumentDB cluster.
+ *A list of Amazon DocumentDB elastic clusters.
*/ inline ListClustersResult& AddClusters(ClusterInList&& value) { m_clusters.push_back(std::move(value)); return *this; } /** - *The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The response will provide a nextToken if there is more data beyond the - * maxResults.
If there is no more data in the responce, the nextToken will - * not be returned.
+ *A pagination token provided by a previous request. If this parameter is
+ * specified, the response includes only records beyond this token, up to the value
+ * specified by max-results
.
If there is no more data in the
+ * responce, the nextToken
will not be returned.
The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h index 40b33e57b7e..b6f874b36d5 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/ListTagsForResourceResult.h @@ -34,62 +34,62 @@ namespace Model /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline const Aws::MapThe list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline void SetTags(const Aws::MapThe list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline void SetTags(Aws::MapThe list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& WithTags(const Aws::MapThe list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& WithTags(Aws::MapThe list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** - *The list of tags for the specified Elastic DocumentDB resource.
+ *The list of tags for the specified elastic cluster resource.
*/ inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h index 0bf0905ef7b..1e1c61b708e 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotRequest.h @@ -35,373 +35,418 @@ namespace Model /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline const Aws::String& GetClusterName() const{ return m_clusterName; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** - *The name of the Elastic DocumentDB cluster.
+ *The name of the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *The KMS key identifier to use to encrypt the new Elastic DocumentDB - * cluster.
The KMS key identifier is the Amazon Resource Name (ARN) for the - * KMS encryption key. If you are creating a cluster using the same Amazon account - * that owns this KMS encryption key, you can use the KMS key alias instead of the - * ARN as the KMS encryption key.
If an encryption key is not specified - * here, Elastic DocumentDB uses the default encryption key that KMS creates for - * your account. Your account has a different default encryption key for each - * Amazon Region.
+ *The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic + * clusters cluster.
The KMS key identifier is the Amazon Resource Name + * (ARN) for the KMS encryption key. If you are creating a cluster using the same + * Amazon account that owns this KMS encryption key, you can use the KMS key alias + * instead of the ARN as the KMS encryption key.
If an encryption key is not + * specified here, Amazon DocumentDB uses the default encryption key that KMS + * creates for your account. Your account has a different default encryption key + * for each Amazon Region.
*/ inline RestoreClusterFromSnapshotRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot.
+ *The capacity of each shard in the new restored elastic cluster.
+ */ + inline int GetShardCapacity() const{ return m_shardCapacity; } + + /** + *The capacity of each shard in the new restored elastic cluster.
+ */ + inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } + + /** + *The capacity of each shard in the new restored elastic cluster.
+ */ + inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } + + /** + *The capacity of each shard in the new restored elastic cluster.
+ */ + inline RestoreClusterFromSnapshotRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} + + + /** + *The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The ARN identifier of the elastic cluster snapshot.
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB snapshot.
+ *The ARN identifier of the elastic cluster snapshot.
*/ inline RestoreClusterFromSnapshotRequest& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithSubnetIds(const Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithSubnetIds(Aws::VectorThe Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline const Aws::MapA list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline void SetTags(const Aws::MapA list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline void SetTags(Aws::MapA list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& WithTags(const Aws::MapA list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& WithTags(Aws::MapA list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *A list of the tag names to be assigned to the restored DB cluster, in the - * form of an array of key-value pairs in which the key is the tag name and the + *
A list of the tag names to be assigned to the restored elastic cluster, in + * the form of an array of key-value pairs in which the key is the tag name and the * value is the key value.
*/ inline RestoreClusterFromSnapshotRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *A list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline const Aws::VectorA list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *A list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& WithVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *A list of EC2 VPC security groups to associate with the Elastic DocumentDB - * cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline RestoreClusterFromSnapshotRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -413,6 +458,12 @@ namespace Model Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; + int m_shardCapacity; + bool m_shardCapacityHasBeenSet = false; + + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::String m_snapshotArn; bool m_snapshotArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h index 5a111afa59b..b12bd218f99 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/RestoreClusterFromSnapshotResult.h @@ -34,27 +34,27 @@ namespace Model /** - *Returns information about a the restored Elastic DocumentDB cluster.
+ *Returns information about a the restored elastic cluster.
*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *Returns information about a the restored Elastic DocumentDB cluster.
+ *Returns information about a the restored elastic cluster.
*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *Returns information about a the restored Elastic DocumentDB cluster.
+ *Returns information about a the restored elastic cluster.
*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *Returns information about a the restored Elastic DocumentDB cluster.
+ *Returns information about a the restored elastic cluster.
*/ inline RestoreClusterFromSnapshotResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *Returns information about a the restored Elastic DocumentDB cluster.
+ *Returns information about a the restored elastic cluster.
*/ inline RestoreClusterFromSnapshotResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h new file mode 100644 index 00000000000..f3d315a1192 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/Shard.h @@ -0,0 +1,167 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe name of the shard.
The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline const Aws::String& GetCreateTime() const{ return m_createTime; } + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline void SetCreateTime(const Aws::String& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline void SetCreateTime(Aws::String&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline void SetCreateTime(const char* value) { m_createTimeHasBeenSet = true; m_createTime.assign(value); } + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline Shard& WithCreateTime(const Aws::String& value) { SetCreateTime(value); return *this;} + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline Shard& WithCreateTime(Aws::String&& value) { SetCreateTime(std::move(value)); return *this;} + + /** + *The time when the shard was created in Universal Coordinated Time (UTC).
+ */ + inline Shard& WithCreateTime(const char* value) { SetCreateTime(value); return *this;} + + + /** + *The ID of the shard.
+ */ + inline const Aws::String& GetShardId() const{ return m_shardId; } + + /** + *The ID of the shard.
+ */ + inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; } + + /** + *The ID of the shard.
+ */ + inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; } + + /** + *The ID of the shard.
+ */ + inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); } + + /** + *The ID of the shard.
+ */ + inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); } + + /** + *The ID of the shard.
+ */ + inline Shard& WithShardId(const Aws::String& value) { SetShardId(value); return *this;} + + /** + *The ID of the shard.
+ */ + inline Shard& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;} + + /** + *The ID of the shard.
+ */ + inline Shard& WithShardId(const char* value) { SetShardId(value); return *this;} + + + /** + *The current status of the shard.
+ */ + inline const Status& GetStatus() const{ return m_status; } + + /** + *The current status of the shard.
+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *The current status of the shard.
+ */ + inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *The current status of the shard.
+ */ + inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *The current status of the shard.
+ */ + inline Shard& WithStatus(const Status& value) { SetStatus(value); return *this;} + + /** + *The current status of the shard.
+ */ + inline Shard& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + + private: + + Aws::String m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::String m_shardId; + bool m_shardIdHasBeenSet = false; + + Status m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h new file mode 100644 index 00000000000..52e40c9d7b0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/SnapshotType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe ARN identifier of the elastic cluster.
+ */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StartClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StartClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StartClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h new file mode 100644 index 00000000000..54728b59d54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StartClusterResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe ARN identifier of the elastic cluster.
+ */ + inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StopClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StopClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} + + /** + *The ARN identifier of the elastic cluster.
+ */ + inline StopClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + + private: + + Aws::String m_clusterArn; + bool m_clusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace DocDBElastic +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h new file mode 100644 index 00000000000..83c8cc5c721 --- /dev/null +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/StopClusterResult.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline const Aws::MapThe tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline void SetTags(const Aws::MapThe tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline void SetTags(Aws::MapThe tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& WithTags(const Aws::MapThe tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& WithTags(Aws::MapThe tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** - *The tags to be assigned to the Elastic DocumentDB resource.
+ *The tags that are assigned to the elastic cluster resource.
*/ inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h index 6587ddc53d3..5938bf9dc51 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UntagResourceRequest.h @@ -40,88 +40,88 @@ namespace Model /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB resource.
+ *The ARN identifier of the elastic cluster resource.
*/ inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** - *The tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline const Aws::VectorThe tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } /** - *The tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline void SetTagKeys(const Aws::VectorThe tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline void SetTagKeys(Aws::VectorThe tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline UntagResourceRequest& WithTagKeys(const Aws::VectorThe tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline UntagResourceRequest& WithTagKeys(Aws::VectorThe tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } /** - *The tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } /** - *The tag keys to be removed from the Elastic DocumentDB resource.
+ *The tag keys to be removed from the elastic cluster resource.
*/ inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h index 490b1eff281..330db994ca2 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h +++ b/generated/src/aws-cpp-sdk-docdb-elastic/include/aws/docdb-elastic/model/UpdateClusterRequest.h @@ -36,7 +36,7 @@ namespace Model /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -44,7 +44,7 @@ namespace Model inline const Aws::String& GetAdminUserPassword() const{ return m_adminUserPassword; } /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -52,7 +52,7 @@ namespace Model inline bool AdminUserPasswordHasBeenSet() const { return m_adminUserPasswordHasBeenSet; } /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -60,7 +60,7 @@ namespace Model inline void SetAdminUserPassword(const Aws::String& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = value; } /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -68,7 +68,7 @@ namespace Model inline void SetAdminUserPassword(Aws::String&& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = std::move(value); } /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -76,7 +76,7 @@ namespace Model inline void SetAdminUserPassword(const char* value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword.assign(value); } /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -84,7 +84,7 @@ namespace Model inline UpdateClusterRequest& WithAdminUserPassword(const Aws::String& value) { SetAdminUserPassword(value); return *this;} /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -92,7 +92,7 @@ namespace Model inline UpdateClusterRequest& WithAdminUserPassword(Aws::String&& value) { SetAdminUserPassword(std::move(value)); return *this;} /** - *The password for the Elastic DocumentDB cluster administrator. This password + *
The password associated with the elastic cluster administrator. This password * can contain any printable ASCII character except forward slash (/), double quote * ("), or the "at" symbol (@).
Constraints: Must contain from 8 to * 100 characters.
@@ -101,118 +101,208 @@ namespace Model /** - *The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The authentication type for the Elastic DocumentDB cluster.
+ *The authentication type used to determine where to fetch the password used
+ * for accessing the elastic cluster. Valid types are PLAIN_TEXT
or
+ * SECRET_ARN
.
The client token for the Elastic DocumentDB cluster.
+ *The number of days for which automatic snapshots are retained.
+ */ + inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } + + /** + *The number of days for which automatic snapshots are retained.
+ */ + inline UpdateClusterRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} + + + /** + *The client token for the elastic cluster.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline UpdateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline UpdateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** - *The client token for the Elastic DocumentDB cluster.
+ *The client token for the elastic cluster.
*/ inline UpdateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline UpdateClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline UpdateClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** - *The arn of the Elastic DocumentDB cluster.
+ *The ARN identifier of the elastic cluster.
*/ inline UpdateClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} + /** + *The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The daily time range during which automated backups are created if automated
+ * backups are enabled, as determined by the
+ * backupRetentionPeriod
.
The weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).
Format: @@ -303,144 +393,172 @@ namespace Model /** - *
The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** - *The capacity of each shard in the Elastic DocumentDB cluster.
+ *The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. + * Allowed values are 2, 4, 8, 16, 32, 64.
*/ inline UpdateClusterRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline int GetShardCount() const{ return m_shardCount; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The number of shards assigned to the elastic cluster. Maximum is 32.
*/ inline UpdateClusterRequest& WithShardCount(int value) { SetShardCount(value); return *this;} /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The number of replica instances applying to all shards in the elastic
+ * cluster. A shardInstanceCount
value of 1 means there is one writer
+ * instance, and any additional instances are replicas that can be used for reads
+ * and to improve availability.
The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline const Aws::VectorThe number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline void SetSubnetIds(Aws::VectorThe number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline UpdateClusterRequest& WithSubnetIds(const Aws::VectorThe number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline UpdateClusterRequest& WithSubnetIds(Aws::VectorThe number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline UpdateClusterRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline UpdateClusterRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** - *The number of shards to create in the Elastic DocumentDB cluster.
+ *The Amazon EC2 subnet IDs for the elastic cluster.
*/ inline UpdateClusterRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline UpdateClusterRequest& WithVpcSecurityGroupIds(const Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline UpdateClusterRequest& WithVpcSecurityGroupIds(Aws::VectorA list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** - *A list of EC2 VPC security groups to associate with the new Elastic - * DocumentDB cluster.
+ *A list of EC2 VPC security groups to associate with the elastic cluster.
*/ inline UpdateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } @@ -452,12 +570,18 @@ namespace Model Auth m_authType; bool m_authTypeHasBeenSet = false; + int m_backupRetentionPeriod; + bool m_backupRetentionPeriodHasBeenSet = false; + Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; + Aws::String m_preferredBackupWindow; + bool m_preferredBackupWindowHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; @@ -467,6 +591,9 @@ namespace Model int m_shardCount; bool m_shardCountHasBeenSet = false; + int m_shardInstanceCount; + bool m_shardInstanceCountHasBeenSet = false; + Aws::VectorReturns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ inline const Cluster& GetCluster() const{ return m_cluster; } /** - *Returns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ inline void SetCluster(const Cluster& value) { m_cluster = value; } /** - *Returns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ inline void SetCluster(Cluster&& value) { m_cluster = std::move(value); } /** - *Returns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ inline UpdateClusterResult& WithCluster(const Cluster& value) { SetCluster(value); return *this;} /** - *Returns information about the updated Elastic DocumentDB cluster.
+ *Returns information about the updated elastic cluster.
*/ inline UpdateClusterResult& WithCluster(Cluster&& value) { SetCluster(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp index b76acb60c84..a2636ce32d1 100644 --- a/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp +++ b/generated/src/aws-cpp-sdk-docdb-elastic/source/DocDBElasticClient.cpp @@ -21,6 +21,7 @@ #include