AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
GetEnvironmentProfileResult.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 GetEnvironmentProfileResult() = 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
89 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
90 template <typename AwsAccountRegionT = Aws::String>
91 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
92 m_awsAccountRegionHasBeenSet = true;
93 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
94 }
95 template <typename AwsAccountRegionT = Aws::String>
97 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
107 template <typename CreatedByT = Aws::String>
108 void SetCreatedBy(CreatedByT&& value) {
109 m_createdByHasBeenSet = true;
110 m_createdBy = std::forward<CreatedByT>(value);
111 }
112 template <typename CreatedByT = Aws::String>
114 SetCreatedBy(std::forward<CreatedByT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
124 template <typename CreatedAtT = Aws::Utils::DateTime>
125 void SetCreatedAt(CreatedAtT&& value) {
126 m_createdAtHasBeenSet = true;
127 m_createdAt = std::forward<CreatedAtT>(value);
128 }
129 template <typename CreatedAtT = Aws::Utils::DateTime>
131 SetCreatedAt(std::forward<CreatedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
141 template <typename UpdatedAtT = Aws::Utils::DateTime>
142 void SetUpdatedAt(UpdatedAtT&& value) {
143 m_updatedAtHasBeenSet = true;
144 m_updatedAt = std::forward<UpdatedAtT>(value);
145 }
146 template <typename UpdatedAtT = Aws::Utils::DateTime>
148 SetUpdatedAt(std::forward<UpdatedAtT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetName() const { return m_name; }
158 template <typename NameT = Aws::String>
159 void SetName(NameT&& value) {
160 m_nameHasBeenSet = true;
161 m_name = std::forward<NameT>(value);
162 }
163 template <typename NameT = Aws::String>
165 SetName(std::forward<NameT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetDescription() const { return m_description; }
175 template <typename DescriptionT = Aws::String>
176 void SetDescription(DescriptionT&& value) {
177 m_descriptionHasBeenSet = true;
178 m_description = std::forward<DescriptionT>(value);
179 }
180 template <typename DescriptionT = Aws::String>
182 SetDescription(std::forward<DescriptionT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
192 template <typename EnvironmentBlueprintIdT = Aws::String>
193 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
194 m_environmentBlueprintIdHasBeenSet = true;
195 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
196 }
197 template <typename EnvironmentBlueprintIdT = Aws::String>
198 GetEnvironmentProfileResult& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
199 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
200 return *this;
201 }
203
205
209 inline const Aws::String& GetProjectId() const { return m_projectId; }
210 template <typename ProjectIdT = Aws::String>
211 void SetProjectId(ProjectIdT&& value) {
212 m_projectIdHasBeenSet = true;
213 m_projectId = std::forward<ProjectIdT>(value);
214 }
215 template <typename ProjectIdT = Aws::String>
217 SetProjectId(std::forward<ProjectIdT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::Vector<CustomParameter>& GetUserParameters() const { return m_userParameters; }
227 template <typename UserParametersT = Aws::Vector<CustomParameter>>
228 void SetUserParameters(UserParametersT&& value) {
229 m_userParametersHasBeenSet = true;
230 m_userParameters = std::forward<UserParametersT>(value);
231 }
232 template <typename UserParametersT = Aws::Vector<CustomParameter>>
234 SetUserParameters(std::forward<UserParametersT>(value));
235 return *this;
236 }
237 template <typename UserParametersT = CustomParameter>
239 m_userParametersHasBeenSet = true;
240 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
241 return *this;
242 }
244
246
247 inline const Aws::String& GetRequestId() const { return m_requestId; }
248 template <typename RequestIdT = Aws::String>
249 void SetRequestId(RequestIdT&& value) {
250 m_requestIdHasBeenSet = true;
251 m_requestId = std::forward<RequestIdT>(value);
252 }
253 template <typename RequestIdT = Aws::String>
255 SetRequestId(std::forward<RequestIdT>(value));
256 return *this;
257 }
259 private:
260 Aws::String m_id;
261
262 Aws::String m_domainId;
263
264 Aws::String m_awsAccountId;
265
266 Aws::String m_awsAccountRegion;
267
268 Aws::String m_createdBy;
269
270 Aws::Utils::DateTime m_createdAt{};
271
272 Aws::Utils::DateTime m_updatedAt{};
273
274 Aws::String m_name;
275
276 Aws::String m_description;
277
278 Aws::String m_environmentBlueprintId;
279
280 Aws::String m_projectId;
281
282 Aws::Vector<CustomParameter> m_userParameters;
283
284 Aws::String m_requestId;
285 bool m_idHasBeenSet = false;
286 bool m_domainIdHasBeenSet = false;
287 bool m_awsAccountIdHasBeenSet = false;
288 bool m_awsAccountRegionHasBeenSet = false;
289 bool m_createdByHasBeenSet = false;
290 bool m_createdAtHasBeenSet = false;
291 bool m_updatedAtHasBeenSet = false;
292 bool m_nameHasBeenSet = false;
293 bool m_descriptionHasBeenSet = false;
294 bool m_environmentBlueprintIdHasBeenSet = false;
295 bool m_projectIdHasBeenSet = false;
296 bool m_userParametersHasBeenSet = false;
297 bool m_requestIdHasBeenSet = false;
298};
299
300} // namespace Model
301} // namespace DataZone
302} // namespace Aws
const Aws::Vector< CustomParameter > & GetUserParameters() const
GetEnvironmentProfileResult & WithDescription(DescriptionT &&value)
GetEnvironmentProfileResult & AddUserParameters(UserParametersT &&value)
AWS_DATAZONE_API GetEnvironmentProfileResult()=default
GetEnvironmentProfileResult & WithId(IdT &&value)
GetEnvironmentProfileResult & WithAwsAccountId(AwsAccountIdT &&value)
AWS_DATAZONE_API GetEnvironmentProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentProfileResult & WithProjectId(ProjectIdT &&value)
GetEnvironmentProfileResult & WithUserParameters(UserParametersT &&value)
GetEnvironmentProfileResult & WithCreatedBy(CreatedByT &&value)
GetEnvironmentProfileResult & WithAwsAccountRegion(AwsAccountRegionT &&value)
GetEnvironmentProfileResult & WithUpdatedAt(UpdatedAtT &&value)
GetEnvironmentProfileResult & WithRequestId(RequestIdT &&value)
GetEnvironmentProfileResult & WithCreatedAt(CreatedAtT &&value)
GetEnvironmentProfileResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
GetEnvironmentProfileResult & WithName(NameT &&value)
GetEnvironmentProfileResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetEnvironmentProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&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