7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/docdb-elastic/model/Auth.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb-elastic/model/Status.h>
12#include <aws/docdb-elastic/model/Shard.h>
53 inline void SetAdminUserName(
const char* value) { m_adminUserNameHasBeenSet =
true; m_adminUserName.assign(value); }
65 inline void SetAuthType(
const Auth& value) { m_authTypeHasBeenSet =
true; m_authType = value; }
66 inline void SetAuthType(
Auth&& value) { m_authTypeHasBeenSet =
true; m_authType = std::move(value); }
89 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
103 inline void SetClusterEndpoint(
const char* value) { m_clusterEndpointHasBeenSet =
true; m_clusterEndpoint.assign(value); }
117 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
132 inline void SetCreateTime(
const char* value) { m_createTimeHasBeenSet =
true; m_createTime.assign(value); }
146 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
161 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
190 inline void SetShardCapacity(
int value) { m_shardCapacityHasBeenSet =
true; m_shardCapacity = value; }
200 inline void SetShardCount(
int value) { m_shardCountHasBeenSet =
true; m_shardCount = value; }
213 inline void SetShardInstanceCount(
int value) { m_shardInstanceCountHasBeenSet =
true; m_shardInstanceCount = value; }
227 inline Cluster&
AddShards(
const Shard& value) { m_shardsHasBeenSet =
true; m_shards.push_back(value);
return *
this; }
228 inline Cluster&
AddShards(
Shard&& value) { m_shardsHasBeenSet =
true; m_shards.push_back(std::move(value));
return *
this; }
237 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
238 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
255 inline Cluster&
AddSubnetIds(
const char* value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.push_back(value);
return *
this; }
275 bool m_adminUserNameHasBeenSet =
false;
278 bool m_authTypeHasBeenSet =
false;
280 int m_backupRetentionPeriod;
281 bool m_backupRetentionPeriodHasBeenSet =
false;
284 bool m_clusterArnHasBeenSet =
false;
287 bool m_clusterEndpointHasBeenSet =
false;
290 bool m_clusterNameHasBeenSet =
false;
293 bool m_createTimeHasBeenSet =
false;
296 bool m_kmsKeyIdHasBeenSet =
false;
299 bool m_preferredBackupWindowHasBeenSet =
false;
302 bool m_preferredMaintenanceWindowHasBeenSet =
false;
305 bool m_shardCapacityHasBeenSet =
false;
308 bool m_shardCountHasBeenSet =
false;
310 int m_shardInstanceCount;
311 bool m_shardInstanceCountHasBeenSet =
false;
314 bool m_shardsHasBeenSet =
false;
317 bool m_statusHasBeenSet =
false;
320 bool m_subnetIdsHasBeenSet =
false;
323 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
Cluster & WithKmsKeyId(const char *value)
Cluster & AddSubnetIds(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
Cluster & WithBackupRetentionPeriod(int value)
Cluster & WithShardCount(int value)
Cluster & WithAdminUserName(const Aws::String &value)
void SetAuthType(const Auth &value)
Cluster & WithClusterEndpoint(const char *value)
Cluster & AddVpcSecurityGroupIds(const Aws::String &value)
bool ClusterArnHasBeenSet() const
int GetShardCount() const
Cluster & WithClusterEndpoint(const Aws::String &value)
Cluster & WithClusterName(const Aws::String &value)
void SetPreferredBackupWindow(const Aws::String &value)
bool ClusterNameHasBeenSet() const
bool CreateTimeHasBeenSet() const
void SetCreateTime(const char *value)
void SetShards(const Aws::Vector< Shard > &value)
Cluster & AddShards(Shard &&value)
bool ShardCapacityHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
Cluster & WithAuthType(const Auth &value)
Cluster & WithShardCapacity(int value)
void SetClusterArn(Aws::String &&value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithClusterName(Aws::String &&value)
bool SubnetIdsHasBeenSet() const
const Aws::String & GetCreateTime() const
void SetShardCapacity(int value)
const Aws::String & GetAdminUserName() const
const Aws::String & GetKmsKeyId() const
void SetAdminUserName(Aws::String &&value)
Cluster & AddSubnetIds(Aws::String &&value)
Cluster & AddSubnetIds(const Aws::String &value)
bool AdminUserNameHasBeenSet() const
int GetShardInstanceCount() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetClusterName(const Aws::String &value)
void SetClusterArn(const Aws::String &value)
AWS_DOCDBELASTIC_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API Cluster(Aws::Utils::Json::JsonView jsonValue)
int GetBackupRetentionPeriod() const
bool PreferredBackupWindowHasBeenSet() const
const Aws::String & GetPreferredBackupWindow() const
Cluster & WithAdminUserName(Aws::String &&value)
void SetShardInstanceCount(int value)
Cluster & WithKmsKeyId(Aws::String &&value)
bool ShardCountHasBeenSet() const
void SetAdminUserName(const Aws::String &value)
void SetCreateTime(Aws::String &&value)
Cluster & WithCreateTime(const Aws::String &value)
Cluster & WithShards(const Aws::Vector< Shard > &value)
void SetStatus(const Status &value)
const Aws::String & GetClusterEndpoint() const
Cluster & WithStatus(const Status &value)
Cluster & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Cluster & WithClusterEndpoint(Aws::String &&value)
Cluster & WithShards(Aws::Vector< Shard > &&value)
const Status & GetStatus() const
void SetClusterEndpoint(const Aws::String &value)
const Aws::String & GetClusterName() const
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::Vector< Shard > & GetShards() const
Cluster & WithClusterName(const char *value)
AWS_DOCDBELASTIC_API Cluster()
void SetPreferredMaintenanceWindow(const Aws::String &value)
Cluster & WithClusterArn(Aws::String &&value)
void SetPreferredBackupWindow(const char *value)
void SetShardCount(int value)
void SetClusterName(Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Cluster & AddShards(const Shard &value)
void SetClusterName(const char *value)
void SetPreferredBackupWindow(Aws::String &&value)
int GetShardCapacity() const
Cluster & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Cluster & AddVpcSecurityGroupIds(const char *value)
Cluster & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetClusterEndpoint(Aws::String &&value)
void SetCreateTime(const Aws::String &value)
void SetAdminUserName(const char *value)
Cluster & WithPreferredMaintenanceWindow(Aws::String &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Cluster & WithPreferredMaintenanceWindow(const Aws::String &value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool ShardsHasBeenSet() const
Cluster & WithPreferredBackupWindow(Aws::String &&value)
void SetStatus(Status &&value)
void SetBackupRetentionPeriod(int value)
void SetAuthType(Auth &&value)
Cluster & WithClusterArn(const Aws::String &value)
Cluster & WithStatus(Status &&value)
void SetShards(Aws::Vector< Shard > &&value)
Cluster & AddVpcSecurityGroupIds(Aws::String &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
Cluster & WithPreferredBackupWindow(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool ShardInstanceCountHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
void SetClusterArn(const char *value)
Cluster & WithKmsKeyId(const Aws::String &value)
Cluster & WithCreateTime(const char *value)
void SetClusterEndpoint(const char *value)
Cluster & WithCreateTime(Aws::String &&value)
Cluster & WithPreferredMaintenanceWindow(const char *value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetClusterArn() const
Cluster & WithAdminUserName(const char *value)
bool StatusHasBeenSet() const
Cluster & WithShardInstanceCount(int value)
bool ClusterEndpointHasBeenSet() const
bool AuthTypeHasBeenSet() const
Cluster & WithClusterArn(const char *value)
void SetKmsKeyId(Aws::String &&value)
Cluster & WithAuthType(Auth &&value)
Cluster & WithPreferredBackupWindow(const Aws::String &value)
void SetKmsKeyId(const char *value)
const Auth & GetAuthType() const
void SetPreferredMaintenanceWindow(const char *value)
Cluster & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &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