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/DbInstanceType.h>
11#include <aws/timestream-influxdb/model/DbStorageType.h>
12#include <aws/timestream-influxdb/model/DeploymentType.h>
25namespace TimestreamInfluxDB
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
81 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
82 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
94 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
95 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
109 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
121 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
156 inline void SetAllocatedStorage(
int value) { m_allocatedStorageHasBeenSet =
true; m_allocatedStorage = value; }
174 bool m_idHasBeenSet =
false;
177 bool m_nameHasBeenSet =
false;
180 bool m_arnHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
186 bool m_endpointHasBeenSet =
false;
189 bool m_portHasBeenSet =
false;
192 bool m_dbInstanceTypeHasBeenSet =
false;
195 bool m_dbStorageTypeHasBeenSet =
false;
197 int m_allocatedStorage;
198 bool m_allocatedStorageHasBeenSet =
false;
201 bool m_deploymentTypeHasBeenSet =
false;
DbInstanceSummary & WithEndpoint(Aws::String &&value)
void SetDeploymentType(DeploymentType &&value)
bool AllocatedStorageHasBeenSet() const
bool DbStorageTypeHasBeenSet() const
DbInstanceSummary & WithStatus(const Status &value)
void SetDbStorageType(const DbStorageType &value)
DbInstanceSummary & WithId(const Aws::String &value)
DbInstanceSummary & WithArn(Aws::String &&value)
bool DeploymentTypeHasBeenSet() const
DbInstanceSummary & WithId(const char *value)
const DeploymentType & GetDeploymentType() const
DbInstanceSummary & WithName(const char *value)
bool ArnHasBeenSet() const
const DbStorageType & GetDbStorageType() const
bool DbInstanceTypeHasBeenSet() const
const Aws::String & GetEndpoint() const
DbInstanceSummary & WithPort(int value)
const Aws::String & GetId() const
void SetName(Aws::String &&value)
void SetStatus(const Status &value)
bool StatusHasBeenSet() const
AWS_TIMESTREAMINFLUXDB_API Aws::Utils::Json::JsonValue Jsonize() const
DbInstanceSummary & WithEndpoint(const char *value)
void SetName(const Aws::String &value)
bool IdHasBeenSet() const
void SetArn(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
DbInstanceSummary & WithArn(const char *value)
DbInstanceSummary & WithName(const Aws::String &value)
bool EndpointHasBeenSet() const
DbInstanceSummary & WithDbStorageType(const DbStorageType &value)
void SetEndpoint(const char *value)
const Status & GetStatus() const
DbInstanceSummary & WithId(Aws::String &&value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DbInstanceSummary & WithStatus(Status &&value)
const DbInstanceType & GetDbInstanceType() const
bool NameHasBeenSet() const
void SetId(const char *value)
int GetAllocatedStorage() const
void SetDeploymentType(const DeploymentType &value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
void SetAllocatedStorage(int value)
void SetDbInstanceType(const DbInstanceType &value)
void SetDbInstanceType(DbInstanceType &&value)
void SetEndpoint(Aws::String &&value)
DbInstanceSummary & WithDeploymentType(const DeploymentType &value)
DbInstanceSummary & WithDbStorageType(DbStorageType &&value)
DbInstanceSummary & WithEndpoint(const Aws::String &value)
void SetId(const Aws::String &value)
const Aws::String & GetArn() const
DbInstanceSummary & WithDbInstanceType(const DbInstanceType &value)
void SetDbStorageType(DbStorageType &&value)
bool PortHasBeenSet() const
const Aws::String & GetName() const
void SetName(const char *value)
DbInstanceSummary & WithArn(const Aws::String &value)
DbInstanceSummary & WithName(Aws::String &&value)
DbInstanceSummary & WithAllocatedStorage(int value)
void SetStatus(Status &&value)
AWS_TIMESTREAMINFLUXDB_API DbInstanceSummary()
DbInstanceSummary & WithDbInstanceType(DbInstanceType &&value)
void SetId(Aws::String &&value)
void SetArn(Aws::String &&value)
DbInstanceSummary & WithDeploymentType(DeploymentType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue