7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/CapacityReservationStatus.h>
10#include <aws/athena/model/CapacityAllocation.h>
11#include <aws/core/utils/DateTime.h>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 inline void SetTargetDpus(
int value) { m_targetDpusHasBeenSet =
true; m_targetDpus = value; }
87 inline void SetAllocatedDpus(
int value) { m_allocatedDpusHasBeenSet =
true; m_allocatedDpus = value; }
127 bool m_nameHasBeenSet =
false;
130 bool m_statusHasBeenSet =
false;
133 bool m_targetDpusHasBeenSet =
false;
136 bool m_allocatedDpusHasBeenSet =
false;
139 bool m_lastAllocationHasBeenSet =
false;
142 bool m_lastSuccessfulAllocationTimeHasBeenSet =
false;
145 bool m_creationTimeHasBeenSet =
false;
int GetTargetDpus() const
CapacityReservation & WithAllocatedDpus(int value)
void SetStatus(CapacityReservationStatus &&value)
void SetStatus(const CapacityReservationStatus &value)
const CapacityReservationStatus & GetStatus() const
bool CreationTimeHasBeenSet() const
AWS_ATHENA_API CapacityReservation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastSuccessfulAllocationTime(Aws::Utils::DateTime &&value)
CapacityReservation & WithStatus(const CapacityReservationStatus &value)
int GetAllocatedDpus() const
CapacityReservation & WithLastSuccessfulAllocationTime(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
bool LastSuccessfulAllocationTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllocatedDpus(int value)
void SetName(const Aws::String &value)
CapacityReservation & WithStatus(CapacityReservationStatus &&value)
bool TargetDpusHasBeenSet() const
const CapacityAllocation & GetLastAllocation() const
void SetLastSuccessfulAllocationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetCreationTime(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
CapacityReservation & WithTargetDpus(int value)
void SetLastAllocation(const CapacityAllocation &value)
CapacityReservation & WithName(const Aws::String &value)
void SetTargetDpus(int value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_ATHENA_API CapacityReservation(Aws::Utils::Json::JsonView jsonValue)
CapacityReservation & WithName(const char *value)
CapacityReservation & WithLastSuccessfulAllocationTime(const Aws::Utils::DateTime &value)
bool AllocatedDpusHasBeenSet() const
void SetName(const char *value)
void SetName(Aws::String &&value)
CapacityReservation & WithLastAllocation(const CapacityAllocation &value)
const Aws::Utils::DateTime & GetLastSuccessfulAllocationTime() const
CapacityReservation & WithName(Aws::String &&value)
CapacityReservation & WithLastAllocation(CapacityAllocation &&value)
CapacityReservation & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastAllocation(CapacityAllocation &&value)
CapacityReservation & WithCreationTime(const Aws::Utils::DateTime &value)
bool LastAllocationHasBeenSet() const
AWS_ATHENA_API CapacityReservation()
CapacityReservationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue