7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/CapacityReservationBillingRequestStatus.h>
12#include <aws/ec2/model/CapacityReservationInfo.h>
54 inline void SetCapacityReservationId(
const char* value) { m_capacityReservationIdHasBeenSet =
true; m_capacityReservationId.assign(value); }
68 inline void SetRequestedBy(
const char* value) { m_requestedByHasBeenSet =
true; m_requestedBy.assign(value); }
124 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
144 bool m_capacityReservationIdHasBeenSet =
false;
147 bool m_requestedByHasBeenSet =
false;
150 bool m_unusedReservationBillingOwnerIdHasBeenSet =
false;
153 bool m_lastUpdateTimeHasBeenSet =
false;
156 bool m_statusHasBeenSet =
false;
159 bool m_statusMessageHasBeenSet =
false;
162 bool m_capacityReservationInfoHasBeenSet =
false;
void SetCapacityReservationId(const char *value)
void SetRequestedBy(const Aws::String &value)
AWS_EC2_API CapacityReservationBillingRequest()
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
void SetCapacityReservationInfo(CapacityReservationInfo &&value)
void SetStatus(CapacityReservationBillingRequestStatus &&value)
AWS_EC2_API CapacityReservationBillingRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CapacityReservationIdHasBeenSet() const
void SetRequestedBy(Aws::String &&value)
CapacityReservationBillingRequest & WithUnusedReservationBillingOwnerId(const Aws::String &value)
CapacityReservationBillingRequest & WithCapacityReservationId(const Aws::String &value)
const Aws::String & GetRequestedBy() const
CapacityReservationBillingRequest & WithStatusMessage(const char *value)
CapacityReservationBillingRequest & WithRequestedBy(const Aws::String &value)
AWS_EC2_API CapacityReservationBillingRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationBillingRequest & WithCapacityReservationId(const char *value)
const CapacityReservationBillingRequestStatus & GetStatus() const
bool LastUpdateTimeHasBeenSet() const
CapacityReservationBillingRequest & WithLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatusMessage() const
CapacityReservationBillingRequest & WithRequestedBy(const char *value)
CapacityReservationBillingRequest & WithCapacityReservationInfo(const CapacityReservationInfo &value)
void SetUnusedReservationBillingOwnerId(const Aws::String &value)
CapacityReservationBillingRequest & WithStatus(CapacityReservationBillingRequestStatus &&value)
void SetStatus(const CapacityReservationBillingRequestStatus &value)
void SetRequestedBy(const char *value)
const Aws::String & GetUnusedReservationBillingOwnerId() const
void SetStatusMessage(const Aws::String &value)
CapacityReservationBillingRequest & WithUnusedReservationBillingOwnerId(Aws::String &&value)
CapacityReservationBillingRequest & WithCapacityReservationId(Aws::String &&value)
void SetUnusedReservationBillingOwnerId(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
bool UnusedReservationBillingOwnerIdHasBeenSet() const
void SetCapacityReservationInfo(const CapacityReservationInfo &value)
const CapacityReservationInfo & GetCapacityReservationInfo() const
const Aws::String & GetCapacityReservationId() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
bool StatusHasBeenSet() const
void SetCapacityReservationId(const Aws::String &value)
bool StatusMessageHasBeenSet() const
void SetCapacityReservationId(Aws::String &&value)
CapacityReservationBillingRequest & WithLastUpdateTime(const Aws::Utils::DateTime &value)
CapacityReservationBillingRequest & WithStatus(const CapacityReservationBillingRequestStatus &value)
void SetUnusedReservationBillingOwnerId(const char *value)
CapacityReservationBillingRequest & WithRequestedBy(Aws::String &&value)
CapacityReservationBillingRequest & WithStatusMessage(Aws::String &&value)
CapacityReservationBillingRequest & WithCapacityReservationInfo(CapacityReservationInfo &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatusMessage(const char *value)
bool RequestedByHasBeenSet() const
CapacityReservationBillingRequest & WithStatusMessage(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CapacityReservationBillingRequest & WithUnusedReservationBillingOwnerId(const char *value)
bool CapacityReservationInfoHasBeenSet() const
CapacityReservationBillingRequestStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream