AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteElasticsearchDomainRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DeleteElasticsearchDomain"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 
48  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 
53  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 
58  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
59 
63  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
64 
68  inline DeleteElasticsearchDomainRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
69 
73  inline DeleteElasticsearchDomainRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
74 
78  inline DeleteElasticsearchDomainRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
79 
80  private:
81 
82  Aws::String m_domainName;
83  bool m_domainNameHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace ElasticsearchService
88 } // namespace Aws
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::WithDomainName
DeleteElasticsearchDomainRequest & WithDomainName(Aws::String &&value)
Definition: DeleteElasticsearchDomainRequest.h:73
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DeleteElasticsearchDomainRequest.h:43
Aws::ElasticsearchService::ElasticsearchServiceRequest
Definition: ElasticsearchServiceRequest.h:17
ElasticsearchServiceRequest.h
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::DeleteElasticsearchDomainRequest
DeleteElasticsearchDomainRequest()
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::WithDomainName
DeleteElasticsearchDomainRequest & WithDomainName(const char *value)
Definition: DeleteElasticsearchDomainRequest.h:78
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DeleteElasticsearchDomainRequest.h:53
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::SerializePayload
Aws::String SerializePayload() const override
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteElasticsearchDomainRequest.h:35
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DeleteElasticsearchDomainRequest.h:58
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DeleteElasticsearchDomainRequest.h:48
AWSString.h
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DeleteElasticsearchDomainRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest::WithDomainName
DeleteElasticsearchDomainRequest & WithDomainName(const Aws::String &value)
Definition: DeleteElasticsearchDomainRequest.h:68
Aws::ElasticsearchService::Model::DeleteElasticsearchDomainRequest
Definition: DeleteElasticsearchDomainRequest.h:27
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97