AWS SDK for C++  1.9.108
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 
134  inline const Aws::String& GetTarget() const{ return m_target; }
135 
148  inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
149 
162  inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
163 
176  inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
177 
190  inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
191 
204  inline DomainEntry& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
205 
218  inline DomainEntry& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
219 
232  inline DomainEntry& WithTarget(const char* value) { SetTarget(value); return *this;}
233 
234 
241  inline bool GetIsAlias() const{ return m_isAlias; }
242 
249  inline bool IsAliasHasBeenSet() const { return m_isAliasHasBeenSet; }
250 
257  inline void SetIsAlias(bool value) { m_isAliasHasBeenSet = true; m_isAlias = value; }
258 
265  inline DomainEntry& WithIsAlias(bool value) { SetIsAlias(value); return *this;}
266 
267 
278  inline const Aws::String& GetType() const{ return m_type; }
279 
290  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
291 
302  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
303 
314  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
315 
326  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
327 
338  inline DomainEntry& WithType(const Aws::String& value) { SetType(value); return *this;}
339 
350  inline DomainEntry& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
351 
362  inline DomainEntry& WithType(const char* value) { SetType(value); return *this;}
363 
364  private:
365 
366  Aws::String m_id;
367  bool m_idHasBeenSet;
368 
369  Aws::String m_name;
370  bool m_nameHasBeenSet;
371 
372  Aws::String m_target;
373  bool m_targetHasBeenSet;
374 
375  bool m_isAlias;
376  bool m_isAliasHasBeenSet;
377 
378  Aws::String m_type;
379  bool m_typeHasBeenSet;
380  };
381 
382 } // namespace Model
383 } // namespace Lightsail
384 } // 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:278
Aws::Lightsail::Model::DomainEntry::WithType
DomainEntry & WithType(Aws::String &&value)
Definition: DomainEntry.h:350
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:302
Aws::Lightsail::Model::DomainEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::DomainEntry::GetIsAlias
bool GetIsAlias() const
Definition: DomainEntry.h:241
Aws::Lightsail::Model::DomainEntry::WithType
DomainEntry & WithType(const char *value)
Definition: DomainEntry.h:362
Aws::Lightsail::Model::DomainEntry::WithTarget
DomainEntry & WithTarget(const Aws::String &value)
Definition: DomainEntry.h:204
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:162
Aws::Lightsail::Model::DomainEntry::WithTarget
DomainEntry & WithTarget(const char *value)
Definition: DomainEntry.h:232
Aws::Lightsail::Model::DomainEntry::SetTarget
void SetTarget(Aws::String &&value)
Definition: DomainEntry.h:176
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:249
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:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::DomainEntry::WithIsAlias
DomainEntry & WithIsAlias(bool value)
Definition: DomainEntry.h:265
Aws::Lightsail::Model::DomainEntry::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DomainEntry.h:290
Aws::Lightsail::Model::DomainEntry::SetTarget
void SetTarget(const char *value)
Definition: DomainEntry.h:190
Lightsail_EXPORTS.h
Aws::Lightsail::Model::DomainEntry::SetType
void SetType(const char *value)
Definition: DomainEntry.h:326
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:314
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:338
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::DomainEntry::SetIsAlias
void SetIsAlias(bool value)
Definition: DomainEntry.h:257
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:148
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:218
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:134