/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for parameters to
* DescribeReservedElasticsearchInstances
See Also:
* AWS
* API Reference
The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; } /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline bool ReservedElasticsearchInstanceIdHasBeenSet() const { return m_reservedElasticsearchInstanceIdHasBeenSet; } /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = value; } /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId = std::move(value); } /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceIdHasBeenSet = true; m_reservedElasticsearchInstanceId.assign(value); } /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(const Aws::String& value) { SetReservedElasticsearchInstanceId(value); return *this;} /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(Aws::String&& value) { SetReservedElasticsearchInstanceId(std::move(value)); return *this;} /** *The reserved instance identifier filter value. Use this parameter to show * only the reservation that matches the specified reserved Elasticsearch instance * ID.
*/ inline DescribeReservedElasticsearchInstancesRequest& WithReservedElasticsearchInstanceId(const char* value) { SetReservedElasticsearchInstanceId(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 DescribeReservedElasticsearchInstancesRequest& 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 DescribeReservedElasticsearchInstancesRequest& 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 DescribeReservedElasticsearchInstancesRequest& 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 DescribeReservedElasticsearchInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_reservedElasticsearchInstanceId; bool m_reservedElasticsearchInstanceIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws