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/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ListingStatus.h>
13#include <aws/ec2/model/InstanceCount.h>
14#include <aws/ec2/model/PriceSchedule.h>
15#include <aws/ec2/model/Tag.h>
59 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
113 inline void SetReservedInstancesId(
const char* value) { m_reservedInstancesIdHasBeenSet =
true; m_reservedInstancesId.assign(value); }
154 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
188 bool m_clientTokenHasBeenSet =
false;
191 bool m_createDateHasBeenSet =
false;
194 bool m_instanceCountsHasBeenSet =
false;
197 bool m_priceSchedulesHasBeenSet =
false;
200 bool m_reservedInstancesIdHasBeenSet =
false;
203 bool m_reservedInstancesListingIdHasBeenSet =
false;
206 bool m_statusHasBeenSet =
false;
209 bool m_statusMessageHasBeenSet =
false;
212 bool m_tagsHasBeenSet =
false;
215 bool m_updateDateHasBeenSet =
false;
ReservedInstancesListing & WithStatus(ListingStatus &&value)
ReservedInstancesListing & AddPriceSchedules(const PriceSchedule &value)
const ListingStatus & GetStatus() const
bool StatusMessageHasBeenSet() const
ReservedInstancesListing & WithStatusMessage(const Aws::String &value)
AWS_EC2_API ReservedInstancesListing()
ReservedInstancesListing & AddInstanceCounts(const InstanceCount &value)
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::Vector< PriceSchedule > & GetPriceSchedules() const
ReservedInstancesListing & WithUpdateDate(const Aws::Utils::DateTime &value)
bool PriceSchedulesHasBeenSet() const
ReservedInstancesListing & WithClientToken(Aws::String &&value)
void SetInstanceCounts(Aws::Vector< InstanceCount > &&value)
ReservedInstancesListing & WithStatusMessage(const char *value)
void SetStatusMessage(const char *value)
ReservedInstancesListing & WithInstanceCounts(Aws::Vector< InstanceCount > &&value)
void SetStatus(const ListingStatus &value)
void SetPriceSchedules(Aws::Vector< PriceSchedule > &&value)
ReservedInstancesListing & AddTags(Tag &&value)
void SetStatusMessage(Aws::String &&value)
ReservedInstancesListing & AddPriceSchedules(PriceSchedule &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCreateDate(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Vector< Tag > &value)
ReservedInstancesListing & WithPriceSchedules(const Aws::Vector< PriceSchedule > &value)
bool UpdateDateHasBeenSet() const
ReservedInstancesListing & WithTags(Aws::Vector< Tag > &&value)
bool ReservedInstancesIdHasBeenSet() const
const Aws::Vector< InstanceCount > & GetInstanceCounts() const
void SetInstanceCounts(const Aws::Vector< InstanceCount > &value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
void SetStatus(ListingStatus &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ReservedInstancesListingIdHasBeenSet() const
ReservedInstancesListing & WithReservedInstancesId(Aws::String &&value)
const Aws::String & GetClientToken() const
ReservedInstancesListing & WithPriceSchedules(Aws::Vector< PriceSchedule > &&value)
void SetClientToken(const char *value)
bool ClientTokenHasBeenSet() const
AWS_EC2_API ReservedInstancesListing & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CreateDateHasBeenSet() const
void SetUpdateDate(Aws::Utils::DateTime &&value)
ReservedInstancesListing & AddTags(const Tag &value)
void SetReservedInstancesId(Aws::String &&value)
ReservedInstancesListing & WithReservedInstancesId(const char *value)
ReservedInstancesListing & WithCreateDate(const Aws::Utils::DateTime &value)
const Aws::String & GetReservedInstancesId() const
void SetTags(Aws::Vector< Tag > &&value)
ReservedInstancesListing & WithCreateDate(Aws::Utils::DateTime &&value)
void SetClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetReservedInstancesListingId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetStatusMessage() const
bool StatusHasBeenSet() const
AWS_EC2_API ReservedInstancesListing(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatusMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdateDate() const
void SetCreateDate(Aws::Utils::DateTime &&value)
ReservedInstancesListing & WithUpdateDate(Aws::Utils::DateTime &&value)
ReservedInstancesListing & WithClientToken(const Aws::String &value)
void SetPriceSchedules(const Aws::Vector< PriceSchedule > &value)
ReservedInstancesListing & WithStatusMessage(Aws::String &&value)
void SetReservedInstancesId(const char *value)
ReservedInstancesListing & WithReservedInstancesId(const Aws::String &value)
ReservedInstancesListing & WithTags(const Aws::Vector< Tag > &value)
ReservedInstancesListing & WithInstanceCounts(const Aws::Vector< InstanceCount > &value)
void SetReservedInstancesListingId(const char *value)
void SetReservedInstancesListingId(const Aws::String &value)
bool TagsHasBeenSet() const
ReservedInstancesListing & WithReservedInstancesListingId(Aws::String &&value)
ReservedInstancesListing & AddInstanceCounts(InstanceCount &&value)
bool InstanceCountsHasBeenSet() const
const Aws::String & GetReservedInstancesListingId() const
ReservedInstancesListing & WithReservedInstancesListingId(const Aws::String &value)
ReservedInstancesListing & WithClientToken(const char *value)
void SetReservedInstancesId(const Aws::String &value)
ReservedInstancesListing & WithStatus(const ListingStatus &value)
ReservedInstancesListing & WithReservedInstancesListingId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream