AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CreateProjectProfileResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentConfiguration.h>
12#include <aws/datazone/model/ResourceTagParameter.h>
13#include <aws/datazone/model/Status.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone {
27namespace Model {
29 public:
30 AWS_DATAZONE_API CreateProjectProfileResult() = default;
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template <typename NameT = Aws::String>
74 void SetName(NameT&& value) {
75 m_nameHasBeenSet = true;
76 m_name = std::forward<NameT>(value);
77 }
78 template <typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template <typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) {
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
106 inline Status GetStatus() const { return m_status; }
107 inline void SetStatus(Status value) {
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
121 inline const Aws::Vector<ResourceTagParameter>& GetProjectResourceTags() const { return m_projectResourceTags; }
122 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
123 void SetProjectResourceTags(ProjectResourceTagsT&& value) {
124 m_projectResourceTagsHasBeenSet = true;
125 m_projectResourceTags = std::forward<ProjectResourceTagsT>(value);
126 }
127 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
129 SetProjectResourceTags(std::forward<ProjectResourceTagsT>(value));
130 return *this;
131 }
132 template <typename ProjectResourceTagsT = ResourceTagParameter>
133 CreateProjectProfileResult& AddProjectResourceTags(ProjectResourceTagsT&& value) {
134 m_projectResourceTagsHasBeenSet = true;
135 m_projectResourceTags.emplace_back(std::forward<ProjectResourceTagsT>(value));
136 return *this;
137 }
139
141
144 inline bool GetAllowCustomProjectResourceTags() const { return m_allowCustomProjectResourceTags; }
145 inline void SetAllowCustomProjectResourceTags(bool value) {
146 m_allowCustomProjectResourceTagsHasBeenSet = true;
147 m_allowCustomProjectResourceTags = value;
148 }
151 return *this;
152 }
154
156
160 inline const Aws::String& GetProjectResourceTagsDescription() const { return m_projectResourceTagsDescription; }
161 template <typename ProjectResourceTagsDescriptionT = Aws::String>
162 void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
163 m_projectResourceTagsDescriptionHasBeenSet = true;
164 m_projectResourceTagsDescription = std::forward<ProjectResourceTagsDescriptionT>(value);
165 }
166 template <typename ProjectResourceTagsDescriptionT = Aws::String>
167 CreateProjectProfileResult& WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
168 SetProjectResourceTagsDescription(std::forward<ProjectResourceTagsDescriptionT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
178 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
179 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
180 m_environmentConfigurationsHasBeenSet = true;
181 m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value);
182 }
183 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
184 CreateProjectProfileResult& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
185 SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value));
186 return *this;
187 }
188 template <typename EnvironmentConfigurationsT = EnvironmentConfiguration>
189 CreateProjectProfileResult& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
190 m_environmentConfigurationsHasBeenSet = true;
191 m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
201 template <typename CreatedByT = Aws::String>
202 void SetCreatedBy(CreatedByT&& value) {
203 m_createdByHasBeenSet = true;
204 m_createdBy = std::forward<CreatedByT>(value);
205 }
206 template <typename CreatedByT = Aws::String>
208 SetCreatedBy(std::forward<CreatedByT>(value));
209 return *this;
210 }
212
214
217 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
218 template <typename CreatedAtT = Aws::Utils::DateTime>
219 void SetCreatedAt(CreatedAtT&& value) {
220 m_createdAtHasBeenSet = true;
221 m_createdAt = std::forward<CreatedAtT>(value);
222 }
223 template <typename CreatedAtT = Aws::Utils::DateTime>
225 SetCreatedAt(std::forward<CreatedAtT>(value));
226 return *this;
227 }
229
231
234 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
235 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
236 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
237 m_lastUpdatedAtHasBeenSet = true;
238 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
239 }
240 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
242 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
252 template <typename DomainUnitIdT = Aws::String>
253 void SetDomainUnitId(DomainUnitIdT&& value) {
254 m_domainUnitIdHasBeenSet = true;
255 m_domainUnitId = std::forward<DomainUnitIdT>(value);
256 }
257 template <typename DomainUnitIdT = Aws::String>
259 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
260 return *this;
261 }
263
265
266 inline const Aws::String& GetRequestId() const { return m_requestId; }
267 template <typename RequestIdT = Aws::String>
268 void SetRequestId(RequestIdT&& value) {
269 m_requestIdHasBeenSet = true;
270 m_requestId = std::forward<RequestIdT>(value);
271 }
272 template <typename RequestIdT = Aws::String>
274 SetRequestId(std::forward<RequestIdT>(value));
275 return *this;
276 }
278 private:
279 Aws::String m_domainId;
280
281 Aws::String m_id;
282
283 Aws::String m_name;
284
285 Aws::String m_description;
286
287 Status m_status{Status::NOT_SET};
288
289 Aws::Vector<ResourceTagParameter> m_projectResourceTags;
290
291 bool m_allowCustomProjectResourceTags{false};
292
293 Aws::String m_projectResourceTagsDescription;
294
295 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
296
297 Aws::String m_createdBy;
298
299 Aws::Utils::DateTime m_createdAt{};
300
301 Aws::Utils::DateTime m_lastUpdatedAt{};
302
303 Aws::String m_domainUnitId;
304
305 Aws::String m_requestId;
306 bool m_domainIdHasBeenSet = false;
307 bool m_idHasBeenSet = false;
308 bool m_nameHasBeenSet = false;
309 bool m_descriptionHasBeenSet = false;
310 bool m_statusHasBeenSet = false;
311 bool m_projectResourceTagsHasBeenSet = false;
312 bool m_allowCustomProjectResourceTagsHasBeenSet = false;
313 bool m_projectResourceTagsDescriptionHasBeenSet = false;
314 bool m_environmentConfigurationsHasBeenSet = false;
315 bool m_createdByHasBeenSet = false;
316 bool m_createdAtHasBeenSet = false;
317 bool m_lastUpdatedAtHasBeenSet = false;
318 bool m_domainUnitIdHasBeenSet = false;
319 bool m_requestIdHasBeenSet = false;
320};
321
322} // namespace Model
323} // namespace DataZone
324} // 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