7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/CapacityReservationState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/InstanceUsage.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
47 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
152 int m_totalInstanceCount;
154 int m_availableInstanceCount;
GetCapacityReservationUsageResponse & WithNextToken(const Aws::String &value)
AWS_EC2_API GetCapacityReservationUsageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetCapacityReservationUsageResponse & AddInstanceUsages(const InstanceUsage &value)
const Aws::String & GetCapacityReservationId() const
GetCapacityReservationUsageResponse & WithTotalInstanceCount(int value)
const CapacityReservationState & GetState() const
GetCapacityReservationUsageResponse & WithInstanceType(Aws::String &&value)
void SetNextToken(Aws::String &&value)
void SetState(const CapacityReservationState &value)
int GetTotalInstanceCount() const
void SetTotalInstanceCount(int value)
const Aws::String & GetInstanceType() const
GetCapacityReservationUsageResponse & WithInstanceUsages(const Aws::Vector< InstanceUsage > &value)
const Aws::String & GetNextToken() const
const Aws::Vector< InstanceUsage > & GetInstanceUsages() const
void SetCapacityReservationId(Aws::String &&value)
GetCapacityReservationUsageResponse & WithInstanceUsages(Aws::Vector< InstanceUsage > &&value)
GetCapacityReservationUsageResponse & WithState(CapacityReservationState &&value)
GetCapacityReservationUsageResponse & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
GetCapacityReservationUsageResponse & WithInstanceType(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
GetCapacityReservationUsageResponse & WithResponseMetadata(ResponseMetadata &&value)
GetCapacityReservationUsageResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetState(CapacityReservationState &&value)
GetCapacityReservationUsageResponse & WithCapacityReservationId(const Aws::String &value)
void SetInstanceType(Aws::String &&value)
void SetInstanceType(const char *value)
GetCapacityReservationUsageResponse & WithState(const CapacityReservationState &value)
void SetResponseMetadata(ResponseMetadata &&value)
GetCapacityReservationUsageResponse & WithAvailableInstanceCount(int value)
GetCapacityReservationUsageResponse & WithCapacityReservationId(Aws::String &&value)
void SetCapacityReservationId(const Aws::String &value)
void SetNextToken(const char *value)
GetCapacityReservationUsageResponse & WithInstanceType(const Aws::String &value)
void SetInstanceUsages(const Aws::Vector< InstanceUsage > &value)
void SetInstanceUsages(Aws::Vector< InstanceUsage > &&value)
GetCapacityReservationUsageResponse & WithCapacityReservationId(const char *value)
void SetInstanceType(const Aws::String &value)
GetCapacityReservationUsageResponse & AddInstanceUsages(InstanceUsage &&value)
GetCapacityReservationUsageResponse & WithNextToken(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetAvailableInstanceCount(int value)
AWS_EC2_API GetCapacityReservationUsageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
int GetAvailableInstanceCount() const
AWS_EC2_API GetCapacityReservationUsageResponse()
void SetCapacityReservationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument