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/timestream-influxdb/model/InstanceMode.h>
27namespace TimestreamInfluxDB
53 template<
typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
55 template<
typename IdT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
78 template<
typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
80 template<
typename ArnT = Aws::String>
90 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
101 template<
typename Endpo
intT = Aws::String>
102 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
103 template<
typename Endpo
intT = Aws::String>
113 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
156 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_portHasBeenSet =
false;
200 bool m_networkTypeHasBeenSet =
false;
203 bool m_dbInstanceTypeHasBeenSet =
false;
206 bool m_dbStorageTypeHasBeenSet =
false;
208 int m_allocatedStorage{0};
209 bool m_allocatedStorageHasBeenSet =
false;
212 bool m_deploymentTypeHasBeenSet =
false;
215 bool m_instanceModeHasBeenSet =
false;
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
InstanceMode GetInstanceMode() const
void SetNetworkType(NetworkType value)
DbInstanceForClusterSummary & WithDbStorageType(DbStorageType value)
DbInstanceType GetDbInstanceType() const
void SetDbInstanceType(DbInstanceType value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NetworkTypeHasBeenSet() const
bool IdHasBeenSet() const
void SetInstanceMode(InstanceMode value)
DbInstanceForClusterSummary & WithId(IdT &&value)
bool DbStorageTypeHasBeenSet() const
DbInstanceForClusterSummary & WithPort(int value)
NetworkType GetNetworkType() const
bool AllocatedStorageHasBeenSet() const
bool StatusHasBeenSet() const
DbInstanceForClusterSummary & WithStatus(Status value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary(Aws::Utils::Json::JsonView jsonValue)
bool DeploymentTypeHasBeenSet() const
DbStorageType GetDbStorageType() const
bool PortHasBeenSet() const
bool NameHasBeenSet() const
void SetDbStorageType(DbStorageType value)
int GetAllocatedStorage() const
DeploymentType GetDeploymentType() const
void SetAllocatedStorage(int value)
bool DbInstanceTypeHasBeenSet() const
const Aws::String & GetId() const
DbInstanceForClusterSummary & WithDeploymentType(DeploymentType value)
void SetStatus(Status value)
void SetDeploymentType(DeploymentType value)
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpoint(EndpointT &&value)
DbInstanceForClusterSummary & WithArn(ArnT &&value)
DbInstanceForClusterSummary & WithEndpoint(EndpointT &&value)
bool ArnHasBeenSet() const
DbInstanceForClusterSummary & WithAllocatedStorage(int value)
DbInstanceForClusterSummary & WithInstanceMode(InstanceMode value)
DbInstanceForClusterSummary & WithDbInstanceType(DbInstanceType value)
DbInstanceForClusterSummary & WithName(NameT &&value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceForClusterSummary()=default
DbInstanceForClusterSummary & WithNetworkType(NetworkType value)
void SetName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetEndpoint() const
bool InstanceModeHasBeenSet() const
bool EndpointHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue