AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateProjectProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/EnvironmentConfiguration.h>
13#include <aws/datazone/model/ResourceTagParameter.h>
14#include <aws/datazone/model/Status.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API CreateProjectProfileResult() = default;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
92 void SetDescription(DescriptionT&& value) {
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline Status GetStatus() const { return m_status; }
108 inline void SetStatus(Status value) {
109 m_statusHasBeenSet = true;
110 m_status = value;
111 }
113 SetStatus(value);
114 return *this;
115 }
117
119
122 inline const Aws::Vector<ResourceTagParameter>& GetProjectResourceTags() const { return m_projectResourceTags; }
123 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
124 void SetProjectResourceTags(ProjectResourceTagsT&& value) {
125 m_projectResourceTagsHasBeenSet = true;
126 m_projectResourceTags = std::forward<ProjectResourceTagsT>(value);
127 }
128 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
130 SetProjectResourceTags(std::forward<ProjectResourceTagsT>(value));
131 return *this;
132 }
133 template <typename ProjectResourceTagsT = ResourceTagParameter>
134 CreateProjectProfileResult& AddProjectResourceTags(ProjectResourceTagsT&& value) {
135 m_projectResourceTagsHasBeenSet = true;
136 m_projectResourceTags.emplace_back(std::forward<ProjectResourceTagsT>(value));
137 return *this;
138 }
140
142
145 inline bool GetAllowCustomProjectResourceTags() const { return m_allowCustomProjectResourceTags; }
146 inline void SetAllowCustomProjectResourceTags(bool value) {
147 m_allowCustomProjectResourceTagsHasBeenSet = true;
148 m_allowCustomProjectResourceTags = value;
149 }
152 return *this;
153 }
155
157
161 inline const Aws::String& GetProjectResourceTagsDescription() const { return m_projectResourceTagsDescription; }
162 template <typename ProjectResourceTagsDescriptionT = Aws::String>
163 void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
164 m_projectResourceTagsDescriptionHasBeenSet = true;
165 m_projectResourceTagsDescription = std::forward<ProjectResourceTagsDescriptionT>(value);
166 }
167 template <typename ProjectResourceTagsDescriptionT = Aws::String>
168 CreateProjectProfileResult& WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
169 SetProjectResourceTagsDescription(std::forward<ProjectResourceTagsDescriptionT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
179 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
180 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
181 m_environmentConfigurationsHasBeenSet = true;
182 m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value);
183 }
184 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
185 CreateProjectProfileResult& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
186 SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value));
187 return *this;
188 }
189 template <typename EnvironmentConfigurationsT = EnvironmentConfiguration>
190 CreateProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
191 m_environmentConfigurationsHasBeenSet = true;
192 m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
202 template <typename CreatedByT = Aws::String>
203 void SetCreatedBy(CreatedByT&& value) {
204 m_createdByHasBeenSet = true;
205 m_createdBy = std::forward<CreatedByT>(value);
206 }
207 template <typename CreatedByT = Aws::String>
209 SetCreatedBy(std::forward<CreatedByT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
219 template <typename CreatedAtT = Aws::Utils::DateTime>
220 void SetCreatedAt(CreatedAtT&& value) {
221 m_createdAtHasBeenSet = true;
222 m_createdAt = std::forward<CreatedAtT>(value);
223 }
224 template <typename CreatedAtT = Aws::Utils::DateTime>
226 SetCreatedAt(std::forward<CreatedAtT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
236 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
237 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
238 m_lastUpdatedAtHasBeenSet = true;
239 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
240 }
241 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
243 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
244 return *this;
245 }
247
249
252 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
253 template <typename DomainUnitIdT = Aws::String>
254 void SetDomainUnitId(DomainUnitIdT&& value) {
255 m_domainUnitIdHasBeenSet = true;
256 m_domainUnitId = std::forward<DomainUnitIdT>(value);
257 }
258 template <typename DomainUnitIdT = Aws::String>
260 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
261 return *this;
262 }
264
266
267 inline const Aws::String& GetRequestId() const { return m_requestId; }
268 template <typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) {
270 m_requestIdHasBeenSet = true;
271 m_requestId = std::forward<RequestIdT>(value);
272 }
273 template <typename RequestIdT = Aws::String>
275 SetRequestId(std::forward<RequestIdT>(value));
276 return *this;
277 }
279 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
280
281 private:
282 Aws::String m_domainId;
283
284 Aws::String m_id;
285
286 Aws::String m_name;
287
288 Aws::String m_description;
289
290 Status m_status{Status::NOT_SET};
291
292 Aws::Vector<ResourceTagParameter> m_projectResourceTags;
293
294 bool m_allowCustomProjectResourceTags{false};
295
296 Aws::String m_projectResourceTagsDescription;
297
298 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
299
300 Aws::String m_createdBy;
301
302 Aws::Utils::DateTime m_createdAt{};
303
304 Aws::Utils::DateTime m_lastUpdatedAt{};
305
306 Aws::String m_domainUnitId;
307
308 Aws::String m_requestId;
309 Aws::Http::HttpResponseCode m_HttpResponseCode;
310 bool m_domainIdHasBeenSet = false;
311 bool m_idHasBeenSet = false;
312 bool m_nameHasBeenSet = false;
313 bool m_descriptionHasBeenSet = false;
314 bool m_statusHasBeenSet = false;
315 bool m_projectResourceTagsHasBeenSet = false;
316 bool m_allowCustomProjectResourceTagsHasBeenSet = false;
317 bool m_projectResourceTagsDescriptionHasBeenSet = false;
318 bool m_environmentConfigurationsHasBeenSet = false;
319 bool m_createdByHasBeenSet = false;
320 bool m_createdAtHasBeenSet = false;
321 bool m_lastUpdatedAtHasBeenSet = false;
322 bool m_domainUnitIdHasBeenSet = false;
323 bool m_requestIdHasBeenSet = false;
324};
325
326} // namespace Model
327} // namespace DataZone
328} // namespace Aws
CreateProjectProfileResult & WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
CreateProjectProfileResult & WithId(IdT &&value)
CreateProjectProfileResult & WithDomainId(DomainIdT &&value)
void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
CreateProjectProfileResult & WithRequestId(RequestIdT &&value)
CreateProjectProfileResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
CreateProjectProfileResult & WithCreatedAt(CreatedAtT &&value)
CreateProjectProfileResult & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileResult & WithDomainUnitId(DomainUnitIdT &&value)
CreateProjectProfileResult & WithName(NameT &&value)
CreateProjectProfileResult & WithProjectResourceTags(ProjectResourceTagsT &&value)
CreateProjectProfileResult & AddProjectResourceTags(ProjectResourceTagsT &&value)
CreateProjectProfileResult & WithStatus(Status value)
AWS_DATAZONE_API CreateProjectProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateProjectProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
CreateProjectProfileResult & WithAllowCustomProjectResourceTags(bool value)
CreateProjectProfileResult & WithCreatedBy(CreatedByT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileResult & WithDescription(DescriptionT &&value)
CreateProjectProfileResult & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
AWS_DATAZONE_API CreateProjectProfileResult()=default
const Aws::Vector< ResourceTagParameter > & GetProjectResourceTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue