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>
26namespace TimestreamInfluxDB
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
76 template<
typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
78 template<
typename ArnT = Aws::String>
99 template<
typename Endpo
intT = Aws::String>
100 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
101 template<
typename Endpo
intT = Aws::String>
112 template<
typename ReaderEndpo
intT = Aws::String>
113 void SetReaderEndpoint(ReaderEndpointT&& value) { m_readerEndpointHasBeenSet =
true; m_readerEndpoint = std::forward<ReaderEndpointT>(value); }
114 template<
typename ReaderEndpo
intT = Aws::String>
124 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
176 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
182 bool m_idHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
188 bool m_arnHasBeenSet =
false;
191 bool m_statusHasBeenSet =
false;
194 bool m_endpointHasBeenSet =
false;
197 bool m_readerEndpointHasBeenSet =
false;
200 bool m_portHasBeenSet =
false;
203 bool m_deploymentTypeHasBeenSet =
false;
206 bool m_dbInstanceTypeHasBeenSet =
false;
209 bool m_networkTypeHasBeenSet =
false;
212 bool m_dbStorageTypeHasBeenSet =
false;
214 int m_allocatedStorage{0};
215 bool m_allocatedStorageHasBeenSet =
false;
void SetNetworkType(NetworkType value)
const Aws::String & GetId() const
bool NetworkTypeHasBeenSet() const
DbClusterSummary & WithStatus(ClusterStatus value)
void SetDeploymentType(ClusterDeploymentType value)
DbClusterSummary & WithEndpoint(EndpointT &&value)
void SetEndpoint(EndpointT &&value)
bool NameHasBeenSet() const
bool AllocatedStorageHasBeenSet() const
void SetStatus(ClusterStatus value)
DbClusterSummary & WithDeploymentType(ClusterDeploymentType value)
ClusterDeploymentType GetDeploymentType() const
const Aws::String & GetArn() const
void SetName(NameT &&value)
void SetArn(ArnT &&value)
void SetAllocatedStorage(int value)
const Aws::String & GetEndpoint() const
bool ArnHasBeenSet() const
void SetReaderEndpoint(ReaderEndpointT &&value)
DbClusterSummary & WithReaderEndpoint(ReaderEndpointT &&value)
DbClusterSummary & WithDbStorageType(DbStorageType value)
DbClusterSummary & WithDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
bool DbStorageTypeHasBeenSet() const
bool ReaderEndpointHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API DbClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DbClusterSummary & WithNetworkType(NetworkType value)
ClusterStatus GetStatus() const
DbInstanceType GetDbInstanceType() const
void SetDbInstanceType(DbInstanceType value)
bool EndpointHasBeenSet() const
bool StatusHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API DbClusterSummary()=default
bool DbInstanceTypeHasBeenSet() const
void SetDbStorageType(DbStorageType value)
DbClusterSummary & WithArn(ArnT &&value)
DbClusterSummary & WithName(NameT &&value)
bool DeploymentTypeHasBeenSet() const
bool PortHasBeenSet() const
DbClusterSummary & WithPort(int value)
const Aws::String & GetReaderEndpoint() const
const Aws::String & GetName() const
NetworkType GetNetworkType() const
DbClusterSummary & WithId(IdT &&value)
DbStorageType GetDbStorageType() const
int GetAllocatedStorage() const
bool IdHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API DbClusterSummary(Aws::Utils::Json::JsonView jsonValue)
DbClusterSummary & WithAllocatedStorage(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue