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/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/swf/model/RegistrationStatus.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 SWF
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SWF_API DomainInfo();
36 AWS_SWF_API DomainInfo(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline DomainInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline DomainInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline DomainInfo& WithName(const char* value) { SetName(value); return *this;}
54
56
64 inline const RegistrationStatus& GetStatus() const{ return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 inline void SetStatus(const RegistrationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
67 inline void SetStatus(RegistrationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
68 inline DomainInfo& WithStatus(const RegistrationStatus& value) { SetStatus(value); return *this;}
69 inline DomainInfo& WithStatus(RegistrationStatus&& value) { SetStatus(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline DomainInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline DomainInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline DomainInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetArn() const{ return m_arn; }
91 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
92 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
93 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
94 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
95 inline DomainInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;}
96 inline DomainInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
97 inline DomainInfo& WithArn(const char* value) { SetArn(value); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 RegistrationStatus m_status;
105 bool m_statusHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110 Aws::String m_arn;
111 bool m_arnHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SWF
116} // namespace Aws
void SetDescription(const Aws::String &value)
Definition DomainInfo.h:78
const Aws::String & GetName() const
Definition DomainInfo.h:45
void SetDescription(Aws::String &&value)
Definition DomainInfo.h:79
bool StatusHasBeenSet() const
Definition DomainInfo.h:65
const Aws::String & GetDescription() const
Definition DomainInfo.h:76
void SetName(const Aws::String &value)
Definition DomainInfo.h:47
void SetArn(const Aws::String &value)
Definition DomainInfo.h:92
void SetName(Aws::String &&value)
Definition DomainInfo.h:48
DomainInfo & WithArn(Aws::String &&value)
Definition DomainInfo.h:96
DomainInfo & WithName(const char *value)
Definition DomainInfo.h:52
const Aws::String & GetArn() const
Definition DomainInfo.h:90
void SetDescription(const char *value)
Definition DomainInfo.h:80
DomainInfo & WithArn(const char *value)
Definition DomainInfo.h:97
void SetStatus(const RegistrationStatus &value)
Definition DomainInfo.h:66
void SetArn(const char *value)
Definition DomainInfo.h:94
DomainInfo & WithName(Aws::String &&value)
Definition DomainInfo.h:51
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(RegistrationStatus &&value)
Definition DomainInfo.h:67
DomainInfo & WithDescription(const Aws::String &value)
Definition DomainInfo.h:81
DomainInfo & WithArn(const Aws::String &value)
Definition DomainInfo.h:95
AWS_SWF_API DomainInfo(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Definition DomainInfo.h:49
bool DescriptionHasBeenSet() const
Definition DomainInfo.h:77
DomainInfo & WithDescription(const char *value)
Definition DomainInfo.h:83
DomainInfo & WithDescription(Aws::String &&value)
Definition DomainInfo.h:82
const RegistrationStatus & GetStatus() const
Definition DomainInfo.h:64
DomainInfo & WithName(const Aws::String &value)
Definition DomainInfo.h:50
void SetArn(Aws::String &&value)
Definition DomainInfo.h:93
AWS_SWF_API DomainInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainInfo & WithStatus(RegistrationStatus &&value)
Definition DomainInfo.h:69
DomainInfo & WithStatus(const RegistrationStatus &value)
Definition DomainInfo.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue