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>
26namespace TimestreamInfluxDB
51 template<
typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
53 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>
88 inline void SetStatus(
Status value) { m_statusHasBeenSet =
true; m_status = value; }
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>
111 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
154 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
170 bool m_idHasBeenSet =
false;
173 bool m_nameHasBeenSet =
false;
176 bool m_arnHasBeenSet =
false;
179 bool m_statusHasBeenSet =
false;
182 bool m_endpointHasBeenSet =
false;
185 bool m_portHasBeenSet =
false;
188 bool m_networkTypeHasBeenSet =
false;
191 bool m_dbInstanceTypeHasBeenSet =
false;
194 bool m_dbStorageTypeHasBeenSet =
false;
196 int m_allocatedStorage{0};
197 bool m_allocatedStorageHasBeenSet =
false;
200 bool m_deploymentTypeHasBeenSet =
false;
DbInstanceSummary & WithDbInstanceType(DbInstanceType value)
DeploymentType GetDeploymentType() const
bool AllocatedStorageHasBeenSet() const
bool DbStorageTypeHasBeenSet() const
void SetArn(ArnT &&value)
bool DeploymentTypeHasBeenSet() const
bool ArnHasBeenSet() const
bool DbInstanceTypeHasBeenSet() const
const Aws::String & GetEndpoint() const
void SetName(NameT &&value)
DbInstanceSummary & WithPort(int value)
const Aws::String & GetId() const
DbInstanceSummary & WithNetworkType(NetworkType value)
bool StatusHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary()=default
bool IdHasBeenSet() const
DbInstanceSummary & WithId(IdT &&value)
DbInstanceType GetDbInstanceType() const
bool EndpointHasBeenSet() const
void SetEndpoint(EndpointT &&value)
DbInstanceSummary & WithArn(ArnT &&value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetDeploymentType(DeploymentType value)
int GetAllocatedStorage() const
DbInstanceSummary & WithDbStorageType(DbStorageType value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
bool NetworkTypeHasBeenSet() const
DbStorageType GetDbStorageType() const
void SetDbInstanceType(DbInstanceType value)
void SetAllocatedStorage(int value)
DbInstanceSummary & WithEndpoint(EndpointT &&value)
DbInstanceSummary & WithStatus(Status value)
DbInstanceSummary & WithName(NameT &&value)
const Aws::String & GetArn() const
bool PortHasBeenSet() const
const Aws::String & GetName() const
DbInstanceSummary & WithDeploymentType(DeploymentType value)
DbInstanceSummary & WithAllocatedStorage(int value)
void SetStatus(Status value)
NetworkType GetNetworkType() const
void SetDbStorageType(DbStorageType value)
void SetNetworkType(NetworkType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue