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/Auth.h>
11#include <aws/docdb-elastic/model/Shard.h>
12#include <aws/docdb-elastic/model/Status.h>
23namespace DocDBElastic {
45 template <
typename AdminUserNameT = Aws::String>
47 m_adminUserNameHasBeenSet =
true;
48 m_adminUserName = std::forward<AdminUserNameT>(value);
50 template <
typename AdminUserNameT = Aws::String>
64 m_authTypeHasBeenSet =
true;
80 m_backupRetentionPeriodHasBeenSet =
true;
81 m_backupRetentionPeriod = value;
95 template <
typename ClusterArnT = Aws::String>
97 m_clusterArnHasBeenSet =
true;
98 m_clusterArn = std::forward<ClusterArnT>(value);
100 template <
typename ClusterArnT = Aws::String>
113 template <
typename ClusterEndpo
intT = Aws::String>
115 m_clusterEndpointHasBeenSet =
true;
116 m_clusterEndpoint = std::forward<ClusterEndpointT>(value);
118 template <
typename ClusterEndpo
intT = Aws::String>
131 template <
typename ClusterNameT = Aws::String>
133 m_clusterNameHasBeenSet =
true;
134 m_clusterName = std::forward<ClusterNameT>(value);
136 template <
typename ClusterNameT = Aws::String>
150 template <
typename CreateTimeT = Aws::String>
152 m_createTimeHasBeenSet =
true;
153 m_createTime = std::forward<CreateTimeT>(value);
155 template <
typename CreateTimeT = Aws::String>
168 template <
typename KmsKeyIdT = Aws::String>
170 m_kmsKeyIdHasBeenSet =
true;
171 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
173 template <
typename KmsKeyIdT = Aws::String>
187 template <
typename PreferredBackupWindowT = Aws::String>
189 m_preferredBackupWindowHasBeenSet =
true;
190 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
192 template <
typename PreferredBackupWindowT = Aws::String>
207 template <
typename PreferredMa
intenanceWindowT = Aws::String>
209 m_preferredMaintenanceWindowHasBeenSet =
true;
210 m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value);
212 template <
typename PreferredMa
intenanceWindowT = Aws::String>
227 m_shardCapacityHasBeenSet =
true;
228 m_shardCapacity = value;
243 m_shardCountHasBeenSet =
true;
244 m_shardCount = value;
262 m_shardInstanceCountHasBeenSet =
true;
263 m_shardInstanceCount = value;
277 template <
typename ShardsT = Aws::Vector<Shard>>
279 m_shardsHasBeenSet =
true;
280 m_shards = std::forward<ShardsT>(value);
282 template <
typename ShardsT = Aws::Vector<Shard>>
287 template <
typename ShardsT = Shard>
289 m_shardsHasBeenSet =
true;
290 m_shards.emplace_back(std::forward<ShardsT>(value));
302 m_statusHasBeenSet =
true;
317 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
319 m_subnetIdsHasBeenSet =
true;
320 m_subnetIds = std::forward<SubnetIdsT>(value);
322 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
327 template <
typename SubnetIdsT = Aws::String>
329 m_subnetIdsHasBeenSet =
true;
330 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
341 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
343 m_vpcSecurityGroupIdsHasBeenSet =
true;
344 m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value);
346 template <
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
351 template <
typename VpcSecurityGroupIdsT = Aws::String>
353 m_vpcSecurityGroupIdsHasBeenSet =
true;
354 m_vpcSecurityGroupIds.emplace_back(std::forward<VpcSecurityGroupIdsT>(value));
363 int m_backupRetentionPeriod{0};
379 int m_shardCapacity{0};
383 int m_shardInstanceCount{0};
392 bool m_adminUserNameHasBeenSet =
false;
393 bool m_authTypeHasBeenSet =
false;
394 bool m_backupRetentionPeriodHasBeenSet =
false;
395 bool m_clusterArnHasBeenSet =
false;
396 bool m_clusterEndpointHasBeenSet =
false;
397 bool m_clusterNameHasBeenSet =
false;
398 bool m_createTimeHasBeenSet =
false;
399 bool m_kmsKeyIdHasBeenSet =
false;
400 bool m_preferredBackupWindowHasBeenSet =
false;
401 bool m_preferredMaintenanceWindowHasBeenSet =
false;
402 bool m_shardCapacityHasBeenSet =
false;
403 bool m_shardCountHasBeenSet =
false;
404 bool m_shardInstanceCountHasBeenSet =
false;
405 bool m_shardsHasBeenSet =
false;
406 bool m_statusHasBeenSet =
false;
407 bool m_subnetIdsHasBeenSet =
false;
408 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
Cluster & WithBackupRetentionPeriod(int value)
Cluster & WithShardCount(int value)
bool ClusterArnHasBeenSet() const
int GetShardCount() const
Cluster & WithShards(ShardsT &&value)
bool ClusterNameHasBeenSet() const
bool CreateTimeHasBeenSet() const
bool ShardCapacityHasBeenSet() const
bool BackupRetentionPeriodHasBeenSet() const
Cluster & WithShardCapacity(int value)
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithAdminUserName(AdminUserNameT &&value)
void SetStatus(Status value)
bool SubnetIdsHasBeenSet() const
const Aws::String & GetCreateTime() const
void SetShardCapacity(int value)
const Aws::String & GetAdminUserName() const
const Aws::String & GetKmsKeyId() const
void SetSubnetIds(SubnetIdsT &&value)
bool AdminUserNameHasBeenSet() const
int GetShardInstanceCount() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetAdminUserName(AdminUserNameT &&value)
Cluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Cluster & AddSubnetIds(SubnetIdsT &&value)
AWS_DOCDBELASTIC_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DOCDBELASTIC_API Cluster(Aws::Utils::Json::JsonView jsonValue)
int GetBackupRetentionPeriod() const
Cluster & WithClusterArn(ClusterArnT &&value)
bool PreferredBackupWindowHasBeenSet() const
const Aws::String & GetPreferredBackupWindow() const
void SetAuthType(Auth value)
void SetShardInstanceCount(int value)
Cluster & WithClusterEndpoint(ClusterEndpointT &&value)
bool ShardCountHasBeenSet() const
Cluster & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetClusterEndpoint() const
const Aws::String & GetClusterName() const
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::Vector< Shard > & GetShards() const
Cluster & WithSubnetIds(SubnetIdsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetClusterName(ClusterNameT &&value)
void SetShardCount(int value)
void SetClusterArn(ClusterArnT &&value)
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
AWS_DOCDBELASTIC_API Cluster()=default
int GetShardCapacity() const
Cluster & WithStatus(Status value)
Cluster & WithCreateTime(CreateTimeT &&value)
Cluster & WithKmsKeyId(KmsKeyIdT &&value)
bool VpcSecurityGroupIdsHasBeenSet() const
bool PreferredMaintenanceWindowHasBeenSet() const
bool ShardsHasBeenSet() const
void SetShards(ShardsT &&value)
void SetBackupRetentionPeriod(int value)
Cluster & AddShards(ShardsT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
bool ShardInstanceCountHasBeenSet() const
Cluster & WithClusterName(ClusterNameT &&value)
void SetCreateTime(CreateTimeT &&value)
Cluster & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetClusterArn() const
bool StatusHasBeenSet() const
Cluster & WithShardInstanceCount(int value)
bool ClusterEndpointHasBeenSet() const
void SetClusterEndpoint(ClusterEndpointT &&value)
bool AuthTypeHasBeenSet() const
Cluster & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
Cluster & WithAuthType(Auth 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