AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeActionResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ActionSource.h>
10#include <aws/sagemaker/model/ActionStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/sagemaker/model/UserContext.h>
14#include <aws/sagemaker/model/MetadataProperties.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace SageMaker
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SAGEMAKER_API DescribeActionResult() = default;
39
40
42
45 inline const Aws::String& GetActionName() const { return m_actionName; }
46 template<typename ActionNameT = Aws::String>
47 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
48 template<typename ActionNameT = Aws::String>
49 DescribeActionResult& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetActionArn() const { return m_actionArn; }
57 template<typename ActionArnT = Aws::String>
58 void SetActionArn(ActionArnT&& value) { m_actionArnHasBeenSet = true; m_actionArn = std::forward<ActionArnT>(value); }
59 template<typename ActionArnT = Aws::String>
60 DescribeActionResult& WithActionArn(ActionArnT&& value) { SetActionArn(std::forward<ActionArnT>(value)); return *this;}
62
64
67 inline const ActionSource& GetSource() const { return m_source; }
68 template<typename SourceT = ActionSource>
69 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
70 template<typename SourceT = ActionSource>
71 DescribeActionResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
73
75
78 inline const Aws::String& GetActionType() const { return m_actionType; }
79 template<typename ActionTypeT = Aws::String>
80 void SetActionType(ActionTypeT&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::forward<ActionTypeT>(value); }
81 template<typename ActionTypeT = Aws::String>
82 DescribeActionResult& WithActionType(ActionTypeT&& value) { SetActionType(std::forward<ActionTypeT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template<typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
92 template<typename DescriptionT = Aws::String>
93 DescribeActionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
95
97
100 inline ActionStatus GetStatus() const { return m_status; }
101 inline void SetStatus(ActionStatus value) { m_statusHasBeenSet = true; m_status = value; }
102 inline DescribeActionResult& WithStatus(ActionStatus value) { SetStatus(value); return *this;}
104
106
109 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
110 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
111 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
112 template<typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
113 DescribeActionResult& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
114 template<typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
115 DescribeActionResult& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
116 m_propertiesHasBeenSet = true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value)); return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
125 template<typename CreationTimeT = Aws::Utils::DateTime>
126 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
127 template<typename CreationTimeT = Aws::Utils::DateTime>
128 DescribeActionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
130
132
133 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
134 template<typename CreatedByT = UserContext>
135 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
136 template<typename CreatedByT = UserContext>
137 DescribeActionResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
145 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
146 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
147 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
148 DescribeActionResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
150
152
153 inline const UserContext& GetLastModifiedBy() const { return m_lastModifiedBy; }
154 template<typename LastModifiedByT = UserContext>
155 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
156 template<typename LastModifiedByT = UserContext>
157 DescribeActionResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
159
161
162 inline const MetadataProperties& GetMetadataProperties() const { return m_metadataProperties; }
163 template<typename MetadataPropertiesT = MetadataProperties>
164 void SetMetadataProperties(MetadataPropertiesT&& value) { m_metadataPropertiesHasBeenSet = true; m_metadataProperties = std::forward<MetadataPropertiesT>(value); }
165 template<typename MetadataPropertiesT = MetadataProperties>
166 DescribeActionResult& WithMetadataProperties(MetadataPropertiesT&& value) { SetMetadataProperties(std::forward<MetadataPropertiesT>(value)); return *this;}
168
170
173 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
174 template<typename LineageGroupArnT = Aws::String>
175 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
176 template<typename LineageGroupArnT = Aws::String>
177 DescribeActionResult& WithLineageGroupArn(LineageGroupArnT&& value) { SetLineageGroupArn(std::forward<LineageGroupArnT>(value)); return *this;}
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template<typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
185 template<typename RequestIdT = Aws::String>
186 DescribeActionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
188 private:
189
190 Aws::String m_actionName;
191 bool m_actionNameHasBeenSet = false;
192
193 Aws::String m_actionArn;
194 bool m_actionArnHasBeenSet = false;
195
196 ActionSource m_source;
197 bool m_sourceHasBeenSet = false;
198
199 Aws::String m_actionType;
200 bool m_actionTypeHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
206 bool m_statusHasBeenSet = false;
207
209 bool m_propertiesHasBeenSet = false;
210
211 Aws::Utils::DateTime m_creationTime{};
212 bool m_creationTimeHasBeenSet = false;
213
214 UserContext m_createdBy;
215 bool m_createdByHasBeenSet = false;
216
217 Aws::Utils::DateTime m_lastModifiedTime{};
218 bool m_lastModifiedTimeHasBeenSet = false;
219
220 UserContext m_lastModifiedBy;
221 bool m_lastModifiedByHasBeenSet = false;
222
223 MetadataProperties m_metadataProperties;
224 bool m_metadataPropertiesHasBeenSet = false;
225
226 Aws::String m_lineageGroupArn;
227 bool m_lineageGroupArnHasBeenSet = false;
228
229 Aws::String m_requestId;
230 bool m_requestIdHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace SageMaker
235} // 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