7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/EndDateType.h>
12#include <aws/ec2/model/InstanceMatchCriteria.h>
50 inline void SetCapacityReservationId(
const char* value) { m_capacityReservationIdHasBeenSet =
true; m_capacityReservationId.assign(value); }
64 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
114 inline void SetAccept(
bool value) { m_acceptHasBeenSet =
true; m_accept = value; }
127 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
139 inline void SetAdditionalInfo(
const char* value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo.assign(value); }
166 bool m_capacityReservationIdHasBeenSet =
false;
169 bool m_instanceCountHasBeenSet =
false;
172 bool m_endDateHasBeenSet =
false;
175 bool m_endDateTypeHasBeenSet =
false;
178 bool m_acceptHasBeenSet =
false;
181 bool m_dryRunHasBeenSet =
false;
184 bool m_additionalInfoHasBeenSet =
false;
187 bool m_instanceMatchCriteriaHasBeenSet =
false;
const EndDateType & GetEndDateType() const
bool InstanceCountHasBeenSet() const
ModifyCapacityReservationRequest & WithCapacityReservationId(const Aws::String &value)
const Aws::String & GetAdditionalInfo() const
void SetEndDate(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
void SetCapacityReservationId(Aws::String &&value)
ModifyCapacityReservationRequest & WithAdditionalInfo(Aws::String &&value)
ModifyCapacityReservationRequest & WithCapacityReservationId(const char *value)
const Aws::String & GetCapacityReservationId() const
bool AcceptHasBeenSet() const
ModifyCapacityReservationRequest & WithInstanceMatchCriteria(const InstanceMatchCriteria &value)
ModifyCapacityReservationRequest & WithEndDate(const Aws::Utils::DateTime &value)
bool EndDateHasBeenSet() const
ModifyCapacityReservationRequest & WithAdditionalInfo(const Aws::String &value)
ModifyCapacityReservationRequest & WithAdditionalInfo(const char *value)
bool DryRunHasBeenSet() const
void SetEndDateType(const EndDateType &value)
ModifyCapacityReservationRequest & WithInstanceCount(int value)
void SetInstanceMatchCriteria(InstanceMatchCriteria &&value)
bool AdditionalInfoHasBeenSet() const
void SetCapacityReservationId(const char *value)
ModifyCapacityReservationRequest & WithCapacityReservationId(Aws::String &&value)
void SetAdditionalInfo(Aws::String &&value)
const InstanceMatchCriteria & GetInstanceMatchCriteria() const
void SetEndDateType(EndDateType &&value)
void SetAdditionalInfo(const Aws::String &value)
AWS_EC2_API ModifyCapacityReservationRequest()
int GetInstanceCount() const
void SetCapacityReservationId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyCapacityReservationRequest & WithEndDateType(const EndDateType &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetEndDate(const Aws::Utils::DateTime &value)
ModifyCapacityReservationRequest & WithDryRun(bool value)
bool EndDateTypeHasBeenSet() const
bool CapacityReservationIdHasBeenSet() const
void SetAccept(bool value)
const Aws::Utils::DateTime & GetEndDate() const
void SetAdditionalInfo(const char *value)
ModifyCapacityReservationRequest & WithInstanceMatchCriteria(InstanceMatchCriteria &&value)
bool InstanceMatchCriteriaHasBeenSet() const
ModifyCapacityReservationRequest & WithEndDate(Aws::Utils::DateTime &&value)
void SetInstanceCount(int value)
void SetInstanceMatchCriteria(const InstanceMatchCriteria &value)
ModifyCapacityReservationRequest & WithAccept(bool value)
void SetDryRun(bool value)
ModifyCapacityReservationRequest & WithEndDateType(EndDateType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String