7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb-elastic/model/SnapshotType.h>
10#include <aws/docdb-elastic/model/Status.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename AdminUserNameT = Aws::String>
51 void SetAdminUserName(AdminUserNameT&& value) { m_adminUserNameHasBeenSet =
true; m_adminUserName = std::forward<AdminUserNameT>(value); }
52 template<
typename AdminUserNameT = Aws::String>
62 template<
typename ClusterArnT = Aws::String>
63 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
64 template<
typename ClusterArnT = Aws::String>
75 template<
typename ClusterCreationTimeT = Aws::String>
76 void SetClusterCreationTime(ClusterCreationTimeT&& value) { m_clusterCreationTimeHasBeenSet =
true; m_clusterCreationTime = std::forward<ClusterCreationTimeT>(value); }
77 template<
typename ClusterCreationTimeT = Aws::String>
92 template<
typename KmsKeyIdT = Aws::String>
93 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
94 template<
typename KmsKeyIdT = Aws::String>
104 template<
typename SnapshotArnT = Aws::String>
105 void SetSnapshotArn(SnapshotArnT&& value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn = std::forward<SnapshotArnT>(value); }
106 template<
typename SnapshotArnT = Aws::String>
117 template<
typename SnapshotCreationTimeT = Aws::String>
118 void SetSnapshotCreationTime(SnapshotCreationTimeT&& value) { m_snapshotCreationTimeHasBeenSet =
true; m_snapshotCreationTime = std::forward<SnapshotCreationTimeT>(value); }
119 template<
typename SnapshotCreationTimeT = Aws::String>
129 template<
typename SnapshotNameT = Aws::String>
130 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet =
true; m_snapshotName = std::forward<SnapshotNameT>(value); }
131 template<
typename SnapshotNameT = Aws::String>
166 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
167 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
168 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
170 template<
typename SubnetIdsT = Aws::String>
171 ClusterSnapshot&
AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
return *
this; }
180 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
181 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
182 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
184 template<
typename VpcSecurityGroupIdsT = Aws::String>
185 ClusterSnapshot&
AddVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
return *
this; }
190 bool m_adminUserNameHasBeenSet =
false;
193 bool m_clusterArnHasBeenSet =
false;
196 bool m_clusterCreationTimeHasBeenSet =
false;
199 bool m_kmsKeyIdHasBeenSet =
false;
202 bool m_snapshotArnHasBeenSet =
false;
205 bool m_snapshotCreationTimeHasBeenSet =
false;
208 bool m_snapshotNameHasBeenSet =
false;
211 bool m_snapshotTypeHasBeenSet =
false;
214 bool m_statusHasBeenSet =
false;
217 bool m_subnetIdsHasBeenSet =
false;
220 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
ClusterSnapshot & WithClusterCreationTime(ClusterCreationTimeT &&value)
const Aws::String & GetClusterCreationTime() const
ClusterSnapshot & WithSnapshotArn(SnapshotArnT &&value)
ClusterSnapshot & WithSnapshotName(SnapshotNameT &&value)
void SetStatus(Status value)
const Aws::String & GetAdminUserName() const
ClusterSnapshot & WithSnapshotType(SnapshotType value)
AWS_DOCDBELASTIC_API ClusterSnapshot(Aws::Utils::Json::JsonView jsonValue)
bool AdminUserNameHasBeenSet() const
const Aws::String & GetClusterArn() const
ClusterSnapshot & WithSnapshotCreationTime(SnapshotCreationTimeT &&value)
void SetAdminUserName(AdminUserNameT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ClusterSnapshot & AddSubnetIds(SubnetIdsT &&value)
AWS_DOCDBELASTIC_API ClusterSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterSnapshot & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool SubnetIdsHasBeenSet() const
bool SnapshotTypeHasBeenSet() const
const Aws::String & GetSnapshotName() const
void SetSnapshotCreationTime(SnapshotCreationTimeT &&value)
const Aws::String & GetSnapshotCreationTime() const
void SetSnapshotName(SnapshotNameT &&value)
bool SnapshotArnHasBeenSet() const
ClusterSnapshot & WithSubnetIds(SubnetIdsT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetKmsKeyId() const
const Aws::String & GetSnapshotArn() const
void SetClusterCreationTime(ClusterCreationTimeT &&value)
void SetSubnetIds(SubnetIdsT &&value)
ClusterSnapshot & WithStatus(Status value)
bool KmsKeyIdHasBeenSet() const
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
bool ClusterArnHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
bool SnapshotCreationTimeHasBeenSet() const
void SetClusterArn(ClusterArnT &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
ClusterSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
void SetSnapshotType(SnapshotType value)
ClusterSnapshot & WithClusterArn(ClusterArnT &&value)
bool StatusHasBeenSet() const
void SetSnapshotArn(SnapshotArnT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
SnapshotType GetSnapshotType() const
ClusterSnapshot & WithAdminUserName(AdminUserNameT &&value)
bool ClusterCreationTimeHasBeenSet() const
ClusterSnapshot & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool SnapshotNameHasBeenSet() const
AWS_DOCDBELASTIC_API ClusterSnapshot()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue