AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DomainInformation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElasticsearchService {
20namespace Model {
21
23 public:
24 AWS_ELASTICSEARCHSERVICE_API DomainInformation() = default;
25 AWS_ELASTICSEARCHSERVICE_API DomainInformation(Aws::Utils::Json::JsonView jsonValue);
26 AWS_ELASTICSEARCHSERVICE_API DomainInformation& operator=(Aws::Utils::Json::JsonView jsonValue);
27 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
28
30
31 inline const Aws::String& GetOwnerId() const { return m_ownerId; }
32 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
33 template <typename OwnerIdT = Aws::String>
34 void SetOwnerId(OwnerIdT&& value) {
35 m_ownerIdHasBeenSet = true;
36 m_ownerId = std::forward<OwnerIdT>(value);
37 }
38 template <typename OwnerIdT = Aws::String>
39 DomainInformation& WithOwnerId(OwnerIdT&& value) {
40 SetOwnerId(std::forward<OwnerIdT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetDomainName() const { return m_domainName; }
48 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
49 template <typename DomainNameT = Aws::String>
50 void SetDomainName(DomainNameT&& value) {
51 m_domainNameHasBeenSet = true;
52 m_domainName = std::forward<DomainNameT>(value);
53 }
54 template <typename DomainNameT = Aws::String>
55 DomainInformation& WithDomainName(DomainNameT&& value) {
56 SetDomainName(std::forward<DomainNameT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRegion() const { return m_region; }
64 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
65 template <typename RegionT = Aws::String>
66 void SetRegion(RegionT&& value) {
67 m_regionHasBeenSet = true;
68 m_region = std::forward<RegionT>(value);
69 }
70 template <typename RegionT = Aws::String>
71 DomainInformation& WithRegion(RegionT&& value) {
72 SetRegion(std::forward<RegionT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_ownerId;
78
79 Aws::String m_domainName;
80
81 Aws::String m_region;
82 bool m_ownerIdHasBeenSet = false;
83 bool m_domainNameHasBeenSet = false;
84 bool m_regionHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ElasticsearchService
89} // namespace Aws
DomainInformation & WithRegion(RegionT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainInformation(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API DomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainInformation & WithOwnerId(OwnerIdT &&value)
AWS_ELASTICSEARCHSERVICE_API DomainInformation()=default
DomainInformation & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue