7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/timestream-influxdb/TimestreamInfluxDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-influxdb/model/DbInstanceType.h>
11#include <aws/timestream-influxdb/model/DbStorageType.h>
12#include <aws/timestream-influxdb/model/NetworkType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/timestream-influxdb/model/ClusterDeploymentType.h>
15#include <aws/timestream-influxdb/model/FailoverMode.h>
16#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
22namespace TimestreamInfluxDB
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
71 template<
typename UsernameT = Aws::String>
72 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
73 template<
typename UsernameT = Aws::String>
86 template<
typename PasswordT = Aws::String>
87 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
88 template<
typename PasswordT = Aws::String>
99 template<
typename OrganizationT = Aws::String>
100 void SetOrganization(OrganizationT&& value) { m_organizationHasBeenSet =
true; m_organization = std::forward<OrganizationT>(value); }
101 template<
typename OrganizationT = Aws::String>
114 template<
typename BucketT = Aws::String>
115 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
116 template<
typename BucketT = Aws::String>
128 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
140 template<
typename DbParameterGroupIdentifierT = Aws::String>
141 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
142 template<
typename DbParameterGroupIdentifierT = Aws::String>
177 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
200 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
212 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
213 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
214 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
216 template<
typename VpcSubnetIdsT = Aws::String>
227 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
228 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
229 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
231 template<
typename VpcSecurityGroupIdsT = Aws::String>
262 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
263 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
264 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
274 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
275 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
276 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
278 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
280 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
286 bool m_nameHasBeenSet =
false;
289 bool m_usernameHasBeenSet =
false;
292 bool m_passwordHasBeenSet =
false;
295 bool m_organizationHasBeenSet =
false;
298 bool m_bucketHasBeenSet =
false;
301 bool m_portHasBeenSet =
false;
304 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
307 bool m_dbInstanceTypeHasBeenSet =
false;
310 bool m_dbStorageTypeHasBeenSet =
false;
312 int m_allocatedStorage{0};
313 bool m_allocatedStorageHasBeenSet =
false;
316 bool m_networkTypeHasBeenSet =
false;
318 bool m_publiclyAccessible{
false};
319 bool m_publiclyAccessibleHasBeenSet =
false;
322 bool m_vpcSubnetIdsHasBeenSet =
false;
325 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
328 bool m_deploymentTypeHasBeenSet =
false;
331 bool m_failoverModeHasBeenSet =
false;
333 LogDeliveryConfiguration m_logDeliveryConfiguration;
334 bool m_logDeliveryConfigurationHasBeenSet =
false;
337 bool m_tagsHasBeenSet =
false;
CreateDbClusterRequest & WithUsername(UsernameT &&value)
void SetBucket(BucketT &&value)
bool FailoverModeHasBeenSet() const
CreateDbClusterRequest & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
const Aws::String & GetUsername() const
CreateDbClusterRequest & WithNetworkType(NetworkType value)
void SetPubliclyAccessible(bool value)
CreateDbClusterRequest & WithTags(TagsT &&value)
int GetAllocatedStorage() const
bool GetPubliclyAccessible() const
void SetDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
NetworkType GetNetworkType() const
CreateDbClusterRequest & WithPubliclyAccessible(bool value)
void SetDbStorageType(DbStorageType value)
const Aws::String & GetName() const
CreateDbClusterRequest & WithFailoverMode(FailoverMode value)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
CreateDbClusterRequest & WithVpcSubnetIds(VpcSubnetIdsT &&value)
CreateDbClusterRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
DbStorageType GetDbStorageType() const
bool DeploymentTypeHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
bool DbStorageTypeHasBeenSet() const
void SetUsername(UsernameT &&value)
const Aws::String & GetOrganization() const
CreateDbClusterRequest & WithBucket(BucketT &&value)
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
bool LogDeliveryConfigurationHasBeenSet() const
const Aws::String & GetBucket() const
const Aws::String & GetDbParameterGroupIdentifier() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
CreateDbClusterRequest & WithDeploymentType(ClusterDeploymentType value)
DbInstanceType GetDbInstanceType() const
AWS_TIMESTREAMINFLUXDB_API CreateDbClusterRequest()=default
CreateDbClusterRequest & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
void SetDeploymentType(ClusterDeploymentType value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
bool UsernameHasBeenSet() const
void SetName(NameT &&value)
void SetAllocatedStorage(int value)
bool DbParameterGroupIdentifierHasBeenSet() const
CreateDbClusterRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetFailoverMode(FailoverMode value)
const Aws::String & GetPassword() const
CreateDbClusterRequest & WithPassword(PasswordT &&value)
CreateDbClusterRequest & WithOrganization(OrganizationT &&value)
FailoverMode GetFailoverMode() const
bool NetworkTypeHasBeenSet() const
bool DbInstanceTypeHasBeenSet() const
CreateDbClusterRequest & WithDbStorageType(DbStorageType value)
CreateDbClusterRequest & WithName(NameT &&value)
bool AllocatedStorageHasBeenSet() const
CreateDbClusterRequest & WithAllocatedStorage(int value)
bool VpcSecurityGroupIdsHasBeenSet() const
bool PubliclyAccessibleHasBeenSet() const
bool OrganizationHasBeenSet() const
bool BucketHasBeenSet() const
bool PasswordHasBeenSet() const
void SetNetworkType(NetworkType value)
void SetPassword(PasswordT &&value)
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
void SetOrganization(OrganizationT &&value)
CreateDbClusterRequest & AddVpcSubnetIds(VpcSubnetIdsT &&value)
CreateDbClusterRequest & WithPort(int value)
CreateDbClusterRequest & WithDbInstanceType(DbInstanceType value)
bool PortHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ClusterDeploymentType GetDeploymentType() const
bool VpcSubnetIdsHasBeenSet() const
CreateDbClusterRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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