AWS SDK for C++  1.9.14
AWS SDK for C++
DomainEntry.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 Lightsail
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
68  inline DomainEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline DomainEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline DomainEntry& WithId(const char* value) { SetId(value); return *this;}
79 
80 
84  inline const Aws::String& GetName() const{ return m_name; }
85 
89  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 
94  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 
99  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 
104  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 
109  inline DomainEntry& WithName(const Aws::String& value) { SetName(value); return *this;}
110 
114  inline DomainEntry& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 
119  inline DomainEntry& WithName(const char* value) { SetName(value); return *this;}
120 
121 
129  inline const Aws::String& GetTarget() const{ return m_target; }
130 
138  inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
139 
147  inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
148 
156  inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
157 
165  inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
166 
174  inline DomainEntry& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
175 
183  inline DomainEntry& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
184 
192  inline DomainEntry& WithTarget(const char* value) { SetTarget(value); return *this;}
193 
194 
201  inline bool GetIsAlias() const{ return m_isAlias; }
202 
209  inline bool IsAliasHasBeenSet() const { return m_isAliasHasBeenSet; }
210 
217  inline void SetIsAlias(bool value) { m_isAliasHasBeenSet = true; m_isAlias = value; }
218 
225  inline DomainEntry& WithIsAlias(bool value) { SetIsAlias(value); return *this;}
226 
227 
237  inline const Aws::String& GetType() const{ return m_type; }
238 
248  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
249 
259  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
260 
270  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
271 
281  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
282 
292  inline DomainEntry& WithType(const Aws::String& value) { SetType(value); return *this;}
293 
303  inline DomainEntry& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
304 
314  inline DomainEntry& WithType(const char* value) { SetType(value); return *this;}
315 
316  private:
317 
318  Aws::String m_id;
319  bool m_idHasBeenSet;
320 
321  Aws::String m_name;
322  bool m_nameHasBeenSet;
323 
324  Aws::String m_target;
325  bool m_targetHasBeenSet;
326 
327  bool m_isAlias;
328  bool m_isAliasHasBeenSet;
329 
330  Aws::String m_type;
331  bool m_typeHasBeenSet;
332  };
333 
334 } // namespace Model
335 } // namespace Lightsail
336 } // namespace Aws
Aws::Lightsail::Model::DomainEntry::SetName
void SetName(const char *value)
Definition: DomainEntry.h:104
Aws::Lightsail::Model::DomainEntry::GetType
const Aws::String & GetType() const
Definition: DomainEntry.h:237
Aws::Lightsail::Model::DomainEntry::WithType
DomainEntry & WithType(Aws::String &&value)
Definition: DomainEntry.h:303
Aws::Lightsail::Model::DomainEntry::WithId
DomainEntry & WithId(const Aws::String &value)
Definition: DomainEntry.h:68
Aws::Lightsail::Model::DomainEntry::DomainEntry
DomainEntry()
Aws::Lightsail::Model::DomainEntry::SetType
void SetType(const Aws::String &value)
Definition: DomainEntry.h:259
Aws::Lightsail::Model::DomainEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::DomainEntry::GetIsAlias
bool GetIsAlias() const
Definition: DomainEntry.h:201
Aws::Lightsail::Model::DomainEntry::WithType
DomainEntry & WithType(const char *value)
Definition: DomainEntry.h:314
Aws::Lightsail::Model::DomainEntry::WithTarget
DomainEntry & WithTarget(const Aws::String &value)
Definition: DomainEntry.h:174
Aws::Lightsail::Model::DomainEntry::SetId
void SetId(const char *value)
Definition: DomainEntry.h:63
Aws::Lightsail::Model::DomainEntry::SetName
void SetName(const Aws::String &value)
Definition: DomainEntry.h:94
Aws::Lightsail::Model::DomainEntry::WithName
DomainEntry & WithName(Aws::String &&value)
Definition: DomainEntry.h:114
Aws::Lightsail::Model::DomainEntry::GetName
const Aws::String & GetName() const
Definition: DomainEntry.h:84
Aws::Lightsail::Model::DomainEntry::SetTarget
void SetTarget(const Aws::String &value)
Definition: DomainEntry.h:147
Aws::Lightsail::Model::DomainEntry::WithTarget
DomainEntry & WithTarget(const char *value)
Definition: DomainEntry.h:192
Aws::Lightsail::Model::DomainEntry::SetTarget
void SetTarget(Aws::String &&value)
Definition: DomainEntry.h:156
Aws::Lightsail::Model::DomainEntry::DomainEntry
DomainEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::DomainEntry::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DomainEntry.h:89
Aws::Lightsail::Model::DomainEntry::IsAliasHasBeenSet
bool IsAliasHasBeenSet() const
Definition: DomainEntry.h:209
Aws::Lightsail::Model::DomainEntry::operator=
DomainEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::DomainEntry::WithName
DomainEntry & WithName(const char *value)
Definition: DomainEntry.h:119
Aws::Lightsail::Model::DomainEntry::WithId
DomainEntry & WithId(Aws::String &&value)
Definition: DomainEntry.h:73
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::DomainEntry::WithIsAlias
DomainEntry & WithIsAlias(bool value)
Definition: DomainEntry.h:225
Aws::Lightsail::Model::DomainEntry::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DomainEntry.h:248
Aws::Lightsail::Model::DomainEntry::SetTarget
void SetTarget(const char *value)
Definition: DomainEntry.h:165
Lightsail_EXPORTS.h
Aws::Lightsail::Model::DomainEntry::SetType
void SetType(const char *value)
Definition: DomainEntry.h:281
Aws::Lightsail::Model::DomainEntry::SetId
void SetId(const Aws::String &value)
Definition: DomainEntry.h:53
Aws::Lightsail::Model::DomainEntry::SetType
void SetType(Aws::String &&value)
Definition: DomainEntry.h:270
Aws::Lightsail::Model::DomainEntry::SetId
void SetId(Aws::String &&value)
Definition: DomainEntry.h:58
Aws::Lightsail::Model::DomainEntry::WithType
DomainEntry & WithType(const Aws::String &value)
Definition: DomainEntry.h:292
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DomainEntry::SetIsAlias
void SetIsAlias(bool value)
Definition: DomainEntry.h:217
Aws::Lightsail::Model::DomainEntry::GetId
const Aws::String & GetId() const
Definition: DomainEntry.h:43
Aws::Lightsail::Model::DomainEntry::TargetHasBeenSet
bool TargetHasBeenSet() const
Definition: DomainEntry.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::DomainEntry::WithName
DomainEntry & WithName(const Aws::String &value)
Definition: DomainEntry.h:109
Aws::Lightsail::Model::DomainEntry::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DomainEntry.h:48
Aws::Lightsail::Model::DomainEntry::WithId
DomainEntry & WithId(const char *value)
Definition: DomainEntry.h:78
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::DomainEntry
Definition: DomainEntry.h:32
Aws::Lightsail::Model::DomainEntry::WithTarget
DomainEntry & WithTarget(Aws::String &&value)
Definition: DomainEntry.h:183
Aws::Lightsail::Model::DomainEntry::SetName
void SetName(Aws::String &&value)
Definition: DomainEntry.h:99
Aws::Lightsail::Model::DomainEntry::GetTarget
const Aws::String & GetTarget() const
Definition: DomainEntry.h:129