AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
ProjectProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/Status.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API ProjectProfileSummary() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
42 template <typename DomainIdT = Aws::String>
43 void SetDomainId(DomainIdT&& value) {
44 m_domainIdHasBeenSet = true;
45 m_domainId = std::forward<DomainIdT>(value);
46 }
47 template <typename DomainIdT = Aws::String>
48 ProjectProfileSummary& WithDomainId(DomainIdT&& value) {
49 SetDomainId(std::forward<DomainIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
102 ProjectProfileSummary& WithDescription(DescriptionT&& value) {
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline Status GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(Status value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
129 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
130 template <typename CreatedByT = Aws::String>
131 void SetCreatedBy(CreatedByT&& value) {
132 m_createdByHasBeenSet = true;
133 m_createdBy = std::forward<CreatedByT>(value);
134 }
135 template <typename CreatedByT = Aws::String>
137 SetCreatedBy(std::forward<CreatedByT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
147 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
148 template <typename CreatedAtT = Aws::Utils::DateTime>
149 void SetCreatedAt(CreatedAtT&& value) {
150 m_createdAtHasBeenSet = true;
151 m_createdAt = std::forward<CreatedAtT>(value);
152 }
153 template <typename CreatedAtT = Aws::Utils::DateTime>
155 SetCreatedAt(std::forward<CreatedAtT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
165 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
166 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
167 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
168 m_lastUpdatedAtHasBeenSet = true;
169 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
170 }
171 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
172 ProjectProfileSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) {
173 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
183 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
184 template <typename DomainUnitIdT = Aws::String>
185 void SetDomainUnitId(DomainUnitIdT&& value) {
186 m_domainUnitIdHasBeenSet = true;
187 m_domainUnitId = std::forward<DomainUnitIdT>(value);
188 }
189 template <typename DomainUnitIdT = Aws::String>
190 ProjectProfileSummary& WithDomainUnitId(DomainUnitIdT&& value) {
191 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_domainId;
197
198 Aws::String m_id;
199
200 Aws::String m_name;
201
202 Aws::String m_description;
203
204 Status m_status{Status::NOT_SET};
205
206 Aws::String m_createdBy;
207
208 Aws::Utils::DateTime m_createdAt{};
209
210 Aws::Utils::DateTime m_lastUpdatedAt{};
211
212 Aws::String m_domainUnitId;
213 bool m_domainIdHasBeenSet = false;
214 bool m_idHasBeenSet = false;
215 bool m_nameHasBeenSet = false;
216 bool m_descriptionHasBeenSet = false;
217 bool m_statusHasBeenSet = false;
218 bool m_createdByHasBeenSet = false;
219 bool m_createdAtHasBeenSet = false;
220 bool m_lastUpdatedAtHasBeenSet = false;
221 bool m_domainUnitIdHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace DataZone
226} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ProjectProfileSummary & WithDescription(DescriptionT &&value)
ProjectProfileSummary & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API ProjectProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ProjectProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectProfileSummary & WithStatus(Status value)
ProjectProfileSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
ProjectProfileSummary & WithCreatedAt(CreatedAtT &&value)
ProjectProfileSummary & WithName(NameT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectProfileSummary & WithId(IdT &&value)
ProjectProfileSummary & WithDomainUnitId(DomainUnitIdT &&value)
ProjectProfileSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API ProjectProfileSummary()=default
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue