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>
13#include <aws/core/utils/UUID.h>
49 inline void SetAdminUserPassword(
const char* value) { m_adminUserPasswordHasBeenSet =
true; m_adminUserPassword.assign(value); }
63 inline void SetAuthType(
const Auth& value) { m_authTypeHasBeenSet =
true; m_authType = value; }
64 inline void SetAuthType(
Auth&& value) { m_authTypeHasBeenSet =
true; m_authType = std::move(value); }
87 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
101 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
117 inline void SetPreferredBackupWindow(
const char* value) { m_preferredBackupWindowHasBeenSet =
true; m_preferredBackupWindow.assign(value); }
150 inline void SetShardCapacity(
int value) { m_shardCapacityHasBeenSet =
true; m_shardCapacity = value; }
160 inline void SetShardCount(
int value) { m_shardCountHasBeenSet =
true; m_shardCount = value; }
173 inline void SetShardInstanceCount(
int value) { m_shardInstanceCountHasBeenSet =
true; m_shardInstanceCount = value; }
209 bool m_adminUserPasswordHasBeenSet =
false;
212 bool m_authTypeHasBeenSet =
false;
214 int m_backupRetentionPeriod;
215 bool m_backupRetentionPeriodHasBeenSet =
false;
218 bool m_clientTokenHasBeenSet =
false;
221 bool m_clusterArnHasBeenSet =
false;
224 bool m_preferredBackupWindowHasBeenSet =
false;
227 bool m_preferredMaintenanceWindowHasBeenSet =
false;
230 bool m_shardCapacityHasBeenSet =
false;
233 bool m_shardCountHasBeenSet =
false;
235 int m_shardInstanceCount;
236 bool m_shardInstanceCountHasBeenSet =
false;
239 bool m_subnetIdsHasBeenSet =
false;
242 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
UpdateClusterRequest & WithPreferredBackupWindow(Aws::String &&value)
void SetBackupRetentionPeriod(int value)
const Aws::String & GetPreferredBackupWindow() const
UpdateClusterRequest & WithClusterArn(Aws::String &&value)
UpdateClusterRequest & WithClientToken(const char *value)
void SetAdminUserPassword(const char *value)
bool ShardInstanceCountHasBeenSet() const
bool PreferredBackupWindowHasBeenSet() const
void SetPreferredMaintenanceWindow(const char *value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool SubnetIdsHasBeenSet() const
bool ShardCountHasBeenSet() const
int GetShardCount() const
void SetPreferredMaintenanceWindow(const Aws::String &value)
bool ClientTokenHasBeenSet() const
void SetShardCapacity(int value)
void SetClusterArn(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateClusterRequest & WithShardCapacity(int value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
void SetVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateClusterRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const char *value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
UpdateClusterRequest & WithClusterArn(const char *value)
bool AuthTypeHasBeenSet() const
void SetShardInstanceCount(int value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetAuthType(Auth &&value)
bool PreferredMaintenanceWindowHasBeenSet() const
UpdateClusterRequest & WithPreferredBackupWindow(const Aws::String &value)
void SetPreferredBackupWindow(const char *value)
int GetShardInstanceCount() const
AWS_DOCDBELASTIC_API UpdateClusterRequest()
void SetClusterArn(const char *value)
UpdateClusterRequest & AddVpcSecurityGroupIds(const char *value)
UpdateClusterRequest & WithClientToken(Aws::String &&value)
UpdateClusterRequest & WithAdminUserPassword(const char *value)
UpdateClusterRequest & WithAuthType(Auth &&value)
void SetShardCount(int value)
AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override
void SetAdminUserPassword(Aws::String &&value)
UpdateClusterRequest & WithAuthType(const Auth &value)
int GetBackupRetentionPeriod() const
const Aws::String & GetClusterArn() const
UpdateClusterRequest & WithBackupRetentionPeriod(int value)
UpdateClusterRequest & AddSubnetIds(const Aws::String &value)
bool ShardCapacityHasBeenSet() const
UpdateClusterRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateClusterRequest & WithAdminUserPassword(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(Aws::String &&value)
UpdateClusterRequest & WithShardCount(int value)
UpdateClusterRequest & WithAdminUserPassword(const Aws::String &value)
void SetClientToken(const Aws::String &value)
UpdateClusterRequest & WithPreferredMaintenanceWindow(const char *value)
void SetVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetAdminUserPassword() const
bool BackupRetentionPeriodHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetPreferredMaintenanceWindow() const
bool VpcSecurityGroupIdsHasBeenSet() const
void SetAuthType(const Auth &value)
const Aws::String & GetClientToken() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
UpdateClusterRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
UpdateClusterRequest & WithClusterArn(const Aws::String &value)
int GetShardCapacity() const
bool AdminUserPasswordHasBeenSet() const
UpdateClusterRequest & AddVpcSecurityGroupIds(const Aws::String &value)
void SetPreferredBackupWindow(Aws::String &&value)
void SetAdminUserPassword(const Aws::String &value)
void SetPreferredBackupWindow(const Aws::String &value)
UpdateClusterRequest & AddSubnetIds(Aws::String &&value)
const Auth & GetAuthType() const
UpdateClusterRequest & WithShardInstanceCount(int value)
UpdateClusterRequest & WithPreferredBackupWindow(const char *value)
void SetClusterArn(const Aws::String &value)
bool ClusterArnHasBeenSet() const
UpdateClusterRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
UpdateClusterRequest & AddVpcSecurityGroupIds(Aws::String &&value)
UpdateClusterRequest & AddSubnetIds(const char *value)
UpdateClusterRequest & 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