AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
CreateEnvironmentProfileResult.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/CustomParameter.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API CreateEnvironmentProfileResult() = default;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetDomainId() const { return m_domainId; }
56 template <typename DomainIdT = Aws::String>
57 void SetDomainId(DomainIdT&& value) {
58 m_domainIdHasBeenSet = true;
59 m_domainId = std::forward<DomainIdT>(value);
60 }
61 template <typename DomainIdT = Aws::String>
63 SetDomainId(std::forward<DomainIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
74 template <typename AwsAccountIdT = Aws::String>
75 void SetAwsAccountId(AwsAccountIdT&& value) {
76 m_awsAccountIdHasBeenSet = true;
77 m_awsAccountId = std::forward<AwsAccountIdT>(value);
78 }
79 template <typename AwsAccountIdT = Aws::String>
81 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
92 template <typename AwsAccountRegionT = Aws::String>
93 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
94 m_awsAccountRegionHasBeenSet = true;
95 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
96 }
97 template <typename AwsAccountRegionT = Aws::String>
99 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
109 template <typename CreatedByT = Aws::String>
110 void SetCreatedBy(CreatedByT&& value) {
111 m_createdByHasBeenSet = true;
112 m_createdBy = std::forward<CreatedByT>(value);
113 }
114 template <typename CreatedByT = Aws::String>
116 SetCreatedBy(std::forward<CreatedByT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
126 template <typename CreatedAtT = Aws::Utils::DateTime>
127 void SetCreatedAt(CreatedAtT&& value) {
128 m_createdAtHasBeenSet = true;
129 m_createdAt = std::forward<CreatedAtT>(value);
130 }
131 template <typename CreatedAtT = Aws::Utils::DateTime>
133 SetCreatedAt(std::forward<CreatedAtT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
143 template <typename UpdatedAtT = Aws::Utils::DateTime>
144 void SetUpdatedAt(UpdatedAtT&& value) {
145 m_updatedAtHasBeenSet = true;
146 m_updatedAt = std::forward<UpdatedAtT>(value);
147 }
148 template <typename UpdatedAtT = Aws::Utils::DateTime>
150 SetUpdatedAt(std::forward<UpdatedAtT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetName() const { return m_name; }
160 template <typename NameT = Aws::String>
161 void SetName(NameT&& value) {
162 m_nameHasBeenSet = true;
163 m_name = std::forward<NameT>(value);
164 }
165 template <typename NameT = Aws::String>
167 SetName(std::forward<NameT>(value));
168 return *this;
169 }
171
173
176 inline const Aws::String& GetDescription() const { return m_description; }
177 template <typename DescriptionT = Aws::String>
178 void SetDescription(DescriptionT&& value) {
179 m_descriptionHasBeenSet = true;
180 m_description = std::forward<DescriptionT>(value);
181 }
182 template <typename DescriptionT = Aws::String>
184 SetDescription(std::forward<DescriptionT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
194 template <typename EnvironmentBlueprintIdT = Aws::String>
195 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
196 m_environmentBlueprintIdHasBeenSet = true;
197 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
198 }
199 template <typename EnvironmentBlueprintIdT = Aws::String>
201 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
202 return *this;
203 }
205
207
211 inline const Aws::String& GetProjectId() const { return m_projectId; }
212 template <typename ProjectIdT = Aws::String>
213 void SetProjectId(ProjectIdT&& value) {
214 m_projectIdHasBeenSet = true;
215 m_projectId = std::forward<ProjectIdT>(value);
216 }
217 template <typename ProjectIdT = Aws::String>
219 SetProjectId(std::forward<ProjectIdT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
229 template <typename UserParametersT = Aws::Vector<CustomParameter>>
230 void SetUserParameters(UserParametersT&& value) {
231 m_userParametersHasBeenSet = true;
232 m_userParameters = std::forward<UserParametersT>(value);
233 }
234 template <typename UserParametersT = Aws::Vector<CustomParameter>>
236 SetUserParameters(std::forward<UserParametersT>(value));
237 return *this;
238 }
239 template <typename UserParametersT = CustomParameter>
241 m_userParametersHasBeenSet = true;
242 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
243 return *this;
244 }
246
248
249 inline const Aws::String& GetRequestId() const { return m_requestId; }
250 template <typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) {
252 m_requestIdHasBeenSet = true;
253 m_requestId = std::forward<RequestIdT>(value);
254 }
255 template <typename RequestIdT = Aws::String>
257 SetRequestId(std::forward<RequestIdT>(value));
258 return *this;
259 }
261 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
262
263 private:
264 Aws::String m_id;
265
266 Aws::String m_domainId;
267
268 Aws::String m_awsAccountId;
269
270 Aws::String m_awsAccountRegion;
271
272 Aws::String m_createdBy;
273
274 Aws::Utils::DateTime m_createdAt{};
275
276 Aws::Utils::DateTime m_updatedAt{};
277
278 Aws::String m_name;
279
280 Aws::String m_description;
281
282 Aws::String m_environmentBlueprintId;
283
284 Aws::String m_projectId;
285
286 Aws::Vector<CustomParameter> m_userParameters;
287
288 Aws::String m_requestId;
289 Aws::Http::HttpResponseCode m_HttpResponseCode;
290 bool m_idHasBeenSet = false;
291 bool m_domainIdHasBeenSet = false;
292 bool m_awsAccountIdHasBeenSet = false;
293 bool m_awsAccountRegionHasBeenSet = false;
294 bool m_createdByHasBeenSet = false;
295 bool m_createdAtHasBeenSet = false;
296 bool m_updatedAtHasBeenSet = false;
297 bool m_nameHasBeenSet = false;
298 bool m_descriptionHasBeenSet = false;
299 bool m_environmentBlueprintIdHasBeenSet = false;
300 bool m_projectIdHasBeenSet = false;
301 bool m_userParametersHasBeenSet = false;
302 bool m_requestIdHasBeenSet = false;
303};
304
305} // namespace Model
306} // namespace DataZone
307} // 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