7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/CapacityReservation.h>
9#include <aws/ec2/model/ResponseMetadata.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
void SetResponseMetadata(const ResponseMetadata &value)
CreateCapacityReservationBySplittingResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateCapacityReservationBySplittingResponse & WithSourceCapacityReservation(const CapacityReservation &value)
AWS_EC2_API CreateCapacityReservationBySplittingResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCapacityReservationBySplittingResponse & WithDestinationCapacityReservation(CapacityReservation &&value)
void SetSourceCapacityReservation(const CapacityReservation &value)
CreateCapacityReservationBySplittingResponse & WithInstanceCount(int value)
void SetDestinationCapacityReservation(CapacityReservation &&value)
CreateCapacityReservationBySplittingResponse & WithDestinationCapacityReservation(const CapacityReservation &value)
const CapacityReservation & GetDestinationCapacityReservation() const
AWS_EC2_API CreateCapacityReservationBySplittingResponse()
CreateCapacityReservationBySplittingResponse & WithResponseMetadata(ResponseMetadata &&value)
int GetInstanceCount() const
void SetInstanceCount(int value)
AWS_EC2_API CreateCapacityReservationBySplittingResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
const CapacityReservation & GetSourceCapacityReservation() const
CreateCapacityReservationBySplittingResponse & WithSourceCapacityReservation(CapacityReservation &&value)
void SetSourceCapacityReservation(CapacityReservation &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetDestinationCapacityReservation(const CapacityReservation &value)
Aws::Utils::Xml::XmlDocument XmlDocument