7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/model/ReservedInstance.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace OpenSearchService
52 inline void SetNextToken(
const char* value) { m_nextToken.assign(value); }
76 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetReservedInstances(Aws::Vector< ReservedInstance > &&value)
DescribeReservedInstancesResult & WithReservedInstances(Aws::Vector< ReservedInstance > &&value)
AWS_OPENSEARCHSERVICE_API DescribeReservedInstancesResult()
DescribeReservedInstancesResult & WithRequestId(Aws::String &&value)
DescribeReservedInstancesResult & WithNextToken(const Aws::String &value)
void SetNextToken(Aws::String &&value)
const Aws::Vector< ReservedInstance > & GetReservedInstances() const
DescribeReservedInstancesResult & WithRequestId(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API DescribeReservedInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API DescribeReservedInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(const char *value)
DescribeReservedInstancesResult & WithNextToken(Aws::String &&value)
DescribeReservedInstancesResult & WithRequestId(const char *value)
DescribeReservedInstancesResult & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
DescribeReservedInstancesResult & WithReservedInstances(const Aws::Vector< ReservedInstance > &value)
void SetRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetNextToken() const
void SetReservedInstances(const Aws::Vector< ReservedInstance > &value)
const Aws::String & GetRequestId() const
DescribeReservedInstancesResult & AddReservedInstances(ReservedInstance &&value)
void SetRequestId(const char *value)
DescribeReservedInstancesResult & AddReservedInstances(const ReservedInstance &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