AWS SDK for C++  1.9.109
AWS SDK for C++
CreateElasticsearchDomainResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
35  {
36  public:
40 
41 
45  inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; }
46 
50  inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; }
51 
55  inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); }
56 
60  inline CreateElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;}
61 
65  inline CreateElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
66 
67  private:
68 
69  ElasticsearchDomainStatus m_domainStatus;
70  };
71 
72 } // namespace Model
73 } // namespace ElasticsearchService
74 } // namespace Aws
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::CreateElasticsearchDomainResult
CreateElasticsearchDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::SetDomainStatus
void SetDomainStatus(const ElasticsearchDomainStatus &value)
Definition: CreateElasticsearchDomainResult.h:50
Aws::ElasticsearchService::Model::ElasticsearchDomainStatus
Definition: ElasticsearchDomainStatus.h:46
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::WithDomainStatus
CreateElasticsearchDomainResult & WithDomainStatus(ElasticsearchDomainStatus &&value)
Definition: CreateElasticsearchDomainResult.h:65
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::operator=
CreateElasticsearchDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::WithDomainStatus
CreateElasticsearchDomainResult & WithDomainStatus(const ElasticsearchDomainStatus &value)
Definition: CreateElasticsearchDomainResult.h:60
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::CreateElasticsearchDomainResult
CreateElasticsearchDomainResult()
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::GetDomainStatus
const ElasticsearchDomainStatus & GetDomainStatus() const
Definition: CreateElasticsearchDomainResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult::SetDomainStatus
void SetDomainStatus(ElasticsearchDomainStatus &&value)
Definition: CreateElasticsearchDomainResult.h:55
Aws::ElasticsearchService::Model::CreateElasticsearchDomainResult
Definition: CreateElasticsearchDomainResult.h:35
ElasticsearchDomainStatus.h