AWS SDK for C++  1.9.97
AWS SDK for C++
GetUpgradeStatusRequest.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 "GetUpgradeStatus"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
39 
40  inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 
42 
43  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 
45 
46  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 
48 
49  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 
51 
52  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
53 
54 
55  inline GetUpgradeStatusRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
56 
57 
58  inline GetUpgradeStatusRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
59 
60 
61  inline GetUpgradeStatusRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
62 
63  private:
64 
65  Aws::String m_domainName;
66  bool m_domainNameHasBeenSet;
67  };
68 
69 } // namespace Model
70 } // namespace ElasticsearchService
71 } // namespace Aws
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::WithDomainName
GetUpgradeStatusRequest & WithDomainName(const Aws::String &value)
Definition: GetUpgradeStatusRequest.h:55
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: GetUpgradeStatusRequest.h:40
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetUpgradeStatusRequest.h:34
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::WithDomainName
GetUpgradeStatusRequest & WithDomainName(Aws::String &&value)
Definition: GetUpgradeStatusRequest.h:58
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::WithDomainName
GetUpgradeStatusRequest & WithDomainName(const char *value)
Definition: GetUpgradeStatusRequest.h:61
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::GetUpgradeStatusRequest
GetUpgradeStatusRequest()
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: GetUpgradeStatusRequest.h:43
ElasticsearchService_EXPORTS.h
AWSString.h
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: GetUpgradeStatusRequest.h:46
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::GetUpgradeStatusRequest::SetDomainName
void SetDomainName(const char *value)
Definition: GetUpgradeStatusRequest.h:52
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: GetUpgradeStatusRequest.h:49
Aws::ElasticsearchService::Model::GetUpgradeStatusRequest
Definition: GetUpgradeStatusRequest.h:26