AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeElasticsearchInstanceTypeLimitsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace ElasticsearchService
20 {
21 namespace Model
22 {
23 
32  {
33  public:
35 
36  // Service request name is the Operation name which will send this request out,
37  // each operation should has unique request name, so that we can get operation's name from this request.
38  // Note: this is not true for response, multiple operations may have the same response name,
39  // so we can not get operation's name from response.
40  inline virtual const char* GetServiceRequestName() const override { return "DescribeElasticsearchInstanceTypeLimits"; }
41 
42  Aws::String SerializePayload() const override;
43 
44  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45 
46 
52  inline const Aws::String& GetDomainName() const{ return m_domainName; }
53 
59  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
60 
66  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
67 
73  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
74 
80  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
81 
87  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
88 
94  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
95 
101  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
102 
103 
108  inline const ESPartitionInstanceType& GetInstanceType() const{ return m_instanceType; }
109 
114  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
115 
120  inline void SetInstanceType(const ESPartitionInstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
121 
126  inline void SetInstanceType(ESPartitionInstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
127 
132  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithInstanceType(const ESPartitionInstanceType& value) { SetInstanceType(value); return *this;}
133 
138  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithInstanceType(ESPartitionInstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
139 
140 
145  inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; }
146 
151  inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
152 
157  inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; }
158 
163  inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); }
164 
169  inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); }
170 
175  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithElasticsearchVersion(const Aws::String& value) { SetElasticsearchVersion(value); return *this;}
176 
181  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithElasticsearchVersion(Aws::String&& value) { SetElasticsearchVersion(std::move(value)); return *this;}
182 
187  inline DescribeElasticsearchInstanceTypeLimitsRequest& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(value); return *this;}
188 
189  private:
190 
191  Aws::String m_domainName;
192  bool m_domainNameHasBeenSet;
193 
194  ESPartitionInstanceType m_instanceType;
195  bool m_instanceTypeHasBeenSet;
196 
197  Aws::String m_elasticsearchVersion;
198  bool m_elasticsearchVersionHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace ElasticsearchService
203 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::GetInstanceType
const ESPartitionInstanceType & GetInstanceType() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:108
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SerializePayload
Aws::String SerializePayload() const override
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
ESPartitionInstanceType.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithElasticsearchVersion
DescribeElasticsearchInstanceTypeLimitsRequest & WithElasticsearchVersion(const char *value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:187
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetElasticsearchVersion
void SetElasticsearchVersion(Aws::String &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:163
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:40
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithDomainName
DescribeElasticsearchInstanceTypeLimitsRequest & WithDomainName(Aws::String &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:94
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithDomainName
DescribeElasticsearchInstanceTypeLimitsRequest & WithDomainName(const char *value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:101
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:66
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetInstanceType
void SetInstanceType(const ESPartitionInstanceType &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:120
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetElasticsearchVersion
void SetElasticsearchVersion(const Aws::String &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:157
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithElasticsearchVersion
DescribeElasticsearchInstanceTypeLimitsRequest & WithElasticsearchVersion(const Aws::String &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:175
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithElasticsearchVersion
DescribeElasticsearchInstanceTypeLimitsRequest & WithElasticsearchVersion(Aws::String &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:181
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:73
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetElasticsearchVersion
void SetElasticsearchVersion(const char *value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:169
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:80
AWSString.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::GetElasticsearchVersion
const Aws::String & GetElasticsearchVersion() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:145
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithDomainName
DescribeElasticsearchInstanceTypeLimitsRequest & WithDomainName(const Aws::String &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:87
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::DescribeElasticsearchInstanceTypeLimitsRequest
DescribeElasticsearchInstanceTypeLimitsRequest()
Aws::ElasticsearchService::Model::ESPartitionInstanceType
ESPartitionInstanceType
Definition: ESPartitionInstanceType.h:17
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:114
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithInstanceType
DescribeElasticsearchInstanceTypeLimitsRequest & WithInstanceType(ESPartitionInstanceType &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:138
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::SetInstanceType
void SetInstanceType(ESPartitionInstanceType &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:126
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:59
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:32
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::WithInstanceType
DescribeElasticsearchInstanceTypeLimitsRequest & WithInstanceType(const ESPartitionInstanceType &value)
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:132
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsRequest::ElasticsearchVersionHasBeenSet
bool ElasticsearchVersionHasBeenSet() const
Definition: DescribeElasticsearchInstanceTypeLimitsRequest.h:151