AWS SDK for C++  1.9.97
AWS SDK for C++
DescribeDomainAutoTunesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElasticsearchService
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeDomainAutoTunes"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetDomainName() const{ return m_domainName; }
43 
47  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 
52  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
53 
57  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
58 
62  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
63 
67  inline DescribeDomainAutoTunesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
68 
72  inline DescribeDomainAutoTunesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
73 
77  inline DescribeDomainAutoTunesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
78 
79 
84  inline int GetMaxResults() const{ return m_maxResults; }
85 
90  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
96  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
97 
102  inline DescribeDomainAutoTunesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
103 
104 
109  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
110 
115  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 
121  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
122 
127  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
128 
133  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
134 
139  inline DescribeDomainAutoTunesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
140 
145  inline DescribeDomainAutoTunesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
146 
151  inline DescribeDomainAutoTunesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
152 
153  private:
154 
155  Aws::String m_domainName;
156  bool m_domainNameHasBeenSet;
157 
158  int m_maxResults;
159  bool m_maxResultsHasBeenSet;
160 
161  Aws::String m_nextToken;
162  bool m_nextTokenHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace ElasticsearchService
167 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DescribeDomainAutoTunesRequest.h:62
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeDomainAutoTunesRequest.h:96
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithNextToken
DescribeDomainAutoTunesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeDomainAutoTunesRequest.h:139
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeDomainAutoTunesRequest.h:115
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDomainAutoTunesRequest.h:133
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDomainAutoTunesRequest.h:127
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DescribeDomainAutoTunesRequest.h:47
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithNextToken
DescribeDomainAutoTunesRequest & WithNextToken(const char *value)
Definition: DescribeDomainAutoTunesRequest.h:151
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeDomainAutoTunesRequest.h:90
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithMaxResults
DescribeDomainAutoTunesRequest & WithMaxResults(int value)
Definition: DescribeDomainAutoTunesRequest.h:102
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDomainAutoTunesRequest.h:121
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithDomainName
DescribeDomainAutoTunesRequest & WithDomainName(Aws::String &&value)
Definition: DescribeDomainAutoTunesRequest.h:72
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DescribeDomainAutoTunesRequest.h:42
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DescribeDomainAutoTunesRequest.h:52
AWSString.h
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDomainAutoTunesRequest.h:34
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::DescribeDomainAutoTunesRequest
DescribeDomainAutoTunesRequest()
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeDomainAutoTunesRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DescribeDomainAutoTunesRequest.h:57
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDomainAutoTunesRequest.h:109
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithDomainName
DescribeDomainAutoTunesRequest & WithDomainName(const char *value)
Definition: DescribeDomainAutoTunesRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithDomainName
DescribeDomainAutoTunesRequest & WithDomainName(const Aws::String &value)
Definition: DescribeDomainAutoTunesRequest.h:67
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest
Definition: DescribeDomainAutoTunesRequest.h:26
Aws::ElasticsearchService::Model::DescribeDomainAutoTunesRequest::WithNextToken
DescribeDomainAutoTunesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeDomainAutoTunesRequest.h:145