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/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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
43 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
44 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
45 inline DomainInfo& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
46 inline DomainInfo& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
47 inline DomainInfo& WithDomainName(const char* value) { SetDomainName(value); return *this;}
49
51
54 inline const EngineType& GetEngineType() const{ return m_engineType; }
55 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
56 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
57 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
58 inline DomainInfo& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
59 inline DomainInfo& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_domainName;
64 bool m_domainNameHasBeenSet = false;
65
66 EngineType m_engineType;
67 bool m_engineTypeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace ElasticsearchService
72} // namespace Aws
DomainInfo & WithEngineType(EngineType &&value)
Definition DomainInfo.h:59
AWS_ELASTICSEARCHSERVICE_API DomainInfo()
DomainInfo & WithDomainName(const char *value)
Definition DomainInfo.h:47
DomainInfo & WithDomainName(const Aws::String &value)
Definition DomainInfo.h:45
const Aws::String & GetDomainName() const
Definition DomainInfo.h:40
void SetDomainName(Aws::String &&value)
Definition DomainInfo.h:43
const EngineType & GetEngineType() const
Definition DomainInfo.h:54
DomainInfo & WithDomainName(Aws::String &&value)
Definition DomainInfo.h:46
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)
void SetDomainName(const Aws::String &value)
Definition DomainInfo.h:42
void SetEngineType(const EngineType &value)
Definition DomainInfo.h:56
DomainInfo & WithEngineType(const EngineType &value)
Definition DomainInfo.h:58
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue