AWS SDK for C++  1.9.104
AWS SDK for C++
DomainInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
28  {
29  public:
34 
35 
39  inline const Aws::String& GetDomainName() const{ return m_domainName; }
40 
44  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
45 
49  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
50 
54  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
55 
59  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
60 
64  inline DomainInfo& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
65 
69  inline DomainInfo& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
70 
74  inline DomainInfo& WithDomainName(const char* value) { SetDomainName(value); return *this;}
75 
76 
80  inline const EngineType& GetEngineType() const{ return m_engineType; }
81 
85  inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
86 
90  inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
91 
95  inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
96 
100  inline DomainInfo& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
101 
105  inline DomainInfo& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
106 
107  private:
108 
109  Aws::String m_domainName;
110  bool m_domainNameHasBeenSet;
111 
112  EngineType m_engineType;
113  bool m_engineTypeHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace ElasticsearchService
118 } // namespace Aws
Aws::ElasticsearchService::Model::DomainInfo::SetEngineType
void SetEngineType(EngineType &&value)
Definition: DomainInfo.h:95
Aws::ElasticsearchService::Model::DomainInfo::DomainInfo
DomainInfo()
Aws::ElasticsearchService::Model::DomainInfo::EngineTypeHasBeenSet
bool EngineTypeHasBeenSet() const
Definition: DomainInfo.h:85
Aws::ElasticsearchService::Model::DomainInfo
Definition: DomainInfo.h:28
Aws::ElasticsearchService::Model::DomainInfo::WithDomainName
DomainInfo & WithDomainName(Aws::String &&value)
Definition: DomainInfo.h:69
Aws::ElasticsearchService::Model::DomainInfo::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DomainInfo.h:54
Aws::ElasticsearchService::Model::DomainInfo::SetDomainName
void SetDomainName(const char *value)
Definition: DomainInfo.h:59
Aws::ElasticsearchService::Model::DomainInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DomainInfo::WithDomainName
DomainInfo & WithDomainName(const Aws::String &value)
Definition: DomainInfo.h:64
Aws::ElasticsearchService::Model::EngineType
EngineType
Definition: EngineType.h:17
Aws::ElasticsearchService::Model::DomainInfo::WithEngineType
DomainInfo & WithEngineType(EngineType &&value)
Definition: DomainInfo.h:105
EngineType.h
Aws::ElasticsearchService::Model::DomainInfo::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DomainInfo.h:44
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainInfo::GetEngineType
const EngineType & GetEngineType() const
Definition: DomainInfo.h:80
Aws::ElasticsearchService::Model::DomainInfo::WithEngineType
DomainInfo & WithEngineType(const EngineType &value)
Definition: DomainInfo.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ElasticsearchService::Model::DomainInfo::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DomainInfo.h:49
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::DomainInfo::DomainInfo
DomainInfo(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DomainInfo::SetEngineType
void SetEngineType(const EngineType &value)
Definition: DomainInfo.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DomainInfo::WithDomainName
DomainInfo & WithDomainName(const char *value)
Definition: DomainInfo.h:74
Aws::ElasticsearchService::Model::DomainInfo::GetDomainName
const Aws::String & GetDomainName() const
Definition: DomainInfo.h:39
Aws::ElasticsearchService::Model::DomainInfo::operator=
DomainInfo & operator=(Aws::Utils::Json::JsonView jsonValue)