AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/datazone/model/DomainStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API DomainSummary();
37 AWS_DATAZONE_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline DomainSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline DomainSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline DomainSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline DomainSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline DomainSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline DomainSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline DomainSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline DomainSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::String& GetId() const{ return m_id; }
87 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
88 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
89 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
90 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
91 inline DomainSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
92 inline DomainSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
93 inline DomainSummary& WithId(const char* value) { SetId(value); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
101 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
102 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
103 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
104 inline DomainSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
105 inline DomainSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
107
109
113 inline const Aws::String& GetManagedAccountId() const{ return m_managedAccountId; }
114 inline bool ManagedAccountIdHasBeenSet() const { return m_managedAccountIdHasBeenSet; }
115 inline void SetManagedAccountId(const Aws::String& value) { m_managedAccountIdHasBeenSet = true; m_managedAccountId = value; }
116 inline void SetManagedAccountId(Aws::String&& value) { m_managedAccountIdHasBeenSet = true; m_managedAccountId = std::move(value); }
117 inline void SetManagedAccountId(const char* value) { m_managedAccountIdHasBeenSet = true; m_managedAccountId.assign(value); }
118 inline DomainSummary& WithManagedAccountId(const Aws::String& value) { SetManagedAccountId(value); return *this;}
119 inline DomainSummary& WithManagedAccountId(Aws::String&& value) { SetManagedAccountId(std::move(value)); return *this;}
120 inline DomainSummary& WithManagedAccountId(const char* value) { SetManagedAccountId(value); return *this;}
122
124
127 inline const Aws::String& GetName() const{ return m_name; }
128 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
129 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
130 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
131 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
132 inline DomainSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
133 inline DomainSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
134 inline DomainSummary& WithName(const char* value) { SetName(value); return *this;}
136
138
141 inline const Aws::String& GetPortalUrl() const{ return m_portalUrl; }
142 inline bool PortalUrlHasBeenSet() const { return m_portalUrlHasBeenSet; }
143 inline void SetPortalUrl(const Aws::String& value) { m_portalUrlHasBeenSet = true; m_portalUrl = value; }
144 inline void SetPortalUrl(Aws::String&& value) { m_portalUrlHasBeenSet = true; m_portalUrl = std::move(value); }
145 inline void SetPortalUrl(const char* value) { m_portalUrlHasBeenSet = true; m_portalUrl.assign(value); }
146 inline DomainSummary& WithPortalUrl(const Aws::String& value) { SetPortalUrl(value); return *this;}
147 inline DomainSummary& WithPortalUrl(Aws::String&& value) { SetPortalUrl(std::move(value)); return *this;}
148 inline DomainSummary& WithPortalUrl(const char* value) { SetPortalUrl(value); return *this;}
150
152
155 inline const DomainStatus& GetStatus() const{ return m_status; }
156 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
157 inline void SetStatus(const DomainStatus& value) { m_statusHasBeenSet = true; m_status = value; }
158 inline void SetStatus(DomainStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
159 inline DomainSummary& WithStatus(const DomainStatus& value) { SetStatus(value); return *this;}
160 inline DomainSummary& WithStatus(DomainStatus&& value) { SetStatus(std::move(value)); return *this;}
162 private:
163
164 Aws::String m_arn;
165 bool m_arnHasBeenSet = false;
166
167 Aws::Utils::DateTime m_createdAt;
168 bool m_createdAtHasBeenSet = false;
169
170 Aws::String m_description;
171 bool m_descriptionHasBeenSet = false;
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::Utils::DateTime m_lastUpdatedAt;
177 bool m_lastUpdatedAtHasBeenSet = false;
178
179 Aws::String m_managedAccountId;
180 bool m_managedAccountIdHasBeenSet = false;
181
182 Aws::String m_name;
183 bool m_nameHasBeenSet = false;
184
185 Aws::String m_portalUrl;
186 bool m_portalUrlHasBeenSet = false;
187
188 DomainStatus m_status;
189 bool m_statusHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace DataZone
194} // namespace Aws
const Aws::String & GetId() const
DomainSummary & WithName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
DomainSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
DomainSummary & WithId(const Aws::String &value)
void SetName(const char *value)
DomainSummary & WithManagedAccountId(Aws::String &&value)
DomainSummary & WithStatus(DomainStatus &&value)
DomainSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
DomainSummary & WithId(const char *value)
void SetId(const char *value)
void SetArn(Aws::String &&value)
const DomainStatus & GetStatus() const
const Aws::String & GetDescription() const
const Aws::String & GetManagedAccountId() const
void SetManagedAccountId(Aws::String &&value)
DomainSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
DomainSummary & WithName(const char *value)
DomainSummary & WithManagedAccountId(const char *value)
DomainSummary & WithArn(const char *value)
void SetArn(const char *value)
DomainSummary & WithManagedAccountId(const Aws::String &value)
const Aws::String & GetName() const
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
DomainSummary & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
DomainSummary & WithStatus(const DomainStatus &value)
DomainSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPortalUrl() const
void SetDescription(const Aws::String &value)
DomainSummary & WithDescription(const char *value)
DomainSummary & WithPortalUrl(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
DomainSummary & WithDescription(const Aws::String &value)
void SetPortalUrl(Aws::String &&value)
void SetManagedAccountId(const char *value)
DomainSummary & WithArn(const Aws::String &value)
AWS_DATAZONE_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetPortalUrl(const char *value)
void SetId(const Aws::String &value)
DomainSummary & WithPortalUrl(const Aws::String &value)
void SetPortalUrl(const Aws::String &value)
DomainSummary & WithPortalUrl(Aws::String &&value)
void SetStatus(const DomainStatus &value)
DomainSummary & WithName(Aws::String &&value)
DomainSummary & WithArn(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
DomainSummary & WithId(Aws::String &&value)
void SetStatus(DomainStatus &&value)
void SetManagedAccountId(const Aws::String &value)
void SetDescription(const char *value)
const Aws::String & GetArn() const
void SetId(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(Aws::String &&value)
void SetDescription(Aws::String &&value)
AWS_DATAZONE_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue