AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateEnvironmentProfileResult.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 UpdateEnvironmentProfileResult() = 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
160 inline const Aws::String& GetName() const { return m_name; }
161 template <typename NameT = Aws::String>
162 void SetName(NameT&& value) {
163 m_nameHasBeenSet = true;
164 m_name = std::forward<NameT>(value);
165 }
166 template <typename NameT = Aws::String>
168 SetName(std::forward<NameT>(value));
169 return *this;
170 }
172
174
178 inline const Aws::String& GetDescription() const { return m_description; }
179 template <typename DescriptionT = Aws::String>
180 void SetDescription(DescriptionT&& value) {
181 m_descriptionHasBeenSet = true;
182 m_description = std::forward<DescriptionT>(value);
183 }
184 template <typename DescriptionT = Aws::String>
186 SetDescription(std::forward<DescriptionT>(value));
187 return *this;
188 }
190
192
196 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
197 template <typename EnvironmentBlueprintIdT = Aws::String>
198 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
199 m_environmentBlueprintIdHasBeenSet = true;
200 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
201 }
202 template <typename EnvironmentBlueprintIdT = Aws::String>
204 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
205 return *this;
206 }
208
210
214 inline const Aws::String& GetProjectId() const { return m_projectId; }
215 template <typename ProjectIdT = Aws::String>
216 void SetProjectId(ProjectIdT&& value) {
217 m_projectIdHasBeenSet = true;
218 m_projectId = std::forward<ProjectIdT>(value);
219 }
220 template <typename ProjectIdT = Aws::String>
222 SetProjectId(std::forward<ProjectIdT>(value));
223 return *this;
224 }
226
228
232 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
233 template <typename UserParametersT = Aws::Vector<CustomParameter>>
234 void SetUserParameters(UserParametersT&& value) {
235 m_userParametersHasBeenSet = true;
236 m_userParameters = std::forward<UserParametersT>(value);
237 }
238 template <typename UserParametersT = Aws::Vector<CustomParameter>>
240 SetUserParameters(std::forward<UserParametersT>(value));
241 return *this;
242 }
243 template <typename UserParametersT = CustomParameter>
245 m_userParametersHasBeenSet = true;
246 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
247 return *this;
248 }
250
252
253 inline const Aws::String& GetRequestId() const { return m_requestId; }
254 template <typename RequestIdT = Aws::String>
255 void SetRequestId(RequestIdT&& value) {
256 m_requestIdHasBeenSet = true;
257 m_requestId = std::forward<RequestIdT>(value);
258 }
259 template <typename RequestIdT = Aws::String>
261 SetRequestId(std::forward<RequestIdT>(value));
262 return *this;
263 }
265 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
266
267 private:
268 Aws::String m_id;
269
270 Aws::String m_domainId;
271
272 Aws::String m_awsAccountId;
273
274 Aws::String m_awsAccountRegion;
275
276 Aws::String m_createdBy;
277
278 Aws::Utils::DateTime m_createdAt{};
279
280 Aws::Utils::DateTime m_updatedAt{};
281
282 Aws::String m_name;
283
284 Aws::String m_description;
285
286 Aws::String m_environmentBlueprintId;
287
288 Aws::String m_projectId;
289
290 Aws::Vector<CustomParameter> m_userParameters;
291
292 Aws::String m_requestId;
293 Aws::Http::HttpResponseCode m_HttpResponseCode;
294 bool m_idHasBeenSet = false;
295 bool m_domainIdHasBeenSet = false;
296 bool m_awsAccountIdHasBeenSet = false;
297 bool m_awsAccountRegionHasBeenSet = false;
298 bool m_createdByHasBeenSet = false;
299 bool m_createdAtHasBeenSet = false;
300 bool m_updatedAtHasBeenSet = false;
301 bool m_nameHasBeenSet = false;
302 bool m_descriptionHasBeenSet = false;
303 bool m_environmentBlueprintIdHasBeenSet = false;
304 bool m_projectIdHasBeenSet = false;
305 bool m_userParametersHasBeenSet = false;
306 bool m_requestIdHasBeenSet = false;
307};
308
309} // namespace Model
310} // namespace DataZone
311} // namespace Aws
AWS_DATAZONE_API UpdateEnvironmentProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API UpdateEnvironmentProfileResult()=default
UpdateEnvironmentProfileResult & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API UpdateEnvironmentProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateEnvironmentProfileResult & WithCreatedAt(CreatedAtT &&value)
UpdateEnvironmentProfileResult & WithName(NameT &&value)
UpdateEnvironmentProfileResult & WithProjectId(ProjectIdT &&value)
UpdateEnvironmentProfileResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
UpdateEnvironmentProfileResult & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentProfileResult & WithDomainId(DomainIdT &&value)
UpdateEnvironmentProfileResult & WithDescription(DescriptionT &&value)
const Aws::Vector< CustomParameter > & GetUserParameters() const
UpdateEnvironmentProfileResult & AddUserParameters(UserParametersT &&value)
UpdateEnvironmentProfileResult & WithAwsAccountId(AwsAccountIdT &&value)
UpdateEnvironmentProfileResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
UpdateEnvironmentProfileResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateEnvironmentProfileResult & WithRequestId(RequestIdT &&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