AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeElasticsearchDomainResult.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 {
34  {
35  public:
39 
40 
44  inline const ElasticsearchDomainStatus& GetDomainStatus() const{ return m_domainStatus; }
45 
49  inline void SetDomainStatus(const ElasticsearchDomainStatus& value) { m_domainStatus = value; }
50 
54  inline void SetDomainStatus(ElasticsearchDomainStatus&& value) { m_domainStatus = std::move(value); }
55 
59  inline DescribeElasticsearchDomainResult& WithDomainStatus(const ElasticsearchDomainStatus& value) { SetDomainStatus(value); return *this;}
60 
64  inline DescribeElasticsearchDomainResult& WithDomainStatus(ElasticsearchDomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
65 
66  private:
67 
68  ElasticsearchDomainStatus m_domainStatus;
69  };
70 
71 } // namespace Model
72 } // namespace ElasticsearchService
73 } // namespace Aws
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::DescribeElasticsearchDomainResult
DescribeElasticsearchDomainResult()
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::GetDomainStatus
const ElasticsearchDomainStatus & GetDomainStatus() const
Definition: DescribeElasticsearchDomainResult.h:44
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::SetDomainStatus
void SetDomainStatus(const ElasticsearchDomainStatus &value)
Definition: DescribeElasticsearchDomainResult.h:49
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::WithDomainStatus
DescribeElasticsearchDomainResult & WithDomainStatus(ElasticsearchDomainStatus &&value)
Definition: DescribeElasticsearchDomainResult.h:64
Aws::ElasticsearchService::Model::ElasticsearchDomainStatus
Definition: ElasticsearchDomainStatus.h:46
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::WithDomainStatus
DescribeElasticsearchDomainResult & WithDomainStatus(const ElasticsearchDomainStatus &value)
Definition: DescribeElasticsearchDomainResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::SetDomainStatus
void SetDomainStatus(ElasticsearchDomainStatus &&value)
Definition: DescribeElasticsearchDomainResult.h:54
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::operator=
DescribeElasticsearchDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult
Definition: DescribeElasticsearchDomainResult.h:34
ElasticsearchDomainStatus.h
Aws::ElasticsearchService::Model::DescribeElasticsearchDomainResult::DescribeElasticsearchDomainResult
DescribeElasticsearchDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)