/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ElasticsearchService { namespace Model { /** *

Container for the parameters to the DescribeDomainAutoTunes * operation.

See Also:

AWS * API Reference

*/ class DescribeDomainAutoTunesRequest : public ElasticsearchServiceRequest { public: AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesRequest(); // 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 "DescribeDomainAutoTunes"; } AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override; /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline DescribeDomainAutoTunesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline DescribeDomainAutoTunesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Specifies the domain name for which you want Auto-Tune action details.

*/ inline DescribeDomainAutoTunesRequest& WithDomainName(const char* value) { SetDomainName(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 DescribeDomainAutoTunesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline DescribeDomainAutoTunesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline DescribeDomainAutoTunesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

NextToken is sent in case the earlier API call results contain the NextToken. * It is used for pagination.

*/ inline DescribeDomainAutoTunesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws