7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-influxdb/model/Status.h>
10#include <aws/timestream-influxdb/model/NetworkType.h>
11#include <aws/timestream-influxdb/model/DbInstanceType.h>
12#include <aws/timestream-influxdb/model/DbStorageType.h>
13#include <aws/timestream-influxdb/model/DeploymentType.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
16#include <aws/timestream-influxdb/model/InstanceMode.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
31namespace TimestreamInfluxDB
48 template<
typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
50 template<
typename IdT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
71 template<
typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
73 template<
typename ArnT = Aws::String>
82 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
92 template<
typename Endpo
intT = Aws::String>
93 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
94 template<
typename Endpo
intT = Aws::String>
104 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
142 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
161 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
162 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
163 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
165 template<
typename VpcSubnetIdsT = Aws::String>
174 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
183 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
184 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
185 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
187 template<
typename VpcSecurityGroupIdsT = Aws::String>
196 template<
typename DbParameterGroupIdentifierT = Aws::String>
197 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
198 template<
typename DbParameterGroupIdentifierT = Aws::String>
207 template<
typename AvailabilityZoneT = Aws::String>
208 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
209 template<
typename AvailabilityZoneT = Aws::String>
219 template<
typename SecondaryAvailabilityZoneT = Aws::String>
220 void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) { m_secondaryAvailabilityZoneHasBeenSet =
true; m_secondaryAvailabilityZone = std::forward<SecondaryAvailabilityZoneT>(value); }
221 template<
typename SecondaryAvailabilityZoneT = Aws::String>
231 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
232 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
233 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
245 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
246 void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT&& value) { m_influxAuthParametersSecretArnHasBeenSet =
true; m_influxAuthParametersSecretArn = std::forward<InfluxAuthParametersSecretArnT>(value); }
247 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
256 template<
typename DbClusterIdT = Aws::String>
257 void SetDbClusterId(DbClusterIdT&& value) { m_dbClusterIdHasBeenSet =
true; m_dbClusterId = std::forward<DbClusterIdT>(value); }
258 template<
typename DbClusterIdT = Aws::String>
274 template<
typename RequestIdT = Aws::String>
275 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
276 template<
typename RequestIdT = Aws::String>
282 bool m_idHasBeenSet =
false;
285 bool m_nameHasBeenSet =
false;
288 bool m_arnHasBeenSet =
false;
291 bool m_statusHasBeenSet =
false;
294 bool m_endpointHasBeenSet =
false;
297 bool m_portHasBeenSet =
false;
300 bool m_networkTypeHasBeenSet =
false;
303 bool m_dbInstanceTypeHasBeenSet =
false;
306 bool m_dbStorageTypeHasBeenSet =
false;
308 int m_allocatedStorage{0};
309 bool m_allocatedStorageHasBeenSet =
false;
312 bool m_deploymentTypeHasBeenSet =
false;
315 bool m_vpcSubnetIdsHasBeenSet =
false;
317 bool m_publiclyAccessible{
false};
318 bool m_publiclyAccessibleHasBeenSet =
false;
321 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
324 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
327 bool m_availabilityZoneHasBeenSet =
false;
330 bool m_secondaryAvailabilityZoneHasBeenSet =
false;
332 LogDeliveryConfiguration m_logDeliveryConfiguration;
333 bool m_logDeliveryConfigurationHasBeenSet =
false;
336 bool m_influxAuthParametersSecretArnHasBeenSet =
false;
339 bool m_dbClusterIdHasBeenSet =
false;
342 bool m_instanceModeHasBeenSet =
false;
345 bool m_requestIdHasBeenSet =
false;
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
CreateDbInstanceResult & WithDbClusterId(DbClusterIdT &&value)
CreateDbInstanceResult & WithVpcSubnetIds(VpcSubnetIdsT &&value)
const Aws::String & GetName() const
CreateDbInstanceResult & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
CreateDbInstanceResult & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
int GetAllocatedStorage() const
void SetNetworkType(NetworkType value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
CreateDbInstanceResult & WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceResult()=default
const Aws::String & GetDbClusterId() const
NetworkType GetNetworkType() const
const Aws::String & GetEndpoint() const
const Aws::String & GetAvailabilityZone() const
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
CreateDbInstanceResult & WithId(IdT &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
CreateDbInstanceResult & WithPubliclyAccessible(bool value)
CreateDbInstanceResult & WithStatus(Status value)
CreateDbInstanceResult & WithEndpoint(EndpointT &&value)
CreateDbInstanceResult & WithPort(int value)
CreateDbInstanceResult & WithArn(ArnT &&value)
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(ArnT &&value)
CreateDbInstanceResult & WithName(NameT &&value)
void SetDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API CreateDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEndpoint(EndpointT &&value)
void SetPubliclyAccessible(bool value)
CreateDbInstanceResult & WithRequestId(RequestIdT &&value)
CreateDbInstanceResult & AddVpcSubnetIds(VpcSubnetIdsT &&value)
CreateDbInstanceResult & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDbInstanceResult & WithInstanceMode(InstanceMode value)
void SetDeploymentType(DeploymentType value)
const Aws::String & GetSecondaryAvailabilityZone() const
CreateDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
const Aws::String & GetDbParameterGroupIdentifier() const
void SetRequestId(RequestIdT &&value)
void SetDbClusterId(DbClusterIdT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
DbStorageType GetDbStorageType() const
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
CreateDbInstanceResult & WithAllocatedStorage(int value)
DbInstanceType GetDbInstanceType() const
void SetStatus(Status value)
void SetAllocatedStorage(int value)
CreateDbInstanceResult & WithNetworkType(NetworkType value)
const Aws::String & GetInfluxAuthParametersSecretArn() const
bool GetPubliclyAccessible() const
const Aws::String & GetRequestId() const
CreateDbInstanceResult & WithDbInstanceType(DbInstanceType value)
CreateDbInstanceResult & WithDeploymentType(DeploymentType value)
CreateDbInstanceResult & WithDbStorageType(DbStorageType value)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
void SetName(NameT &&value)
InstanceMode GetInstanceMode() const
void SetDbStorageType(DbStorageType value)
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
const Aws::String & GetArn() const
DeploymentType GetDeploymentType() const
void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
void SetInstanceMode(InstanceMode value)
const Aws::String & GetId() const
CreateDbInstanceResult & WithInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
CreateDbInstanceResult & WithAvailabilityZone(AvailabilityZoneT &&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