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>
103 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
141 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
160 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
161 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
162 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
164 template<
typename VpcSubnetIdsT = Aws::String>
173 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
182 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
183 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
184 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
186 template<
typename VpcSecurityGroupIdsT = Aws::String>
195 template<
typename DbParameterGroupIdentifierT = Aws::String>
196 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
197 template<
typename DbParameterGroupIdentifierT = Aws::String>
206 template<
typename AvailabilityZoneT = Aws::String>
207 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
208 template<
typename AvailabilityZoneT = Aws::String>
218 template<
typename SecondaryAvailabilityZoneT = Aws::String>
219 void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT&& value) { m_secondaryAvailabilityZoneHasBeenSet =
true; m_secondaryAvailabilityZone = std::forward<SecondaryAvailabilityZoneT>(value); }
220 template<
typename SecondaryAvailabilityZoneT = Aws::String>
230 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
231 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
232 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
244 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
245 void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT&& value) { m_influxAuthParametersSecretArnHasBeenSet =
true; m_influxAuthParametersSecretArn = std::forward<InfluxAuthParametersSecretArnT>(value); }
246 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
255 template<
typename DbClusterIdT = Aws::String>
256 void SetDbClusterId(DbClusterIdT&& value) { m_dbClusterIdHasBeenSet =
true; m_dbClusterId = std::forward<DbClusterIdT>(value); }
257 template<
typename DbClusterIdT = Aws::String>
273 template<
typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
275 template<
typename RequestIdT = Aws::String>
281 bool m_idHasBeenSet =
false;
284 bool m_nameHasBeenSet =
false;
287 bool m_arnHasBeenSet =
false;
290 bool m_statusHasBeenSet =
false;
293 bool m_endpointHasBeenSet =
false;
296 bool m_portHasBeenSet =
false;
299 bool m_networkTypeHasBeenSet =
false;
302 bool m_dbInstanceTypeHasBeenSet =
false;
305 bool m_dbStorageTypeHasBeenSet =
false;
307 int m_allocatedStorage{0};
308 bool m_allocatedStorageHasBeenSet =
false;
311 bool m_deploymentTypeHasBeenSet =
false;
314 bool m_vpcSubnetIdsHasBeenSet =
false;
316 bool m_publiclyAccessible{
false};
317 bool m_publiclyAccessibleHasBeenSet =
false;
320 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
323 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
326 bool m_availabilityZoneHasBeenSet =
false;
329 bool m_secondaryAvailabilityZoneHasBeenSet =
false;
331 LogDeliveryConfiguration m_logDeliveryConfiguration;
332 bool m_logDeliveryConfigurationHasBeenSet =
false;
335 bool m_influxAuthParametersSecretArnHasBeenSet =
false;
338 bool m_dbClusterIdHasBeenSet =
false;
341 bool m_instanceModeHasBeenSet =
false;
344 bool m_requestIdHasBeenSet =
false;
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
InstanceMode GetInstanceMode() const
void SetAllocatedStorage(int value)
void SetSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
DeleteDbInstanceResult & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
DeleteDbInstanceResult & WithSecondaryAvailabilityZone(SecondaryAvailabilityZoneT &&value)
DeleteDbInstanceResult & WithInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
DeleteDbInstanceResult & WithNetworkType(NetworkType value)
void SetDbInstanceType(DbInstanceType value)
const Aws::String & GetId() const
DeploymentType GetDeploymentType() const
const Aws::String & GetRequestId() const
DeleteDbInstanceResult & WithDbStorageType(DbStorageType value)
void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
const Aws::String & GetArn() const
DeleteDbInstanceResult & WithDeploymentType(DeploymentType value)
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
const Aws::String & GetSecondaryAvailabilityZone() const
DeleteDbInstanceResult & WithAvailabilityZone(AvailabilityZoneT &&value)
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult()=default
void SetDeploymentType(DeploymentType value)
DeleteDbInstanceResult & WithStatus(Status value)
DeleteDbInstanceResult & AddVpcSubnetIds(VpcSubnetIdsT &&value)
AWS_TIMESTREAMINFLUXDB_API DeleteDbInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNetworkType(NetworkType value)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
const Aws::String & GetInfluxAuthParametersSecretArn() const
const Aws::String & GetName() const
void SetStatus(Status value)
void SetRequestId(RequestIdT &&value)
DeleteDbInstanceResult & WithPubliclyAccessible(bool value)
bool GetPubliclyAccessible() const
DeleteDbInstanceResult & WithAllocatedStorage(int value)
DeleteDbInstanceResult & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
DeleteDbInstanceResult & WithInstanceMode(InstanceMode value)
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
DeleteDbInstanceResult & WithName(NameT &&value)
DeleteDbInstanceResult & WithDbClusterId(DbClusterIdT &&value)
const Aws::String & GetEndpoint() const
DeleteDbInstanceResult & WithPort(int value)
void SetDbClusterId(DbClusterIdT &&value)
DbStorageType GetDbStorageType() const
void SetName(NameT &&value)
void SetEndpoint(EndpointT &&value)
DbInstanceType GetDbInstanceType() const
void SetPubliclyAccessible(bool value)
int GetAllocatedStorage() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
DeleteDbInstanceResult & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetDbClusterId() const
DeleteDbInstanceResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetDbParameterGroupIdentifier() const
NetworkType GetNetworkType() const
void SetDbStorageType(DbStorageType value)
void SetInstanceMode(InstanceMode value)
DeleteDbInstanceResult & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
DeleteDbInstanceResult & WithEndpoint(EndpointT &&value)
DeleteDbInstanceResult & WithDbInstanceType(DbInstanceType value)
const Aws::String & GetAvailabilityZone() const
DeleteDbInstanceResult & WithId(IdT &&value)
DeleteDbInstanceResult & WithArn(ArnT &&value)
DeleteDbInstanceResult & WithVpcSubnetIds(VpcSubnetIdsT &&value)
void SetArn(ArnT &&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