AWS SDK for C++  1.9.154
AWS SDK for C++
ActionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
49  inline const Aws::String& GetActionArn() const{ return m_actionArn; }
50 
54  inline bool ActionArnHasBeenSet() const { return m_actionArnHasBeenSet; }
55 
59  inline void SetActionArn(const Aws::String& value) { m_actionArnHasBeenSet = true; m_actionArn = value; }
60 
64  inline void SetActionArn(Aws::String&& value) { m_actionArnHasBeenSet = true; m_actionArn = std::move(value); }
65 
69  inline void SetActionArn(const char* value) { m_actionArnHasBeenSet = true; m_actionArn.assign(value); }
70 
74  inline ActionSummary& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
75 
79  inline ActionSummary& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
80 
84  inline ActionSummary& WithActionArn(const char* value) { SetActionArn(value); return *this;}
85 
86 
90  inline const Aws::String& GetActionName() const{ return m_actionName; }
91 
95  inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
96 
100  inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
101 
105  inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
106 
110  inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
111 
115  inline ActionSummary& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
116 
120  inline ActionSummary& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
121 
125  inline ActionSummary& WithActionName(const char* value) { SetActionName(value); return *this;}
126 
127 
131  inline const ActionSource& GetSource() const{ return m_source; }
132 
136  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
137 
141  inline void SetSource(const ActionSource& value) { m_sourceHasBeenSet = true; m_source = value; }
142 
146  inline void SetSource(ActionSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
147 
151  inline ActionSummary& WithSource(const ActionSource& value) { SetSource(value); return *this;}
152 
156  inline ActionSummary& WithSource(ActionSource&& value) { SetSource(std::move(value)); return *this;}
157 
158 
162  inline const Aws::String& GetActionType() const{ return m_actionType; }
163 
167  inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
168 
172  inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
173 
177  inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
178 
182  inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
183 
187  inline ActionSummary& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
188 
192  inline ActionSummary& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
193 
197  inline ActionSummary& WithActionType(const char* value) { SetActionType(value); return *this;}
198 
199 
203  inline const ActionStatus& GetStatus() const{ return m_status; }
204 
208  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
209 
213  inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
214 
218  inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
219 
223  inline ActionSummary& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
224 
228  inline ActionSummary& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
229 
230 
234  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
235 
239  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
240 
244  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
245 
249  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
250 
254  inline ActionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
255 
259  inline ActionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
260 
261 
265  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
266 
270  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
271 
275  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
276 
280  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
281 
285  inline ActionSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
286 
290  inline ActionSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
291 
292  private:
293 
294  Aws::String m_actionArn;
295  bool m_actionArnHasBeenSet;
296 
297  Aws::String m_actionName;
298  bool m_actionNameHasBeenSet;
299 
300  ActionSource m_source;
301  bool m_sourceHasBeenSet;
302 
303  Aws::String m_actionType;
304  bool m_actionTypeHasBeenSet;
305 
306  ActionStatus m_status;
307  bool m_statusHasBeenSet;
308 
309  Aws::Utils::DateTime m_creationTime;
310  bool m_creationTimeHasBeenSet;
311 
312  Aws::Utils::DateTime m_lastModifiedTime;
313  bool m_lastModifiedTimeHasBeenSet;
314  };
315 
316 } // namespace Model
317 } // namespace SageMaker
318 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ActionSource
Definition: ActionSource.h:32
Aws::SageMaker::Model::ActionSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ActionSummary.h:249
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ActionSummary::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: ActionSummary.h:136
Aws::SageMaker::Model::ActionSummary::SetActionName
void SetActionName(const char *value)
Definition: ActionSummary.h:110
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ActionSummary::GetActionType
const Aws::String & GetActionType() const
Definition: ActionSummary.h:162
DateTime.h
Aws::SageMaker::Model::ActionSummary::ActionNameHasBeenSet
bool ActionNameHasBeenSet() const
Definition: ActionSummary.h:95
Aws::SageMaker::Model::ActionSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ActionSummary.h:208
Aws::SageMaker::Model::ActionStatus
ActionStatus
Definition: ActionStatus.h:17
Aws::SageMaker::Model::ActionSummary::WithActionName
ActionSummary & WithActionName(const Aws::String &value)
Definition: ActionSummary.h:115
Aws::SageMaker::Model::ActionSummary
Definition: ActionSummary.h:38
Aws::SageMaker::Model::ActionSummary::SetActionType
void SetActionType(const char *value)
Definition: ActionSummary.h:182
Aws::SageMaker::Model::ActionSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ActionSummary.h:234
Aws::SageMaker::Model::ActionSummary::WithActionType
ActionSummary & WithActionType(Aws::String &&value)
Definition: ActionSummary.h:192
Aws::SageMaker::Model::ActionSummary::WithActionArn
ActionSummary & WithActionArn(const char *value)
Definition: ActionSummary.h:84
Aws::SageMaker::Model::ActionSummary::WithActionType
ActionSummary & WithActionType(const Aws::String &value)
Definition: ActionSummary.h:187
Aws::SageMaker::Model::ActionSummary::SetActionType
void SetActionType(const Aws::String &value)
Definition: ActionSummary.h:172
Aws::SageMaker::Model::ActionSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ActionSummary.h:275
Aws::SageMaker::Model::ActionSummary::GetStatus
const ActionStatus & GetStatus() const
Definition: ActionSummary.h:203
Aws::SageMaker::Model::ActionSummary::SetActionName
void SetActionName(Aws::String &&value)
Definition: ActionSummary.h:105
Aws::SageMaker::Model::ActionSummary::WithActionName
ActionSummary & WithActionName(const char *value)
Definition: ActionSummary.h:125
Aws::SageMaker::Model::ActionSummary::ActionArnHasBeenSet
bool ActionArnHasBeenSet() const
Definition: ActionSummary.h:54
Aws::SageMaker::Model::ActionSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ActionSummary.h:239
Aws::SageMaker::Model::ActionSummary::SetSource
void SetSource(ActionSource &&value)
Definition: ActionSummary.h:146
Aws::SageMaker::Model::ActionSummary::WithLastModifiedTime
ActionSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ActionSummary.h:290
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ActionSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: ActionSummary.h:270
Aws::SageMaker::Model::ActionSummary::GetActionArn
const Aws::String & GetActionArn() const
Definition: ActionSummary.h:49
Aws::SageMaker::Model::ActionSummary::WithActionName
ActionSummary & WithActionName(Aws::String &&value)
Definition: ActionSummary.h:120
Aws::SageMaker::Model::ActionSummary::ActionSummary
ActionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ActionSummary::SetStatus
void SetStatus(const ActionStatus &value)
Definition: ActionSummary.h:213
AWSString.h
Aws::SageMaker::Model::ActionSummary::WithActionType
ActionSummary & WithActionType(const char *value)
Definition: ActionSummary.h:197
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ActionSummary::SetActionName
void SetActionName(const Aws::String &value)
Definition: ActionSummary.h:100
Aws::SageMaker::Model::ActionSummary::ActionTypeHasBeenSet
bool ActionTypeHasBeenSet() const
Definition: ActionSummary.h:167
Aws::SageMaker::Model::ActionSummary::WithCreationTime
ActionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ActionSummary.h:254
Aws::SageMaker::Model::ActionSummary::SetActionArn
void SetActionArn(const Aws::String &value)
Definition: ActionSummary.h:59
Aws::SageMaker::Model::ActionSummary::WithStatus
ActionSummary & WithStatus(const ActionStatus &value)
Definition: ActionSummary.h:223
Aws::SageMaker::Model::ActionSummary::WithSource
ActionSummary & WithSource(const ActionSource &value)
Definition: ActionSummary.h:151
Aws::SageMaker::Model::ActionSummary::ActionSummary
ActionSummary()
Aws::SageMaker::Model::ActionSummary::operator=
ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
ActionStatus.h
Aws::SageMaker::Model::ActionSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: ActionSummary.h:265
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ActionSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ActionSummary.h:280
ActionSource.h
Aws::SageMaker::Model::ActionSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ActionSummary.h:244
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ActionSummary::SetStatus
void SetStatus(ActionStatus &&value)
Definition: ActionSummary.h:218
Aws::SageMaker::Model::ActionSummary::WithLastModifiedTime
ActionSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ActionSummary.h:285
Aws::SageMaker::Model::ActionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ActionSummary::WithSource
ActionSummary & WithSource(ActionSource &&value)
Definition: ActionSummary.h:156
Aws::SageMaker::Model::ActionSummary::GetActionName
const Aws::String & GetActionName() const
Definition: ActionSummary.h:90
Aws::SageMaker::Model::ActionSummary::WithActionArn
ActionSummary & WithActionArn(const Aws::String &value)
Definition: ActionSummary.h:74
Aws::SageMaker::Model::ActionSummary::GetSource
const ActionSource & GetSource() const
Definition: ActionSummary.h:131
Aws::SageMaker::Model::ActionSummary::SetActionArn
void SetActionArn(const char *value)
Definition: ActionSummary.h:69
Aws::SageMaker::Model::ActionSummary::SetActionType
void SetActionType(Aws::String &&value)
Definition: ActionSummary.h:177
Aws::SageMaker::Model::ActionSummary::WithStatus
ActionSummary & WithStatus(ActionStatus &&value)
Definition: ActionSummary.h:228
Aws::SageMaker::Model::ActionSummary::SetSource
void SetSource(const ActionSource &value)
Definition: ActionSummary.h:141
Aws::SageMaker::Model::ActionSummary::WithCreationTime
ActionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ActionSummary.h:259
Aws::SageMaker::Model::ActionSummary::SetActionArn
void SetActionArn(Aws::String &&value)
Definition: ActionSummary.h:64
Aws::SageMaker::Model::ActionSummary::WithActionArn
ActionSummary & WithActionArn(Aws::String &&value)
Definition: ActionSummary.h:79