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/ReservedInstancesModificationResponse.h>
13#include <aws/ec2/model/ReservedInstancesId.h>
57 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
138 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
152 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
172 bool m_clientTokenHasBeenSet =
false;
175 bool m_createDateHasBeenSet =
false;
178 bool m_effectiveDateHasBeenSet =
false;
181 bool m_modificationResultsHasBeenSet =
false;
184 bool m_reservedInstancesIdsHasBeenSet =
false;
187 bool m_reservedInstancesModificationIdHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
193 bool m_statusMessageHasBeenSet =
false;
196 bool m_updateDateHasBeenSet =
false;
ReservedInstancesModification & WithReservedInstancesModificationId(const Aws::String &value)
ReservedInstancesModification & WithReservedInstancesIds(const Aws::Vector< ReservedInstancesId > &value)
const Aws::String & GetClientToken() const
const Aws::String & GetStatusMessage() const
ReservedInstancesModification & WithReservedInstancesIds(Aws::Vector< ReservedInstancesId > &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReservedInstancesModification & WithClientToken(Aws::String &&value)
const Aws::Vector< ReservedInstancesId > & GetReservedInstancesIds() const
bool ReservedInstancesIdsHasBeenSet() const
void SetCreateDate(const Aws::Utils::DateTime &value)
ReservedInstancesModification & WithUpdateDate(Aws::Utils::DateTime &&value)
bool ReservedInstancesModificationIdHasBeenSet() const
ReservedInstancesModification & AddModificationResults(ReservedInstancesModificationResponse &&value)
void SetStatus(Aws::String &&value)
ReservedInstancesModification & WithStatusMessage(const char *value)
ReservedInstancesModification & AddReservedInstancesIds(const ReservedInstancesId &value)
bool StatusMessageHasBeenSet() const
void SetClientToken(const Aws::String &value)
AWS_EC2_API ReservedInstancesModification()
ReservedInstancesModification & WithReservedInstancesModificationId(const char *value)
bool UpdateDateHasBeenSet() const
void SetUpdateDate(Aws::Utils::DateTime &&value)
void SetEffectiveDate(const Aws::Utils::DateTime &value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const char *value)
void SetStatusMessage(const Aws::String &value)
void SetReservedInstancesIds(Aws::Vector< ReservedInstancesId > &&value)
ReservedInstancesModification & WithModificationResults(Aws::Vector< ReservedInstancesModificationResponse > &&value)
AWS_EC2_API ReservedInstancesModification(const Aws::Utils::Xml::XmlNode &xmlNode)
ReservedInstancesModification & WithUpdateDate(const Aws::Utils::DateTime &value)
void SetUpdateDate(const Aws::Utils::DateTime &value)
const Aws::String & GetReservedInstancesModificationId() const
void SetReservedInstancesModificationId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateDate() const
void SetReservedInstancesIds(const Aws::Vector< ReservedInstancesId > &value)
bool EffectiveDateHasBeenSet() const
ReservedInstancesModification & WithStatus(Aws::String &&value)
ReservedInstancesModification & WithEffectiveDate(Aws::Utils::DateTime &&value)
ReservedInstancesModification & WithStatus(const Aws::String &value)
bool StatusHasBeenSet() const
ReservedInstancesModification & WithStatusMessage(const Aws::String &value)
ReservedInstancesModification & WithStatus(const char *value)
ReservedInstancesModification & AddReservedInstancesIds(ReservedInstancesId &&value)
ReservedInstancesModification & WithClientToken(const char *value)
ReservedInstancesModification & WithReservedInstancesModificationId(Aws::String &&value)
void SetEffectiveDate(Aws::Utils::DateTime &&value)
void SetModificationResults(Aws::Vector< ReservedInstancesModificationResponse > &&value)
ReservedInstancesModification & WithCreateDate(const Aws::Utils::DateTime &value)
ReservedInstancesModification & WithEffectiveDate(const Aws::Utils::DateTime &value)
ReservedInstancesModification & WithCreateDate(Aws::Utils::DateTime &&value)
void SetReservedInstancesModificationId(const Aws::String &value)
ReservedInstancesModification & AddModificationResults(const ReservedInstancesModificationResponse &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatusMessage(const char *value)
const Aws::Vector< ReservedInstancesModificationResponse > & GetModificationResults() const
ReservedInstancesModification & WithClientToken(const Aws::String &value)
void SetStatus(const char *value)
bool CreateDateHasBeenSet() const
void SetModificationResults(const Aws::Vector< ReservedInstancesModificationResponse > &value)
const Aws::String & GetStatus() const
const Aws::Utils::DateTime & GetEffectiveDate() const
const Aws::Utils::DateTime & GetCreateDate() const
bool ModificationResultsHasBeenSet() const
AWS_EC2_API ReservedInstancesModification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReservedInstancesModificationId(const char *value)
void SetStatus(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
ReservedInstancesModification & WithModificationResults(const Aws::Vector< ReservedInstancesModificationResponse > &value)
void SetClientToken(Aws::String &&value)
ReservedInstancesModification & WithStatusMessage(Aws::String &&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