AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CreateEnvironmentProfileResult.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/CustomParameter.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API CreateEnvironmentProfileResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetDomainId() const { return m_domainId; }
55 template <typename DomainIdT = Aws::String>
56 void SetDomainId(DomainIdT&& value) {
57 m_domainIdHasBeenSet = true;
58 m_domainId = std::forward<DomainIdT>(value);
59 }
60 template <typename DomainIdT = Aws::String>
62 SetDomainId(std::forward<DomainIdT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
73 template <typename AwsAccountIdT = Aws::String>
74 void SetAwsAccountId(AwsAccountIdT&& value) {
75 m_awsAccountIdHasBeenSet = true;
76 m_awsAccountId = std::forward<AwsAccountIdT>(value);
77 }
78 template <typename AwsAccountIdT = Aws::String>
80 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
91 template <typename AwsAccountRegionT = Aws::String>
92 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
93 m_awsAccountRegionHasBeenSet = true;
94 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
95 }
96 template <typename AwsAccountRegionT = Aws::String>
98 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
108 template <typename CreatedByT = Aws::String>
109 void SetCreatedBy(CreatedByT&& value) {
110 m_createdByHasBeenSet = true;
111 m_createdBy = std::forward<CreatedByT>(value);
112 }
113 template <typename CreatedByT = Aws::String>
115 SetCreatedBy(std::forward<CreatedByT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
125 template <typename CreatedAtT = Aws::Utils::DateTime>
126 void SetCreatedAt(CreatedAtT&& value) {
127 m_createdAtHasBeenSet = true;
128 m_createdAt = std::forward<CreatedAtT>(value);
129 }
130 template <typename CreatedAtT = Aws::Utils::DateTime>
132 SetCreatedAt(std::forward<CreatedAtT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
142 template <typename UpdatedAtT = Aws::Utils::DateTime>
143 void SetUpdatedAt(UpdatedAtT&& value) {
144 m_updatedAtHasBeenSet = true;
145 m_updatedAt = std::forward<UpdatedAtT>(value);
146 }
147 template <typename UpdatedAtT = Aws::Utils::DateTime>
149 SetUpdatedAt(std::forward<UpdatedAtT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::String& GetName() const { return m_name; }
159 template <typename NameT = Aws::String>
160 void SetName(NameT&& value) {
161 m_nameHasBeenSet = true;
162 m_name = std::forward<NameT>(value);
163 }
164 template <typename NameT = Aws::String>
166 SetName(std::forward<NameT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::String& GetDescription() const { return m_description; }
176 template <typename DescriptionT = Aws::String>
177 void SetDescription(DescriptionT&& value) {
178 m_descriptionHasBeenSet = true;
179 m_description = std::forward<DescriptionT>(value);
180 }
181 template <typename DescriptionT = Aws::String>
183 SetDescription(std::forward<DescriptionT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
193 template <typename EnvironmentBlueprintIdT = Aws::String>
194 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
195 m_environmentBlueprintIdHasBeenSet = true;
196 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
197 }
198 template <typename EnvironmentBlueprintIdT = Aws::String>
200 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
201 return *this;
202 }
204
206
210 inline const Aws::String& GetProjectId() const { return m_projectId; }
211 template <typename ProjectIdT = Aws::String>
212 void SetProjectId(ProjectIdT&& value) {
213 m_projectIdHasBeenSet = true;
214 m_projectId = std::forward<ProjectIdT>(value);
215 }
216 template <typename ProjectIdT = Aws::String>
218 SetProjectId(std::forward<ProjectIdT>(value));
219 return *this;
220 }
222
224
227 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
228 template <typename UserParametersT = Aws::Vector<CustomParameter>>
229 void SetUserParameters(UserParametersT&& value) {
230 m_userParametersHasBeenSet = true;
231 m_userParameters = std::forward<UserParametersT>(value);
232 }
233 template <typename UserParametersT = Aws::Vector<CustomParameter>>
235 SetUserParameters(std::forward<UserParametersT>(value));
236 return *this;
237 }
238 template <typename UserParametersT = CustomParameter>
240 m_userParametersHasBeenSet = true;
241 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
242 return *this;
243 }
245
247
248 inline const Aws::String& GetRequestId() const { return m_requestId; }
249 template <typename RequestIdT = Aws::String>
250 void SetRequestId(RequestIdT&& value) {
251 m_requestIdHasBeenSet = true;
252 m_requestId = std::forward<RequestIdT>(value);
253 }
254 template <typename RequestIdT = Aws::String>
256 SetRequestId(std::forward<RequestIdT>(value));
257 return *this;
258 }
260 private:
261 Aws::String m_id;
262
263 Aws::String m_domainId;
264
265 Aws::String m_awsAccountId;
266
267 Aws::String m_awsAccountRegion;
268
269 Aws::String m_createdBy;
270
271 Aws::Utils::DateTime m_createdAt{};
272
273 Aws::Utils::DateTime m_updatedAt{};
274
275 Aws::String m_name;
276
277 Aws::String m_description;
278
279 Aws::String m_environmentBlueprintId;
280
281 Aws::String m_projectId;
282
283 Aws::Vector<CustomParameter> m_userParameters;
284
285 Aws::String m_requestId;
286 bool m_idHasBeenSet = false;
287 bool m_domainIdHasBeenSet = false;
288 bool m_awsAccountIdHasBeenSet = false;
289 bool m_awsAccountRegionHasBeenSet = false;
290 bool m_createdByHasBeenSet = false;
291 bool m_createdAtHasBeenSet = false;
292 bool m_updatedAtHasBeenSet = false;
293 bool m_nameHasBeenSet = false;
294 bool m_descriptionHasBeenSet = false;
295 bool m_environmentBlueprintIdHasBeenSet = false;
296 bool m_projectIdHasBeenSet = false;
297 bool m_userParametersHasBeenSet = false;
298 bool m_requestIdHasBeenSet = false;
299};
300
301} // namespace Model
302} // namespace DataZone
303} // namespace Aws
CreateEnvironmentProfileResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API CreateEnvironmentProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateEnvironmentProfileResult & WithRequestId(RequestIdT &&value)
CreateEnvironmentProfileResult & WithCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API CreateEnvironmentProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< CustomParameter > & GetUserParameters() const
CreateEnvironmentProfileResult & WithDescription(DescriptionT &&value)
CreateEnvironmentProfileResult & WithName(NameT &&value)
CreateEnvironmentProfileResult & WithProjectId(ProjectIdT &&value)
CreateEnvironmentProfileResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
AWS_DATAZONE_API CreateEnvironmentProfileResult()=default
CreateEnvironmentProfileResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
CreateEnvironmentProfileResult & AddUserParameters(UserParametersT &&value)
CreateEnvironmentProfileResult & WithDomainId(DomainIdT &&value)
CreateEnvironmentProfileResult & WithAwsAccountId(AwsAccountIdT &&value)
CreateEnvironmentProfileResult & WithCreatedBy(CreatedByT &&value)
CreateEnvironmentProfileResult & WithUserParameters(UserParametersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue