AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainInfo.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/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 OpenSearchService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API DomainInfo() = default;
36 AWS_OPENSEARCHSERVICE_API DomainInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API DomainInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDomainName() const { return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 template<typename DomainNameT = Aws::String>
48 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
49 template<typename DomainNameT = Aws::String>
50 DomainInfo& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
52
54
59 inline EngineType GetEngineType() const { return m_engineType; }
60 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
61 inline void SetEngineType(EngineType value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
62 inline DomainInfo& WithEngineType(EngineType value) { SetEngineType(value); return *this;}
64 private:
65
66 Aws::String m_domainName;
67 bool m_domainNameHasBeenSet = false;
68
69 EngineType m_engineType{EngineType::NOT_SET};
70 bool m_engineTypeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace OpenSearchService
75} // namespace Aws
DomainInfo & WithDomainName(DomainNameT &&value)
Definition DomainInfo.h:50
AWS_OPENSEARCHSERVICE_API DomainInfo()=default
DomainInfo & WithEngineType(EngineType value)
Definition DomainInfo.h:62
AWS_OPENSEARCHSERVICE_API DomainInfo(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(DomainNameT &&value)
Definition DomainInfo.h:48
const Aws::String & GetDomainName() const
Definition DomainInfo.h:45
AWS_OPENSEARCHSERVICE_API DomainInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue