/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for parameters to
* DescribeReservedElasticsearchInstanceOfferings
See
* Also:
AWS
* API Reference
The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline const Aws::String& GetReservedElasticsearchInstanceOfferingId() const{ return m_reservedElasticsearchInstanceOfferingId; } /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const { return m_reservedElasticsearchInstanceOfferingIdHasBeenSet; } /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline void SetReservedElasticsearchInstanceOfferingId(const Aws::String& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = value; } /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline void SetReservedElasticsearchInstanceOfferingId(Aws::String&& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = std::move(value); } /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline void SetReservedElasticsearchInstanceOfferingId(const char* value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId.assign(value); } /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const Aws::String& value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;} /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(Aws::String&& value) { SetReservedElasticsearchInstanceOfferingId(std::move(value)); return *this;} /** *The offering identifier filter value. Use this parameter to show only the * available offering that matches the specified reservation identifier.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const char* value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;} /** *Set this value to limit the number of results returned. If not specified, * defaults to 100.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *Set this value to limit the number of results returned. If not specified, * defaults to 100.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *Set this value to limit the number of results returned. If not specified, * defaults to 100.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *Set this value to limit the number of results returned. If not specified, * defaults to 100.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *NextToken should be sent in case if earlier API call produced result * containing NextToken. It is used for pagination.
*/ inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_reservedElasticsearchInstanceOfferingId; bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws