/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ElasticsearchService { namespace Model { /** *

The result of DescribeDomainAutoTunes request. See the Developer Guide for more information.

See * Also:

AWS * API Reference

*/ class DescribeDomainAutoTunesResult { public: AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult(); AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICSEARCHSERVICE_API DescribeDomainAutoTunesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline const Aws::Vector& GetAutoTunes() const{ return m_autoTunes; } /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline void SetAutoTunes(const Aws::Vector& value) { m_autoTunes = value; } /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline void SetAutoTunes(Aws::Vector&& value) { m_autoTunes = std::move(value); } /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline DescribeDomainAutoTunesResult& WithAutoTunes(const Aws::Vector& value) { SetAutoTunes(value); return *this;} /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline DescribeDomainAutoTunesResult& WithAutoTunes(Aws::Vector&& value) { SetAutoTunes(std::move(value)); return *this;} /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline DescribeDomainAutoTunesResult& AddAutoTunes(const AutoTune& value) { m_autoTunes.push_back(value); return *this; } /** *

Specifies the list of setting adjustments that Auto-Tune has made to the * domain. See the Developer Guide for more information.

*/ inline DescribeDomainAutoTunesResult& AddAutoTunes(AutoTune&& value) { m_autoTunes.push_back(std::move(value)); return *this; } /** *

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

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

Specifies an identifier to allow retrieval of paginated results.

*/ inline DescribeDomainAutoTunesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeDomainAutoTunesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDomainAutoTunesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDomainAutoTunesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_autoTunes; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws