AWS SDK for C++  1.9.104
AWS SDK for C++
GetCompatibleElasticsearchVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace ElasticsearchService
19 {
20 namespace Model
21 {
22 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "GetCompatibleElasticsearchVersions"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
46 
47  inline const Aws::String& GetDomainName() const{ return m_domainName; }
48 
49 
50  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 
52 
53  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 
55 
56  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
57 
58 
59  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 
61 
62  inline GetCompatibleElasticsearchVersionsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
63 
64 
65  inline GetCompatibleElasticsearchVersionsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
66 
67 
68  inline GetCompatibleElasticsearchVersionsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
69 
70  private:
71 
72  Aws::String m_domainName;
73  bool m_domainNameHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace ElasticsearchService
78 } // namespace Aws
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::WithDomainName
GetCompatibleElasticsearchVersionsRequest & WithDomainName(Aws::String &&value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:65
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:59
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetCompatibleElasticsearchVersionsRequest.h:50
Aws::Http::URI
Definition: URI.h:32
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest
Definition: GetCompatibleElasticsearchVersionsRequest.h:31
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::WithDomainName
GetCompatibleElasticsearchVersionsRequest & WithDomainName(const Aws::String &value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:62
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::GetCompatibleElasticsearchVersionsRequest
GetCompatibleElasticsearchVersionsRequest()
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:56
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetCompatibleElasticsearchVersionsRequest.h:47
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCompatibleElasticsearchVersionsRequest.h:39
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::WithDomainName
GetCompatibleElasticsearchVersionsRequest & WithDomainName(const char *value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:68
Aws::ElasticsearchService::Model::GetCompatibleElasticsearchVersionsRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetCompatibleElasticsearchVersionsRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97