This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/DescribeReservedElasticsearchInstanceOfferingsRequest.h

183 lines
7.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/es/ElasticsearchService_EXPORTS.h>
#include <aws/es/ElasticsearchServiceRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace ElasticsearchService
{
namespace Model
{
/**
* <p>Container for parameters to
* <code>DescribeReservedElasticsearchInstanceOfferings</code></p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/DescribeReservedElasticsearchInstanceOfferingsRequest">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API DescribeReservedElasticsearchInstanceOfferingsRequest : public ElasticsearchServiceRequest
{
public:
DescribeReservedElasticsearchInstanceOfferingsRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DescribeReservedElasticsearchInstanceOfferings"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline const Aws::String& GetReservedElasticsearchInstanceOfferingId() const{ return m_reservedElasticsearchInstanceOfferingId; }
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline bool ReservedElasticsearchInstanceOfferingIdHasBeenSet() const { return m_reservedElasticsearchInstanceOfferingIdHasBeenSet; }
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline void SetReservedElasticsearchInstanceOfferingId(const Aws::String& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = value; }
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline void SetReservedElasticsearchInstanceOfferingId(Aws::String&& value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId = std::move(value); }
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline void SetReservedElasticsearchInstanceOfferingId(const char* value) { m_reservedElasticsearchInstanceOfferingIdHasBeenSet = true; m_reservedElasticsearchInstanceOfferingId.assign(value); }
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const Aws::String& value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(Aws::String&& value) { SetReservedElasticsearchInstanceOfferingId(std::move(value)); return *this;}
/**
* <p>The offering identifier filter value. Use this parameter to show only the
* available offering that matches the specified reservation identifier.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithReservedElasticsearchInstanceOfferingId(const char* value) { SetReservedElasticsearchInstanceOfferingId(value); return *this;}
/**
* <p>Set this value to limit the number of results returned. If not specified,
* defaults to 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>Set this value to limit the number of results returned. If not specified,
* defaults to 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>Set this value to limit the number of results returned. If not specified,
* defaults to 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>Set this value to limit the number of results returned. If not specified,
* defaults to 100.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>NextToken should be sent in case if earlier API call produced result
* containing NextToken. It is used for pagination.</p>
*/
inline DescribeReservedElasticsearchInstanceOfferingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::String m_reservedElasticsearchInstanceOfferingId;
bool m_reservedElasticsearchInstanceOfferingIdHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws