AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeActionResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ActionSource.h>
12#include <aws/sagemaker/model/ActionStatus.h>
13#include <aws/sagemaker/model/MetadataProperties.h>
14#include <aws/sagemaker/model/UserContext.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker {
28namespace Model {
30 public:
31 AWS_SAGEMAKER_API DescribeActionResult() = default;
34
36
39 inline const Aws::String& GetActionName() const { return m_actionName; }
40 template <typename ActionNameT = Aws::String>
41 void SetActionName(ActionNameT&& value) {
42 m_actionNameHasBeenSet = true;
43 m_actionName = std::forward<ActionNameT>(value);
44 }
45 template <typename ActionNameT = Aws::String>
46 DescribeActionResult& WithActionName(ActionNameT&& value) {
47 SetActionName(std::forward<ActionNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetActionArn() const { return m_actionArn; }
57 template <typename ActionArnT = Aws::String>
58 void SetActionArn(ActionArnT&& value) {
59 m_actionArnHasBeenSet = true;
60 m_actionArn = std::forward<ActionArnT>(value);
61 }
62 template <typename ActionArnT = Aws::String>
63 DescribeActionResult& WithActionArn(ActionArnT&& value) {
64 SetActionArn(std::forward<ActionArnT>(value));
65 return *this;
66 }
68
70
73 inline const ActionSource& GetSource() const { return m_source; }
74 template <typename SourceT = ActionSource>
75 void SetSource(SourceT&& value) {
76 m_sourceHasBeenSet = true;
77 m_source = std::forward<SourceT>(value);
78 }
79 template <typename SourceT = ActionSource>
80 DescribeActionResult& WithSource(SourceT&& value) {
81 SetSource(std::forward<SourceT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetActionType() const { return m_actionType; }
91 template <typename ActionTypeT = Aws::String>
92 void SetActionType(ActionTypeT&& value) {
93 m_actionTypeHasBeenSet = true;
94 m_actionType = std::forward<ActionTypeT>(value);
95 }
96 template <typename ActionTypeT = Aws::String>
97 DescribeActionResult& WithActionType(ActionTypeT&& value) {
98 SetActionType(std::forward<ActionTypeT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetDescription() const { return m_description; }
108 template <typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) {
110 m_descriptionHasBeenSet = true;
111 m_description = std::forward<DescriptionT>(value);
112 }
113 template <typename DescriptionT = Aws::String>
114 DescribeActionResult& WithDescription(DescriptionT&& value) {
115 SetDescription(std::forward<DescriptionT>(value));
116 return *this;
117 }
119
121
124 inline ActionStatus GetStatus() const { return m_status; }
125 inline void SetStatus(ActionStatus value) {
126 m_statusHasBeenSet = true;
127 m_status = value;
128 }
130 SetStatus(value);
131 return *this;
132 }
134
136
139 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
140 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
141 void SetProperties(PropertiesT&& value) {
142 m_propertiesHasBeenSet = true;
143 m_properties = std::forward<PropertiesT>(value);
144 }
145 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
146 DescribeActionResult& WithProperties(PropertiesT&& value) {
147 SetProperties(std::forward<PropertiesT>(value));
148 return *this;
149 }
150 template <typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
151 DescribeActionResult& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
152 m_propertiesHasBeenSet = true;
153 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
163 template <typename CreationTimeT = Aws::Utils::DateTime>
164 void SetCreationTime(CreationTimeT&& value) {
165 m_creationTimeHasBeenSet = true;
166 m_creationTime = std::forward<CreationTimeT>(value);
167 }
168 template <typename CreationTimeT = Aws::Utils::DateTime>
169 DescribeActionResult& WithCreationTime(CreationTimeT&& value) {
170 SetCreationTime(std::forward<CreationTimeT>(value));
171 return *this;
172 }
174
176
177 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
178 template <typename CreatedByT = UserContext>
179 void SetCreatedBy(CreatedByT&& value) {
180 m_createdByHasBeenSet = true;
181 m_createdBy = std::forward<CreatedByT>(value);
182 }
183 template <typename CreatedByT = UserContext>
184 DescribeActionResult& WithCreatedBy(CreatedByT&& value) {
185 SetCreatedBy(std::forward<CreatedByT>(value));
186 return *this;
187 }
189
191
194 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
195 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
196 void SetLastModifiedTime(LastModifiedTimeT&& value) {
197 m_lastModifiedTimeHasBeenSet = true;
198 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
199 }
200 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
201 DescribeActionResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
202 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
203 return *this;
204 }
206
208
209 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
210 template <typename LastModifiedByT = UserContext>
211 void SetLastModifiedBy(LastModifiedByT&& value) {
212 m_lastModifiedByHasBeenSet = true;
213 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
214 }
215 template <typename LastModifiedByT = UserContext>
216 DescribeActionResult& WithLastModifiedBy(LastModifiedByT&& value) {
217 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
218 return *this;
219 }
221
223
224 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
225 template <typename MetadataPropertiesT = MetadataProperties>
226 void SetMetadataProperties(MetadataPropertiesT&& value) {
227 m_metadataPropertiesHasBeenSet = true;
228 m_metadataProperties = std::forward<MetadataPropertiesT>(value);
229 }
230 template <typename MetadataPropertiesT = MetadataProperties>
231 DescribeActionResult& WithMetadataProperties(MetadataPropertiesT&& value) {
232 SetMetadataProperties(std::forward<MetadataPropertiesT>(value));
233 return *this;
234 }
236
238
241 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
242 template <typename LineageGroupArnT = Aws::String>
243 void SetLineageGroupArn(LineageGroupArnT&& value) {
244 m_lineageGroupArnHasBeenSet = true;
245 m_lineageGroupArn = std::forward<LineageGroupArnT>(value);
246 }
247 template <typename LineageGroupArnT = Aws::String>
248 DescribeActionResult& WithLineageGroupArn(LineageGroupArnT&& value) {
249 SetLineageGroupArn(std::forward<LineageGroupArnT>(value));
250 return *this;
251 }
253
255
256 inline const Aws::String& GetRequestId() const { return m_requestId; }
257 template <typename RequestIdT = Aws::String>
258 void SetRequestId(RequestIdT&& value) {
259 m_requestIdHasBeenSet = true;
260 m_requestId = std::forward<RequestIdT>(value);
261 }
262 template <typename RequestIdT = Aws::String>
263 DescribeActionResult& WithRequestId(RequestIdT&& value) {
264 SetRequestId(std::forward<RequestIdT>(value));
265 return *this;
266 }
268 private:
269 Aws::String m_actionName;
270
271 Aws::String m_actionArn;
272
273 ActionSource m_source;
274
275 Aws::String m_actionType;
276
277 Aws::String m_description;
278
280
282
283 Aws::Utils::DateTime m_creationTime{};
284
285 UserContext m_createdBy;
286
287 Aws::Utils::DateTime m_lastModifiedTime{};
288
289 UserContext m_lastModifiedBy;
290
291 MetadataProperties m_metadataProperties;
292
293 Aws::String m_lineageGroupArn;
294
295 Aws::String m_requestId;
296 bool m_actionNameHasBeenSet = false;
297 bool m_actionArnHasBeenSet = false;
298 bool m_sourceHasBeenSet = false;
299 bool m_actionTypeHasBeenSet = false;
300 bool m_descriptionHasBeenSet = false;
301 bool m_statusHasBeenSet = false;
302 bool m_propertiesHasBeenSet = false;
303 bool m_creationTimeHasBeenSet = false;
304 bool m_createdByHasBeenSet = false;
305 bool m_lastModifiedTimeHasBeenSet = false;
306 bool m_lastModifiedByHasBeenSet = false;
307 bool m_metadataPropertiesHasBeenSet = false;
308 bool m_lineageGroupArnHasBeenSet = false;
309 bool m_requestIdHasBeenSet = false;
310};
311
312} // namespace Model
313} // namespace SageMaker
314} // namespace Aws
DescribeActionResult & WithLastModifiedBy(LastModifiedByT &&value)
AWS_SAGEMAKER_API DescribeActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeActionResult & WithActionArn(ActionArnT &&value)
DescribeActionResult & WithCreatedBy(CreatedByT &&value)
DescribeActionResult & WithSource(SourceT &&value)
DescribeActionResult & WithActionName(ActionNameT &&value)
DescribeActionResult & WithActionType(ActionTypeT &&value)
DescribeActionResult & WithStatus(ActionStatus value)
void SetMetadataProperties(MetadataPropertiesT &&value)
DescribeActionResult & WithCreationTime(CreationTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
const MetadataProperties & GetMetadataProperties() const
DescribeActionResult & WithLineageGroupArn(LineageGroupArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeActionResult & WithProperties(PropertiesT &&value)
DescribeActionResult & WithRequestId(RequestIdT &&value)
AWS_SAGEMAKER_API DescribeActionResult()=default
DescribeActionResult & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeActionResult & WithMetadataProperties(MetadataPropertiesT &&value)
void SetLineageGroupArn(LineageGroupArnT &&value)
DescribeActionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeActionResult & WithDescription(DescriptionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue