AWS SDK for C++  1.9.97
AWS SDK for C++
DescribeDomainAutoTunesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/es/model/AutoTune.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
38  {
39  public:
43 
44 
51  inline const Aws::Vector<AutoTune>& GetAutoTunes() const{ return m_autoTunes; }
52 
59  inline void SetAutoTunes(const Aws::Vector<AutoTune>& value) { m_autoTunes = value; }
60 
67  inline void SetAutoTunes(Aws::Vector<AutoTune>&& value) { m_autoTunes = std::move(value); }
68 
75  inline DescribeDomainAutoTunesResult& WithAutoTunes(const Aws::Vector<AutoTune>& value) { SetAutoTunes(value); return *this;}
76 
83  inline DescribeDomainAutoTunesResult& WithAutoTunes(Aws::Vector<AutoTune>&& value) { SetAutoTunes(std::move(value)); return *this;}
84 
91  inline DescribeDomainAutoTunesResult& AddAutoTunes(const AutoTune& value) { m_autoTunes.push_back(value); return *this; }
92 
99  inline DescribeDomainAutoTunesResult& AddAutoTunes(AutoTune&& value) { m_autoTunes.push_back(std::move(value)); return *this; }
100 
101 
105  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
106 
110  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
111 
115  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
116 
120  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
121 
125  inline DescribeDomainAutoTunesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
130  inline DescribeDomainAutoTunesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
135  inline DescribeDomainAutoTunesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137  private:
138 
139  Aws::Vector<AutoTune> m_autoTunes;
140 
141  Aws::String m_nextToken;
142  };
143 
144 } // namespace Model
145 } // namespace ElasticsearchService
146 } // namespace Aws
AutoTune.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::DescribeDomainAutoTunesResult
DescribeDomainAutoTunesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::WithNextToken
DescribeDomainAutoTunesResult & WithNextToken(const char *value)
Definition: DescribeDomainAutoTunesResult.h:135
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::WithNextToken
DescribeDomainAutoTunesResult & WithNextToken(const Aws::String &value)
Definition: DescribeDomainAutoTunesResult.h:125
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::DescribeDomainAutoTunesResult
DescribeDomainAutoTunesResult()
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::AddAutoTunes
DescribeDomainAutoTunesResult & AddAutoTunes(AutoTune &&value)
Definition: DescribeDomainAutoTunesResult.h:99
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::WithAutoTunes
DescribeDomainAutoTunesResult & WithAutoTunes(Aws::Vector< AutoTune > &&value)
Definition: DescribeDomainAutoTunesResult.h:83
AWSVector.h
Aws::ElasticsearchService::Model::AutoTune
Definition: AutoTune.h:34
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDomainAutoTunesResult.h:115
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::AddAutoTunes
DescribeDomainAutoTunesResult & AddAutoTunes(const AutoTune &value)
Definition: DescribeDomainAutoTunesResult.h:91
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDomainAutoTunesResult.h:105
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::operator=
DescribeDomainAutoTunesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDomainAutoTunesResult.h:110
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::SetAutoTunes
void SetAutoTunes(Aws::Vector< AutoTune > &&value)
Definition: DescribeDomainAutoTunesResult.h:67
AWSString.h
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult
Definition: DescribeDomainAutoTunesResult.h:38
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::GetAutoTunes
const Aws::Vector< AutoTune > & GetAutoTunes() const
Definition: DescribeDomainAutoTunesResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDomainAutoTunesResult.h:120
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::WithAutoTunes
DescribeDomainAutoTunesResult & WithAutoTunes(const Aws::Vector< AutoTune > &value)
Definition: DescribeDomainAutoTunesResult.h:75
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::WithNextToken
DescribeDomainAutoTunesResult & WithNextToken(Aws::String &&value)
Definition: DescribeDomainAutoTunesResult.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesResult::SetAutoTunes
void SetAutoTunes(const Aws::Vector< AutoTune > &value)
Definition: DescribeDomainAutoTunesResult.h:59