7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/docdb-elastic/DocDBElasticRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/docdb-elastic/model/Auth.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
50 inline void SetAdminUserName(
const char* value) { m_adminUserNameHasBeenSet =
true; m_adminUserName.assign(value); }
68 inline void SetAdminUserPassword(
const char* value) { m_adminUserPasswordHasBeenSet =
true; m_adminUserPassword.assign(value); }
82 inline void SetAuthType(
const Auth& value) { m_authTypeHasBeenSet =
true; m_authType = value; }
83 inline void SetAuthType(
Auth&& value) { m_authTypeHasBeenSet =
true; m_authType = std::move(value); }
106 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
124 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
144 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
160 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
193 inline void SetShardCapacity(
int value) { m_shardCapacityHasBeenSet =
true; m_shardCapacity = value; }
203 inline void SetShardCount(
int value) { m_shardCountHasBeenSet =
true; m_shardCount = value; }
216 inline void SetShardInstanceCount(
int value) { m_shardInstanceCountHasBeenSet =
true; m_shardInstanceCount = value; }
272 bool m_adminUserNameHasBeenSet =
false;
275 bool m_adminUserPasswordHasBeenSet =
false;
278 bool m_authTypeHasBeenSet =
false;
280 int m_backupRetentionPeriod;
281 bool m_backupRetentionPeriodHasBeenSet =
false;
284 bool m_clientTokenHasBeenSet =
false;
287 bool m_clusterNameHasBeenSet =
false;
290 bool m_kmsKeyIdHasBeenSet =
false;
293 bool m_preferredBackupWindowHasBeenSet =
false;
296 bool m_preferredMaintenanceWindowHasBeenSet =
false;
299 bool m_shardCapacityHasBeenSet =
false;
302 bool m_shardCountHasBeenSet =
false;
304 int m_shardInstanceCount;
305 bool m_shardInstanceCountHasBeenSet =
false;
308 bool m_subnetIdsHasBeenSet =
false;
311 bool m_tagsHasBeenSet =
false;
314 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
CreateClusterRequest & WithClientToken(const Aws::String &value)
CreateClusterRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetShardCount(int value)
CreateClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
void SetAdminUserPassword(Aws::String &&value)
CreateClusterRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateClusterRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool SubnetIdsHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
bool ShardInstanceCountHasBeenSet() const
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetAdminUserName(const char *value)
void SetPreferredMaintenanceWindow(const char *value)
const Aws::String & GetAdminUserPassword() const
bool ShardCountHasBeenSet() const
CreateClusterRequest & WithAuthType(Auth &&value)
bool KmsKeyIdHasBeenSet() const
void SetAdminUserName(const Aws::String &value)
void SetClientToken(const char *value)
const Aws::String & GetPreferredBackupWindow() const
CreateClusterRequest & AddSubnetIds(Aws::String &&value)
void SetAuthType(const Auth &value)
CreateClusterRequest & WithKmsKeyId(const char *value)
void SetClusterName(Aws::String &&value)
CreateClusterRequest & WithPreferredBackupWindow(const char *value)
CreateClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithShardInstanceCount(int value)
bool TagsHasBeenSet() const
bool ClusterNameHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithAdminUserName(const char *value)
void SetAdminUserName(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
CreateClusterRequest & WithClientToken(const char *value)
CreateClusterRequest & WithAuthType(const Auth &value)
CreateClusterRequest & AddVpcSecurityGroupIds(const char *value)
CreateClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
CreateClusterRequest & WithKmsKeyId(Aws::String &&value)
CreateClusterRequest & AddSubnetIds(const Aws::String &value)
CreateClusterRequest & AddTags(Aws::String &&key, Aws::String &&value)
int GetShardCapacity() const
void SetClientToken(Aws::String &&value)
bool AdminUserNameHasBeenSet() const
void SetBackupRetentionPeriod(int value)
CreateClusterRequest & WithAdminUserPassword(Aws::String &&value)
void SetAdminUserPassword(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithClusterName(Aws::String &&value)
int GetShardInstanceCount() const
void SetPreferredBackupWindow(const Aws::String &value)
CreateClusterRequest & WithClusterName(const char *value)
int GetShardCount() const
CreateClusterRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClusterName(const Aws::String &value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool VpcSecurityGroupIdsHasBeenSet() const
AWS_DOCDBELASTIC_API CreateClusterRequest()
const Aws::String & GetAdminUserName() const
CreateClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
CreateClusterRequest & AddSubnetIds(const char *value)
CreateClusterRequest & WithAdminUserName(const Aws::String &value)
void SetShardInstanceCount(int value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::String & GetClusterName() const
bool PreferredBackupWindowHasBeenSet() const
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
CreateClusterRequest & WithAdminUserPassword(const char *value)
CreateClusterRequest & AddTags(const char *key, const char *value)
bool ClientTokenHasBeenSet() const
CreateClusterRequest & WithShardCount(int value)
int GetBackupRetentionPeriod() const
CreateClusterRequest & WithKmsKeyId(const Aws::String &value)
const Aws::String & GetKmsKeyId() const
CreateClusterRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAdminUserPassword(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithAdminUserName(Aws::String &&value)
void SetKmsKeyId(const char *value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
bool AuthTypeHasBeenSet() const
CreateClusterRequest & WithAdminUserPassword(const Aws::String &value)
CreateClusterRequest & WithBackupRetentionPeriod(int value)
void SetPreferredBackupWindow(Aws::String &&value)
const Aws::String & GetClientToken() const
void SetClientToken(const Aws::String &value)
void SetClusterName(const char *value)
CreateClusterRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
CreateClusterRequest & WithClusterName(const Aws::String &value)
CreateClusterRequest & WithShardCapacity(int value)
CreateClusterRequest & AddTags(Aws::String &&key, const char *value)
CreateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
bool ShardCapacityHasBeenSet() const
bool AdminUserPasswordHasBeenSet() const
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetAuthType(Auth &&value)
bool BackupRetentionPeriodHasBeenSet() const
CreateClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
const Auth & GetAuthType() const
void SetPreferredBackupWindow(const char *value)
CreateClusterRequest & AddTags(const char *key, Aws::String &&value)
CreateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
void SetShardCapacity(int value)
CreateClusterRequest & WithClientToken(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector