AWS SDK for C++  1.9.108
AWS SDK for C++
DomainInformation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ElasticsearchService
22 {
23 namespace Model
24 {
25 
27  {
28  public:
33 
34 
35 
36  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
37 
38 
39  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
40 
41 
42  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
43 
44 
45  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
46 
47 
48  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
49 
50 
51  inline DomainInformation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
52 
53 
54  inline DomainInformation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
55 
56 
57  inline DomainInformation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
58 
59 
60 
61  inline const Aws::String& GetDomainName() const{ return m_domainName; }
62 
63 
64  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
65 
66 
67  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
68 
69 
70  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
71 
72 
73  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
74 
75 
76  inline DomainInformation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
77 
78 
79  inline DomainInformation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
80 
81 
82  inline DomainInformation& WithDomainName(const char* value) { SetDomainName(value); return *this;}
83 
84 
85 
86  inline const Aws::String& GetRegion() const{ return m_region; }
87 
88 
89  inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
90 
91 
92  inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
93 
94 
95  inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
96 
97 
98  inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
99 
100 
101  inline DomainInformation& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
102 
103 
104  inline DomainInformation& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
105 
106 
107  inline DomainInformation& WithRegion(const char* value) { SetRegion(value); return *this;}
108 
109  private:
110 
111  Aws::String m_ownerId;
112  bool m_ownerIdHasBeenSet;
113 
114  Aws::String m_domainName;
115  bool m_domainNameHasBeenSet;
116 
117  Aws::String m_region;
118  bool m_regionHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace ElasticsearchService
123 } // namespace Aws
Aws::ElasticsearchService::Model::DomainInformation::WithRegion
DomainInformation & WithRegion(const char *value)
Definition: DomainInformation.h:107
Aws::ElasticsearchService::Model::DomainInformation::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DomainInformation.h:70
Aws::ElasticsearchService::Model::DomainInformation::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: DomainInformation.h:42
Aws::ElasticsearchService::Model::DomainInformation::DomainInformation
DomainInformation(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DomainInformation::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DomainInformation.h:67
Aws::ElasticsearchService::Model::DomainInformation::WithRegion
DomainInformation & WithRegion(Aws::String &&value)
Definition: DomainInformation.h:104
Aws::ElasticsearchService::Model::DomainInformation::DomainInformation
DomainInformation()
Aws::ElasticsearchService::Model::DomainInformation::WithOwnerId
DomainInformation & WithOwnerId(Aws::String &&value)
Definition: DomainInformation.h:54
Aws::ElasticsearchService::Model::DomainInformation::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DomainInformation.h:64
Aws::ElasticsearchService::Model::DomainInformation::SetDomainName
void SetDomainName(const char *value)
Definition: DomainInformation.h:73
Aws::ElasticsearchService::Model::DomainInformation::WithOwnerId
DomainInformation & WithOwnerId(const Aws::String &value)
Definition: DomainInformation.h:51
Aws::ElasticsearchService::Model::DomainInformation::WithDomainName
DomainInformation & WithDomainName(Aws::String &&value)
Definition: DomainInformation.h:79
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DomainInformation::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: DomainInformation.h:39
Aws::ElasticsearchService::Model::DomainInformation::SetRegion
void SetRegion(const Aws::String &value)
Definition: DomainInformation.h:92
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainInformation::WithOwnerId
DomainInformation & WithOwnerId(const char *value)
Definition: DomainInformation.h:57
Aws::ElasticsearchService::Model::DomainInformation::SetOwnerId
void SetOwnerId(const char *value)
Definition: DomainInformation.h:48
Aws::ElasticsearchService::Model::DomainInformation::SetRegion
void SetRegion(const char *value)
Definition: DomainInformation.h:98
Aws::ElasticsearchService::Model::DomainInformation::operator=
DomainInformation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::DomainInformation::GetDomainName
const Aws::String & GetDomainName() const
Definition: DomainInformation.h:61
Aws::ElasticsearchService::Model::DomainInformation
Definition: DomainInformation.h:27
Aws::ElasticsearchService::Model::DomainInformation::WithDomainName
DomainInformation & WithDomainName(const char *value)
Definition: DomainInformation.h:82
Aws::ElasticsearchService::Model::DomainInformation::WithRegion
DomainInformation & WithRegion(const Aws::String &value)
Definition: DomainInformation.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DomainInformation::WithDomainName
DomainInformation & WithDomainName(const Aws::String &value)
Definition: DomainInformation.h:76
Aws::ElasticsearchService::Model::DomainInformation::RegionHasBeenSet
bool RegionHasBeenSet() const
Definition: DomainInformation.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DomainInformation::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: DomainInformation.h:36
Aws::ElasticsearchService::Model::DomainInformation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DomainInformation::GetRegion
const Aws::String & GetRegion() const
Definition: DomainInformation.h:86
Aws::ElasticsearchService::Model::DomainInformation::SetRegion
void SetRegion(Aws::String &&value)
Definition: DomainInformation.h:95
Aws::ElasticsearchService::Model::DomainInformation::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: DomainInformation.h:45