/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns information about a specific Elastic DocumentDB
* snapshot.See Also:
AWS
* API Reference
The name of the Elastic DocumentDB cluster administrator.
*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** *The name of the Elastic DocumentDB cluster administrator.
*/ inline ClusterSnapshot& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** *The arn of the Elastic DocumentDB cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The arn of the Elastic DocumentDB cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The arn of the Elastic DocumentDB cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The arn of the Elastic DocumentDB cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The arn of the Elastic DocumentDB cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The arn of the Elastic DocumentDB cluster.
*/ inline ClusterSnapshot& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The arn of the Elastic DocumentDB cluster.
*/ inline ClusterSnapshot& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The arn of the Elastic DocumentDB 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).
*/ inline const Aws::String& GetClusterCreationTime() const{ return m_clusterCreationTime; } /** *The time when the Elastic DocumentDB 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).
*/ 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).
*/ 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).
*/ 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).
*/ 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).
*/ 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).
*/ inline ClusterSnapshot& WithClusterCreationTime(const char* value) { SetClusterCreationTime(value); return *this;} /** *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *The KMS key identifier to use to encrypt the Elastic DocumentDB 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.
*/ 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.
*/ 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.
*/ inline ClusterSnapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
*/ inline ClusterSnapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
*/ inline ClusterSnapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The arn of the Elastic DocumentDB snapshot
*/ inline const Aws::String& GetSnapshotArn() const{ return m_snapshotArn; } /** *The arn of the Elastic DocumentDB snapshot
*/ inline bool SnapshotArnHasBeenSet() const { return m_snapshotArnHasBeenSet; } /** *The arn of the Elastic DocumentDB snapshot
*/ inline void SetSnapshotArn(const Aws::String& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = value; } /** *The arn of the Elastic DocumentDB snapshot
*/ inline void SetSnapshotArn(Aws::String&& value) { m_snapshotArnHasBeenSet = true; m_snapshotArn = std::move(value); } /** *The arn of the Elastic DocumentDB snapshot
*/ inline void SetSnapshotArn(const char* value) { m_snapshotArnHasBeenSet = true; m_snapshotArn.assign(value); } /** *The arn of the Elastic DocumentDB snapshot
*/ inline ClusterSnapshot& WithSnapshotArn(const Aws::String& value) { SetSnapshotArn(value); return *this;} /** *The arn of the Elastic DocumentDB snapshot
*/ inline ClusterSnapshot& WithSnapshotArn(Aws::String&& value) { SetSnapshotArn(std::move(value)); return *this;} /** *The arn of the Elastic DocumentDB snapshot
*/ inline ClusterSnapshot& WithSnapshotArn(const char* value) { SetSnapshotArn(value); return *this;} /** *The time when the Elastic DocumentDB 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 * Coordinated Time (UTC).
*/ inline bool SnapshotCreationTimeHasBeenSet() const { return m_snapshotCreationTimeHasBeenSet; } /** *The time when the Elastic DocumentDB 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 * 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 * 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 * 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 * 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 * Coordinated Time (UTC).
*/ inline ClusterSnapshot& WithSnapshotCreationTime(const char* value) { SetSnapshotCreationTime(value); return *this;} /** *The name of the Elastic DocumentDB snapshot.
*/ inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; } /** *The name of the Elastic DocumentDB snapshot.
*/ inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; } /** *The name of the Elastic DocumentDB snapshot.
*/ inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; } /** *The name of the Elastic DocumentDB snapshot.
*/ inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); } /** *The name of the Elastic DocumentDB snapshot.
*/ inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); } /** *The name of the Elastic DocumentDB snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;} /** *The name of the Elastic DocumentDB snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;} /** *The name of the Elastic DocumentDB snapshot.
*/ inline ClusterSnapshot& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;} /** *The status of the Elastic DocumentDB snapshot.
*/ inline const Status& GetStatus() const{ return m_status; } /** *The status of the Elastic DocumentDB snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the Elastic DocumentDB snapshot.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the Elastic DocumentDB snapshot.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the Elastic DocumentDB snapshot.
*/ inline ClusterSnapshot& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *The status of the Elastic DocumentDB 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.
*/ inline const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of the IDs of subnets associated with the DB cluster snapshot.
*/ inline void SetSubnetIds(const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
*/ inline void SetSubnetIds(Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
*/ inline ClusterSnapshot& WithSubnetIds(const Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
*/ inline ClusterSnapshot& WithSubnetIds(Aws::VectorA list of the IDs of subnets associated with the DB cluster snapshot.
*/ 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.
*/ 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.
*/ 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.
*/ inline const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** *A list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ inline void SetVpcSecurityGroupIds(const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ inline void SetVpcSecurityGroupIds(Aws::VectorA list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(const Aws::VectorA list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ inline ClusterSnapshot& WithVpcSecurityGroupIds(Aws::VectorA list of the IDs of the VPC security groups associated with the cluster * snapshot.
*/ 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.
*/ 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.
*/ inline ClusterSnapshot& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } private: Aws::String m_adminUserName; bool m_adminUserNameHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_clusterCreationTime; bool m_clusterCreationTimeHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_snapshotArn; bool m_snapshotArnHasBeenSet = false; Aws::String m_snapshotCreationTime; bool m_snapshotCreationTimeHasBeenSet = false; Aws::String m_snapshotName; bool m_snapshotNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::Vector