AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline DomainInfo& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline DomainInfo& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline DomainInfo& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
61 inline const EngineType& GetEngineType() const{ return m_engineType; }
62 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
63 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
64 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
65 inline DomainInfo& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
66 inline DomainInfo& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_domainName;
71 bool m_domainNameHasBeenSet = false;
72
73 EngineType m_engineType;
74 bool m_engineTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace OpenSearchService
79} // namespace Aws
void SetEngineType(EngineType &&value)
Definition DomainInfo.h:64
const EngineType & GetEngineType() const
Definition DomainInfo.h:61
AWS_OPENSEARCHSERVICE_API DomainInfo(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(const char *value)
Definition DomainInfo.h:49
DomainInfo & WithDomainName(const Aws::String &value)
Definition DomainInfo.h:50
void SetEngineType(const EngineType &value)
Definition DomainInfo.h:63
DomainInfo & WithEngineType(const EngineType &value)
Definition DomainInfo.h:65
const Aws::String & GetDomainName() const
Definition DomainInfo.h:45
DomainInfo & WithDomainName(const char *value)
Definition DomainInfo.h:52
DomainInfo & WithEngineType(EngineType &&value)
Definition DomainInfo.h:66
AWS_OPENSEARCHSERVICE_API DomainInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(const Aws::String &value)
Definition DomainInfo.h:47
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API DomainInfo()
void SetDomainName(Aws::String &&value)
Definition DomainInfo.h:48
DomainInfo & WithDomainName(Aws::String &&value)
Definition DomainInfo.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue