AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DomainInfo.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/EngineType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_ELASTICSEARCHSERVICE_API DomainInfo() = default;
31 AWS_ELASTICSEARCHSERVICE_API DomainInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API DomainInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template<typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
44 template<typename DomainNameT = Aws::String>
45 DomainInfo& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
47
49
52 inline EngineType GetEngineType() const { return m_engineType; }
53 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
54 inline void SetEngineType(EngineType value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
55 inline DomainInfo& WithEngineType(EngineType value) { SetEngineType(value); return *this;}
57 private:
58
59 Aws::String m_domainName;
60 bool m_domainNameHasBeenSet = false;
61
62 EngineType m_engineType{EngineType::NOT_SET};
63 bool m_engineTypeHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace ElasticsearchService
68} // namespace Aws
void SetDomainName(DomainNameT &&value)
Definition DomainInfo.h:43
const Aws::String & GetDomainName() const
Definition DomainInfo.h:40
DomainInfo & WithEngineType(EngineType value)
Definition DomainInfo.h:55
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DomainInfo(Aws::Utils::Json::JsonView jsonValue)
DomainInfo & WithDomainName(DomainNameT &&value)
Definition DomainInfo.h:45
AWS_ELASTICSEARCHSERVICE_API DomainInfo()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue