AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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