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/core/utils/memory/stl/AWSVector.h>
12#include <aws/timestream-influxdb/model/DbStorageType.h>
13#include <aws/timestream-influxdb/model/DeploymentType.h>
14#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/timestream-influxdb/model/NetworkType.h>
21namespace TimestreamInfluxDB
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
70 template<
typename UsernameT = Aws::String>
71 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
72 template<
typename UsernameT = Aws::String>
85 template<
typename PasswordT = Aws::String>
86 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
87 template<
typename PasswordT = Aws::String>
98 template<
typename OrganizationT = Aws::String>
99 void SetOrganization(OrganizationT&& value) { m_organizationHasBeenSet =
true; m_organization = std::forward<OrganizationT>(value); }
100 template<
typename OrganizationT = Aws::String>
113 template<
typename BucketT = Aws::String>
114 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
115 template<
typename BucketT = Aws::String>
137 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
138 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
139 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
141 template<
typename VpcSubnetIdsT = Aws::String>
151 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
152 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
153 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
155 template<
typename VpcSecurityGroupIdsT = Aws::String>
165 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
190 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
202 template<
typename DbParameterGroupIdentifierT = Aws::String>
203 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
204 template<
typename DbParameterGroupIdentifierT = Aws::String>
225 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
226 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
227 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
237 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
239 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
243 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
255 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
273 bool m_nameHasBeenSet =
false;
276 bool m_usernameHasBeenSet =
false;
279 bool m_passwordHasBeenSet =
false;
282 bool m_organizationHasBeenSet =
false;
285 bool m_bucketHasBeenSet =
false;
288 bool m_dbInstanceTypeHasBeenSet =
false;
291 bool m_vpcSubnetIdsHasBeenSet =
false;
294 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
296 bool m_publiclyAccessible{
false};
297 bool m_publiclyAccessibleHasBeenSet =
false;
300 bool m_dbStorageTypeHasBeenSet =
false;
302 int m_allocatedStorage{0};
303 bool m_allocatedStorageHasBeenSet =
false;
306 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
309 bool m_deploymentTypeHasBeenSet =
false;
311 LogDeliveryConfiguration m_logDeliveryConfiguration;
312 bool m_logDeliveryConfigurationHasBeenSet =
false;
315 bool m_tagsHasBeenSet =
false;
318 bool m_portHasBeenSet =
false;
321 bool m_networkTypeHasBeenSet =
false;
void SetBucket(BucketT &&value)
bool PubliclyAccessibleHasBeenSet() const
bool VpcSubnetIdsHasBeenSet() const
const Aws::String & GetOrganization() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool VpcSecurityGroupIdsHasBeenSet() const
CreateDbInstanceRequest & WithDeploymentType(DeploymentType value)
bool AllocatedStorageHasBeenSet() const
void SetPubliclyAccessible(bool value)
CreateDbInstanceRequest & WithVpcSubnetIds(VpcSubnetIdsT &&value)
bool TagsHasBeenSet() const
bool GetPubliclyAccessible() const
bool DbInstanceTypeHasBeenSet() const
bool DeploymentTypeHasBeenSet() const
DbInstanceType GetDbInstanceType() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceRequest()=default
void SetTags(TagsT &&value)
bool NameHasBeenSet() const
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
CreateDbInstanceRequest & WithPassword(PasswordT &&value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDbInstanceRequest & WithUsername(UsernameT &&value)
CreateDbInstanceRequest & WithTags(TagsT &&value)
void SetUsername(UsernameT &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
CreateDbInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateDbInstanceRequest & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDbInstanceRequest & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDbInstanceRequest & WithNetworkType(NetworkType value)
CreateDbInstanceRequest & WithPubliclyAccessible(bool value)
bool NetworkTypeHasBeenSet() const
bool LogDeliveryConfigurationHasBeenSet() const
CreateDbInstanceRequest & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
bool PortHasBeenSet() const
DbStorageType GetDbStorageType() const
CreateDbInstanceRequest & WithAllocatedStorage(int value)
DeploymentType GetDeploymentType() const
CreateDbInstanceRequest & WithDbStorageType(DbStorageType value)
int GetAllocatedStorage() const
const Aws::String & GetDbParameterGroupIdentifier() const
CreateDbInstanceRequest & AddVpcSubnetIds(VpcSubnetIdsT &&value)
bool UsernameHasBeenSet() const
CreateDbInstanceRequest & WithBucket(BucketT &&value)
bool DbStorageTypeHasBeenSet() const
bool PasswordHasBeenSet() const
void SetName(NameT &&value)
bool BucketHasBeenSet() const
void SetDbStorageType(DbStorageType value)
void SetDbInstanceType(DbInstanceType value)
void SetNetworkType(NetworkType value)
void SetDeploymentType(DeploymentType value)
void SetPassword(PasswordT &&value)
CreateDbInstanceRequest & WithDbInstanceType(DbInstanceType value)
const Aws::String & GetPassword() const
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
const Aws::String & GetBucket() const
CreateDbInstanceRequest & WithPort(int value)
CreateDbInstanceRequest & WithOrganization(OrganizationT &&value)
NetworkType GetNetworkType() const
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
CreateDbInstanceRequest & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
void SetAllocatedStorage(int value)
void SetOrganization(OrganizationT &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetUsername() const
bool OrganizationHasBeenSet() const
bool DbParameterGroupIdentifierHasBeenSet() const
CreateDbInstanceRequest & WithName(NameT &&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