7#include <aws/core/http/HttpResponse.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/CapacityReservationAdjustmentDetails.h>
10#include <aws/ec2/model/CapacityReservationAdjustmentStatus.h>
11#include <aws/ec2/model/ResponseMetadata.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
39 m_returnHasBeenSet =
true;
56 m_adjustmentStatusHasBeenSet =
true;
57 m_adjustmentStatus = value;
71 template <
typename AdjustmentDetailsT = CapacityReservationAdjustmentDetails>
73 m_adjustmentDetailsHasBeenSet =
true;
74 m_adjustmentDetails = std::forward<AdjustmentDetailsT>(value);
76 template <
typename AdjustmentDetailsT = CapacityReservationAdjustmentDetails>
86 template <
typename ResponseMetadataT = ResponseMetadata>
88 m_responseMetadataHasBeenSet =
true;
89 m_responseMetadata = std::forward<ResponseMetadataT>(value);
91 template <
typename ResponseMetadataT = ResponseMetadata>
100 bool m_return{
false};
104 CapacityReservationAdjustmentDetails m_adjustmentDetails;
106 ResponseMetadata m_responseMetadata;
108 bool m_returnHasBeenSet =
false;
109 bool m_adjustmentStatusHasBeenSet =
false;
110 bool m_adjustmentDetailsHasBeenSet =
false;
111 bool m_responseMetadataHasBeenSet =
false;
AWS_EC2_API ModifyCapacityReservationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const CapacityReservationAdjustmentDetails & GetAdjustmentDetails() const
ModifyCapacityReservationResponse & WithReturn(bool value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API ModifyCapacityReservationResponse()=default
CapacityReservationAdjustmentStatus GetAdjustmentStatus() const
void SetAdjustmentDetails(AdjustmentDetailsT &&value)
ModifyCapacityReservationResponse & WithAdjustmentStatus(CapacityReservationAdjustmentStatus value)
ModifyCapacityReservationResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API ModifyCapacityReservationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyCapacityReservationResponse & WithAdjustmentDetails(AdjustmentDetailsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ResponseMetadata & GetResponseMetadata() const
void SetAdjustmentStatus(CapacityReservationAdjustmentStatus value)
void SetReturn(bool value)
CapacityReservationAdjustmentStatus
Aws::Utils::Xml::XmlDocument XmlDocument