7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/athena/model/CapacityReservation.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
46 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
70 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
ListCapacityReservationsResult & WithRequestId(Aws::String &&value)
AWS_ATHENA_API ListCapacityReservationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCapacityReservationsResult & AddCapacityReservations(const CapacityReservation &value)
ListCapacityReservationsResult & WithRequestId(const Aws::String &value)
const Aws::String & GetNextToken() const
ListCapacityReservationsResult & WithNextToken(const Aws::String &value)
const Aws::Vector< CapacityReservation > & GetCapacityReservations() const
void SetNextToken(const char *value)
const Aws::String & GetRequestId() const
ListCapacityReservationsResult & WithCapacityReservations(Aws::Vector< CapacityReservation > &&value)
void SetRequestId(Aws::String &&value)
void SetCapacityReservations(Aws::Vector< CapacityReservation > &&value)
void SetNextToken(Aws::String &&value)
void SetNextToken(const Aws::String &value)
void SetRequestId(const char *value)
AWS_ATHENA_API ListCapacityReservationsResult()
void SetCapacityReservations(const Aws::Vector< CapacityReservation > &value)
ListCapacityReservationsResult & AddCapacityReservations(CapacityReservation &&value)
ListCapacityReservationsResult & WithRequestId(const char *value)
AWS_ATHENA_API ListCapacityReservationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListCapacityReservationsResult & WithNextToken(const char *value)
ListCapacityReservationsResult & WithNextToken(Aws::String &&value)
ListCapacityReservationsResult & WithCapacityReservations(const Aws::Vector< CapacityReservation > &value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue