7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/timestream-influxdb/model/ClusterStatus.h>
10#include <aws/timestream-influxdb/model/ClusterDeploymentType.h>
11#include <aws/timestream-influxdb/model/DbInstanceType.h>
12#include <aws/timestream-influxdb/model/NetworkType.h>
13#include <aws/timestream-influxdb/model/DbStorageType.h>
14#include <aws/timestream-influxdb/model/LogDeliveryConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/timestream-influxdb/model/FailoverMode.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>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
70 template<
typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
72 template<
typename ArnT = Aws::String>
91 template<
typename Endpo
intT = Aws::String>
92 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
93 template<
typename Endpo
intT = Aws::String>
103 template<
typename ReaderEndpo
intT = Aws::String>
104 void SetReaderEndpoint(ReaderEndpointT&& value) { m_readerEndpointHasBeenSet =
true; m_readerEndpoint = std::forward<ReaderEndpointT>(value); }
105 template<
typename ReaderEndpo
intT = Aws::String>
114 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
161 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
171 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
180 template<
typename DbParameterGroupIdentifierT = Aws::String>
181 void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT&& value) { m_dbParameterGroupIdentifierHasBeenSet =
true; m_dbParameterGroupIdentifier = std::forward<DbParameterGroupIdentifierT>(value); }
182 template<
typename DbParameterGroupIdentifierT = Aws::String>
192 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
193 void SetLogDeliveryConfiguration(LogDeliveryConfigurationT&& value) { m_logDeliveryConfigurationHasBeenSet =
true; m_logDeliveryConfiguration = std::forward<LogDeliveryConfigurationT>(value); }
194 template<
typename LogDeliveryConfigurationT = LogDeliveryConfiguration>
206 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
207 void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT&& value) { m_influxAuthParametersSecretArnHasBeenSet =
true; m_influxAuthParametersSecretArn = std::forward<InfluxAuthParametersSecretArnT>(value); }
208 template<
typename InfluxAuthParametersSecretArnT = Aws::String>
217 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
218 void SetVpcSubnetIds(VpcSubnetIdsT&& value) { m_vpcSubnetIdsHasBeenSet =
true; m_vpcSubnetIds = std::forward<VpcSubnetIdsT>(value); }
219 template<
typename VpcSubnetIdsT = Aws::Vector<Aws::String>>
221 template<
typename VpcSubnetIdsT = Aws::String>
230 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
231 void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT&& value) { m_vpcSecurityGroupIdsHasBeenSet =
true; m_vpcSecurityGroupIds = std::forward<VpcSecurityGroupIdsT>(value); }
232 template<
typename VpcSecurityGroupIdsT = Aws::Vector<Aws::String>>
234 template<
typename VpcSecurityGroupIdsT = Aws::String>
250 template<
typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
252 template<
typename RequestIdT = Aws::String>
258 bool m_idHasBeenSet =
false;
261 bool m_nameHasBeenSet =
false;
264 bool m_arnHasBeenSet =
false;
267 bool m_statusHasBeenSet =
false;
270 bool m_endpointHasBeenSet =
false;
273 bool m_readerEndpointHasBeenSet =
false;
276 bool m_portHasBeenSet =
false;
279 bool m_deploymentTypeHasBeenSet =
false;
282 bool m_dbInstanceTypeHasBeenSet =
false;
285 bool m_networkTypeHasBeenSet =
false;
288 bool m_dbStorageTypeHasBeenSet =
false;
290 int m_allocatedStorage{0};
291 bool m_allocatedStorageHasBeenSet =
false;
293 bool m_publiclyAccessible{
false};
294 bool m_publiclyAccessibleHasBeenSet =
false;
297 bool m_dbParameterGroupIdentifierHasBeenSet =
false;
299 LogDeliveryConfiguration m_logDeliveryConfiguration;
300 bool m_logDeliveryConfigurationHasBeenSet =
false;
303 bool m_influxAuthParametersSecretArnHasBeenSet =
false;
306 bool m_vpcSubnetIdsHasBeenSet =
false;
309 bool m_vpcSecurityGroupIdsHasBeenSet =
false;
312 bool m_failoverModeHasBeenSet =
false;
315 bool m_requestIdHasBeenSet =
false;
AWS_TIMESTREAMINFLUXDB_API GetDbClusterResult()=default
const Aws::String & GetArn() const
const Aws::String & GetReaderEndpoint() const
GetDbClusterResult & WithDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
GetDbClusterResult & WithPubliclyAccessible(bool value)
GetDbClusterResult & WithPort(int value)
void SetVpcSubnetIds(VpcSubnetIdsT &&value)
const Aws::String & GetRequestId() const
GetDbClusterResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetName() const
GetDbClusterResult & WithVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
GetDbClusterResult & WithNetworkType(NetworkType value)
const Aws::String & GetEndpoint() const
const LogDeliveryConfiguration & GetLogDeliveryConfiguration() const
const Aws::Vector< Aws::String > & GetVpcSecurityGroupIds() const
GetDbClusterResult & AddVpcSubnetIds(VpcSubnetIdsT &&value)
int GetAllocatedStorage() const
void SetVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
GetDbClusterResult & WithStatus(ClusterStatus value)
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
AWS_TIMESTREAMINFLUXDB_API GetDbClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReaderEndpoint(ReaderEndpointT &&value)
GetDbClusterResult & WithEndpoint(EndpointT &&value)
void SetLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
void SetAllocatedStorage(int value)
const Aws::Vector< Aws::String > & GetVpcSubnetIds() const
void SetFailoverMode(FailoverMode value)
ClusterDeploymentType GetDeploymentType() const
FailoverMode GetFailoverMode() const
const Aws::String & GetDbParameterGroupIdentifier() const
GetDbClusterResult & WithDbStorageType(DbStorageType value)
ClusterStatus GetStatus() const
GetDbClusterResult & WithFailoverMode(FailoverMode value)
void SetDeploymentType(ClusterDeploymentType value)
void SetNetworkType(NetworkType value)
void SetInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
GetDbClusterResult & WithName(NameT &&value)
bool GetPubliclyAccessible() const
GetDbClusterResult & WithDbInstanceType(DbInstanceType value)
void SetEndpoint(EndpointT &&value)
AWS_TIMESTREAMINFLUXDB_API GetDbClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NetworkType GetNetworkType() const
GetDbClusterResult & WithAllocatedStorage(int value)
GetDbClusterResult & AddVpcSecurityGroupIds(VpcSecurityGroupIdsT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetInfluxAuthParametersSecretArn() const
void SetStatus(ClusterStatus value)
GetDbClusterResult & WithInfluxAuthParametersSecretArn(InfluxAuthParametersSecretArnT &&value)
GetDbClusterResult & WithArn(ArnT &&value)
void SetDbParameterGroupIdentifier(DbParameterGroupIdentifierT &&value)
DbStorageType GetDbStorageType() const
const Aws::String & GetId() const
DbInstanceType GetDbInstanceType() const
GetDbClusterResult & WithDeploymentType(ClusterDeploymentType value)
GetDbClusterResult & WithLogDeliveryConfiguration(LogDeliveryConfigurationT &&value)
void SetDbInstanceType(DbInstanceType value)
GetDbClusterResult & WithId(IdT &&value)
GetDbClusterResult & WithReaderEndpoint(ReaderEndpointT &&value)
GetDbClusterResult & WithVpcSubnetIds(VpcSubnetIdsT &&value)
void SetPubliclyAccessible(bool value)
void SetDbStorageType(DbStorageType 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