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>
52 inline void SetAdminUserName(
const char* value) { m_adminUserNameHasBeenSet =
true; m_adminUserName.assign(value); }
66 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
81 inline void SetClusterCreationTime(
const char* value) { m_clusterCreationTimeHasBeenSet =
true; m_clusterCreationTime.assign(value); }
100 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
114 inline void SetSnapshotArn(
const char* value) { m_snapshotArnHasBeenSet =
true; m_snapshotArn.assign(value); }
129 inline void SetSnapshotCreationTime(
const char* value) { m_snapshotCreationTimeHasBeenSet =
true; m_snapshotCreationTime.assign(value); }
143 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
172 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
173 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
210 bool m_adminUserNameHasBeenSet =
false;
213 bool m_clusterArnHasBeenSet =
false;
216 bool m_clusterCreationTimeHasBeenSet =
false;
219 bool m_kmsKeyIdHasBeenSet =
false;
222 bool m_snapshotArnHasBeenSet =
false;
225 bool m_snapshotCreationTimeHasBeenSet =
false;
228 bool m_snapshotNameHasBeenSet =
false;
231 bool m_snapshotTypeHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
237 bool m_subnetIdsHasBeenSet =
false;
240 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
ClusterSnapshot & WithSnapshotName(const char *value)
void SetClusterArn(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
ClusterSnapshot & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClusterCreationTime() const
const SnapshotType & GetSnapshotType() const
const Aws::String & GetAdminUserName() const
AWS_DOCDBELASTIC_API ClusterSnapshot(Aws::Utils::Json::JsonView jsonValue)
bool AdminUserNameHasBeenSet() const
const Aws::String & GetClusterArn() const
ClusterSnapshot & AddSubnetIds(const char *value)
void SetClusterCreationTime(const char *value)
void SetSnapshotCreationTime(Aws::String &&value)
ClusterSnapshot & AddVpcSecurityGroupIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
ClusterSnapshot & WithSnapshotArn(const Aws::String &value)
void SetAdminUserName(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_DOCDBELASTIC_API ClusterSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterSnapshot & WithSnapshotName(Aws::String &&value)
const Status & GetStatus() const
ClusterSnapshot & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool SubnetIdsHasBeenSet() const
void SetSnapshotCreationTime(const char *value)
void SetSnapshotType(SnapshotType &&value)
bool SnapshotTypeHasBeenSet() const
const Aws::String & GetSnapshotName() const
ClusterSnapshot & WithSnapshotCreationTime(const char *value)
ClusterSnapshot & WithClusterCreationTime(const Aws::String &value)
ClusterSnapshot & WithAdminUserName(Aws::String &&value)
const Aws::String & GetSnapshotCreationTime() const
ClusterSnapshot & WithAdminUserName(const Aws::String &value)
bool SnapshotArnHasBeenSet() const
void SetSnapshotName(const char *value)
void SetSnapshotName(const Aws::String &value)
AWS_DOCDBELASTIC_API ClusterSnapshot()
const Aws::String & GetKmsKeyId() const
ClusterSnapshot & WithAdminUserName(const char *value)
const Aws::String & GetSnapshotArn() const
ClusterSnapshot & WithKmsKeyId(const char *value)
void SetStatus(const Status &value)
ClusterSnapshot & WithSnapshotArn(Aws::String &&value)
ClusterSnapshot & AddVpcSecurityGroupIds(const char *value)
ClusterSnapshot & AddVpcSecurityGroupIds(Aws::String &&value)
ClusterSnapshot & AddSubnetIds(const Aws::String &value)
ClusterSnapshot & WithSnapshotCreationTime(const Aws::String &value)
ClusterSnapshot & AddSubnetIds(Aws::String &&value)
void SetSnapshotArn(const char *value)
ClusterSnapshot & WithClusterArn(const char *value)
void SetAdminUserName(const char *value)
bool KmsKeyIdHasBeenSet() const
void SetClusterCreationTime(Aws::String &&value)
void SetSnapshotArn(Aws::String &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
bool ClusterArnHasBeenSet() const
ClusterSnapshot & WithSnapshotName(const Aws::String &value)
ClusterSnapshot & WithStatus(Status &&value)
ClusterSnapshot & WithKmsKeyId(Aws::String &&value)
void SetSnapshotArn(const Aws::String &value)
bool SnapshotCreationTimeHasBeenSet() const
ClusterSnapshot & WithSnapshotType(const SnapshotType &value)
void SetSnapshotType(const SnapshotType &value)
bool VpcSecurityGroupIdsHasBeenSet() const
ClusterSnapshot & WithSnapshotArn(const char *value)
ClusterSnapshot & WithClusterArn(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetClusterCreationTime(const Aws::String &value)
ClusterSnapshot & WithClusterArn(const Aws::String &value)
ClusterSnapshot & WithClusterCreationTime(const char *value)
void SetClusterArn(const Aws::String &value)
void SetStatus(Status &&value)
ClusterSnapshot & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetKmsKeyId(const Aws::String &value)
ClusterSnapshot & WithSnapshotCreationTime(Aws::String &&value)
void SetAdminUserName(const Aws::String &value)
bool StatusHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
ClusterSnapshot & WithSnapshotType(SnapshotType &&value)
void SetKmsKeyId(Aws::String &&value)
ClusterSnapshot & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool ClusterCreationTimeHasBeenSet() const
void SetSnapshotName(Aws::String &&value)
void SetClusterArn(const char *value)
bool SnapshotNameHasBeenSet() const
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSnapshotCreationTime(const Aws::String &value)
ClusterSnapshot & WithStatus(const Status &value)
ClusterSnapshot & WithKmsKeyId(const Aws::String &value)
ClusterSnapshot & WithClusterCreationTime(Aws::String &&value)
void SetKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue