7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
10#include <aws/docdb-elastic/model/SnapshotType.h>
11#include <aws/docdb-elastic/model/Status.h>
22namespace DocDBElastic {
44 template <
typename AdminUserNameT = Aws::String>
46 m_adminUserNameHasBeenSet =
true;
47 m_adminUserName = std::forward<AdminUserNameT>(value);
49 template <
typename AdminUserNameT = Aws::String>
62 template <
typename ClusterArnT = Aws::String>
64 m_clusterArnHasBeenSet =
true;
65 m_clusterArn = std::forward<ClusterArnT>(value);
67 template <
typename ClusterArnT = Aws::String>
81 template <
typename ClusterCreationTimeT = Aws::String>
83 m_clusterCreationTimeHasBeenSet =
true;
84 m_clusterCreationTime = std::forward<ClusterCreationTimeT>(value);
86 template <
typename ClusterCreationTimeT = Aws::String>
104 template <
typename KmsKeyIdT = Aws::String>
106 m_kmsKeyIdHasBeenSet =
true;
107 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
109 template <
typename KmsKeyIdT = Aws::String>
122 template <
typename SnapshotArnT = Aws::String>
124 m_snapshotArnHasBeenSet =
true;
125 m_snapshotArn = std::forward<SnapshotArnT>(value);
127 template <
typename SnapshotArnT = Aws::String>
141 template <
typename SnapshotCreationTimeT = Aws::String>
143 m_snapshotCreationTimeHasBeenSet =
true;
144 m_snapshotCreationTime = std::forward<SnapshotCreationTimeT>(value);
146 template <
typename SnapshotCreationTimeT = Aws::String>
159 template <
typename SnapshotNameT = Aws::String>
161 m_snapshotNameHasBeenSet =
true;
162 m_snapshotName = std::forward<SnapshotNameT>(value);
164 template <
typename SnapshotNameT = Aws::String>
183 m_snapshotTypeHasBeenSet =
true;
184 m_snapshotType = value;
199 m_statusHasBeenSet =
true;
214 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
216 m_subnetIdsHasBeenSet =
true;
217 m_subnetIds = std::forward<SubnetIdsT>(value);
219 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
224 template <
typename SubnetIdsT = Aws::String>
226 m_subnetIdsHasBeenSet =
true;
227 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
238 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
240 m_vpcSecurityGroupIdsHasBeenSet =
true;
241 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
243 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
248 template <
typename VpcSecurityGroupIdsT = Aws::String>
250 m_vpcSecurityGroupIdsHasBeenSet =
true;
251 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
277 bool m_adminUserNameHasBeenSet =
false;
278 bool m_clusterArnHasBeenSet =
false;
279 bool m_clusterCreationTimeHasBeenSet =
false;
280 bool m_kmsKeyIdHasBeenSet =
false;
281 bool m_snapshotArnHasBeenSet =
false;
282 bool m_snapshotCreationTimeHasBeenSet =
false;
283 bool m_snapshotNameHasBeenSet =
false;
284 bool m_snapshotTypeHasBeenSet =
false;
285 bool m_statusHasBeenSet =
false;
286 bool m_subnetIdsHasBeenSet =
false;
287 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