AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::String& GetActionName() const{ return m_actionName; }
46 inline void SetActionName(const Aws::String& value) { m_actionName = value; }
47 inline void SetActionName(Aws::String&& value) { m_actionName = std::move(value); }
48 inline void SetActionName(const char* value) { m_actionName.assign(value); }
49 inline DescribeActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
50 inline DescribeActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
51 inline DescribeActionResult& WithActionName(const char* value) { SetActionName(value); return *this;}
53
55
58 inline const Aws::String& GetActionArn() const{ return m_actionArn; }
59 inline void SetActionArn(const Aws::String& value) { m_actionArn = value; }
60 inline void SetActionArn(Aws::String&& value) { m_actionArn = std::move(value); }
61 inline void SetActionArn(const char* value) { m_actionArn.assign(value); }
62 inline DescribeActionResult& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
63 inline DescribeActionResult& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
64 inline DescribeActionResult& WithActionArn(const char* value) { SetActionArn(value); return *this;}
66
68
71 inline const ActionSource& GetSource() const{ return m_source; }
72 inline void SetSource(const ActionSource& value) { m_source = value; }
73 inline void SetSource(ActionSource&& value) { m_source = std::move(value); }
74 inline DescribeActionResult& WithSource(const ActionSource& value) { SetSource(value); return *this;}
75 inline DescribeActionResult& WithSource(ActionSource&& value) { SetSource(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetActionType() const{ return m_actionType; }
83 inline void SetActionType(const Aws::String& value) { m_actionType = value; }
84 inline void SetActionType(Aws::String&& value) { m_actionType = std::move(value); }
85 inline void SetActionType(const char* value) { m_actionType.assign(value); }
86 inline DescribeActionResult& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
87 inline DescribeActionResult& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
88 inline DescribeActionResult& WithActionType(const char* value) { SetActionType(value); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline void SetDescription(const Aws::String& value) { m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_description.assign(value); }
99 inline DescribeActionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline DescribeActionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline DescribeActionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline const ActionStatus& GetStatus() const{ return m_status; }
109 inline void SetStatus(const ActionStatus& value) { m_status = value; }
110 inline void SetStatus(ActionStatus&& value) { m_status = std::move(value); }
111 inline DescribeActionResult& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
112 inline DescribeActionResult& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
114
116
119 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
120 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_properties = value; }
121 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_properties = std::move(value); }
123 inline DescribeActionResult& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
124 inline DescribeActionResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; }
125 inline DescribeActionResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; }
126 inline DescribeActionResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
127 inline DescribeActionResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; }
128 inline DescribeActionResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
129 inline DescribeActionResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; }
130 inline DescribeActionResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; }
132
134
137 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
138 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
139 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
140 inline DescribeActionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
141 inline DescribeActionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
143
145
146 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
147 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
148 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
149 inline DescribeActionResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
150 inline DescribeActionResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
158 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
159 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
161 inline DescribeActionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
163
165
166 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
167 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
168 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
169 inline DescribeActionResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
170 inline DescribeActionResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
172
174
175 inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; }
176 inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; }
177 inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); }
179 inline DescribeActionResult& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;}
181
183
186 inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; }
187 inline void SetLineageGroupArn(const Aws::String& value) { m_lineageGroupArn = value; }
188 inline void SetLineageGroupArn(Aws::String&& value) { m_lineageGroupArn = std::move(value); }
189 inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); }
190 inline DescribeActionResult& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;}
191 inline DescribeActionResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;}
192 inline DescribeActionResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;}
194
196
197 inline const Aws::String& GetRequestId() const{ return m_requestId; }
198 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
199 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
200 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
201 inline DescribeActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
202 inline DescribeActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
203 inline DescribeActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
205 private:
206
207 Aws::String m_actionName;
208
209 Aws::String m_actionArn;
210
211 ActionSource m_source;
212
213 Aws::String m_actionType;
214
215 Aws::String m_description;
216
217 ActionStatus m_status;
218
220
221 Aws::Utils::DateTime m_creationTime;
222
223 UserContext m_createdBy;
224
225 Aws::Utils::DateTime m_lastModifiedTime;
226
227 UserContext m_lastModifiedBy;
228
229 MetadataProperties m_metadataProperties;
230
231 Aws::String m_lineageGroupArn;
232
233 Aws::String m_requestId;
234 };
235
236} // namespace Model
237} // namespace SageMaker
238} // namespace Aws
DescribeActionResult & WithLineageGroupArn(const char *value)
DescribeActionResult & WithLastModifiedBy(UserContext &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API DescribeActionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeActionResult & WithDescription(const char *value)
AWS_SAGEMAKER_API DescribeActionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeActionResult & AddProperties(Aws::String &&key, const char *value)
DescribeActionResult & AddProperties(const Aws::String &key, Aws::String &&value)
DescribeActionResult & WithDescription(const Aws::String &value)
DescribeActionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeActionResult & WithLineageGroupArn(const Aws::String &value)
DescribeActionResult & WithDescription(Aws::String &&value)
DescribeActionResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeActionResult & WithCreatedBy(UserContext &&value)
DescribeActionResult & AddProperties(const char *key, Aws::String &&value)
DescribeActionResult & WithActionName(Aws::String &&value)
DescribeActionResult & WithActionArn(Aws::String &&value)
DescribeActionResult & WithActionType(const char *value)
DescribeActionResult & WithLastModifiedBy(const UserContext &value)
DescribeActionResult & WithMetadataProperties(const MetadataProperties &value)
DescribeActionResult & WithActionArn(const Aws::String &value)
DescribeActionResult & WithSource(const ActionSource &value)
DescribeActionResult & AddProperties(Aws::String &&key, const Aws::String &value)
DescribeActionResult & WithStatus(const ActionStatus &value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
const MetadataProperties & GetMetadataProperties() const
DescribeActionResult & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
DescribeActionResult & WithActionType(const Aws::String &value)
DescribeActionResult & WithRequestId(const char *value)
DescribeActionResult & WithActionArn(const char *value)
DescribeActionResult & AddProperties(const char *key, const char *value)
DescribeActionResult & WithLineageGroupArn(Aws::String &&value)
DescribeActionResult & WithCreatedBy(const UserContext &value)
void SetDescription(const Aws::String &value)
DescribeActionResult & WithStatus(ActionStatus &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeActionResult & WithActionName(const char *value)
DescribeActionResult & WithActionType(Aws::String &&value)
void SetLineageGroupArn(const Aws::String &value)
DescribeActionResult & WithActionName(const Aws::String &value)
DescribeActionResult & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
DescribeActionResult & WithMetadataProperties(MetadataProperties &&value)
DescribeActionResult & WithRequestId(Aws::String &&value)
void SetLastModifiedBy(const UserContext &value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
DescribeActionResult & WithSource(ActionSource &&value)
void SetMetadataProperties(const MetadataProperties &value)
DescribeActionResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeActionResult & AddProperties(const Aws::String &key, const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeActionResult & WithRequestId(const Aws::String &value)
void SetMetadataProperties(MetadataProperties &&value)
DescribeActionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeActionResult & AddProperties(Aws::String &&key, Aws::String &&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