7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10#include <aws/redshift-serverless/model/ReservationOffering.h>
21namespace RedshiftServerless {
46 m_capacityHasBeenSet =
true;
62 template <
typename EndDateT = Aws::Utils::DateTime>
64 m_endDateHasBeenSet =
true;
65 m_endDate = std::forward<EndDateT>(value);
67 template <
typename EndDateT = Aws::Utils::DateTime>
81 template <
typename OfferingT = ReservationOffering>
83 m_offeringHasBeenSet =
true;
84 m_offering = std::forward<OfferingT>(value);
86 template <
typename OfferingT = ReservationOffering>
100 template <
typename ReservationArnT = Aws::String>
102 m_reservationArnHasBeenSet =
true;
103 m_reservationArn = std::forward<ReservationArnT>(value);
105 template <
typename ReservationArnT = Aws::String>
118 template <
typename ReservationIdT = Aws::String>
120 m_reservationIdHasBeenSet =
true;
121 m_reservationId = std::forward<ReservationIdT>(value);
123 template <
typename ReservationIdT = Aws::String>
137 template <
typename StartDateT = Aws::Utils::DateTime>
139 m_startDateHasBeenSet =
true;
140 m_startDate = std::forward<StartDateT>(value);
142 template <
typename StartDateT = Aws::Utils::DateTime>
158 template <
typename StatusT = Aws::String>
160 m_statusHasBeenSet =
true;
161 m_status = std::forward<StatusT>(value);
163 template <
typename StatusT = Aws::String>
174 ReservationOffering m_offering;
183 bool m_capacityHasBeenSet =
false;
184 bool m_endDateHasBeenSet =
false;
185 bool m_offeringHasBeenSet =
false;
186 bool m_reservationArnHasBeenSet =
false;
187 bool m_reservationIdHasBeenSet =
false;
188 bool m_startDateHasBeenSet =
false;
189 bool m_statusHasBeenSet =
false;
Reservation & WithCapacity(int value)
Reservation & WithReservationArn(ReservationArnT &&value)
bool ReservationIdHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Reservation()=default
Reservation & WithStatus(StatusT &&value)
const ReservationOffering & GetOffering() const
void SetReservationId(ReservationIdT &&value)
Reservation & WithEndDate(EndDateT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatus() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetStartDate() const
void SetStatus(StatusT &&value)
void SetOffering(OfferingT &&value)
const Aws::String & GetReservationArn() const
AWS_REDSHIFTSERVERLESS_API Reservation & operator=(Aws::Utils::Json::JsonView jsonValue)
Reservation & WithReservationId(ReservationIdT &&value)
const Aws::String & GetReservationId() const
bool CapacityHasBeenSet() const
Reservation & WithStartDate(StartDateT &&value)
void SetStartDate(StartDateT &&value)
const Aws::Utils::DateTime & GetEndDate() const
bool EndDateHasBeenSet() const
bool StartDateHasBeenSet() const
Reservation & WithOffering(OfferingT &&value)
void SetReservationArn(ReservationArnT &&value)
AWS_REDSHIFTSERVERLESS_API Reservation(Aws::Utils::Json::JsonView jsonValue)
bool OfferingHasBeenSet() const
bool ReservationArnHasBeenSet() const
void SetEndDate(EndDateT &&value)
void SetCapacity(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue