AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionSummary.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/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_SAGEMAKER_API ActionSummary();
41 AWS_SAGEMAKER_API ActionSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API ActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetActionArn() const{ return m_actionArn; }
51 inline bool ActionArnHasBeenSet() const { return m_actionArnHasBeenSet; }
52 inline void SetActionArn(const Aws::String& value) { m_actionArnHasBeenSet = true; m_actionArn = value; }
53 inline void SetActionArn(Aws::String&& value) { m_actionArnHasBeenSet = true; m_actionArn = std::move(value); }
54 inline void SetActionArn(const char* value) { m_actionArnHasBeenSet = true; m_actionArn.assign(value); }
55 inline ActionSummary& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;}
56 inline ActionSummary& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;}
57 inline ActionSummary& WithActionArn(const char* value) { SetActionArn(value); return *this;}
59
61
64 inline const Aws::String& GetActionName() const{ return m_actionName; }
65 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
66 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
67 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
68 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
69 inline ActionSummary& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
70 inline ActionSummary& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
71 inline ActionSummary& WithActionName(const char* value) { SetActionName(value); return *this;}
73
75
78 inline const ActionSource& GetSource() const{ return m_source; }
79 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
80 inline void SetSource(const ActionSource& value) { m_sourceHasBeenSet = true; m_source = value; }
81 inline void SetSource(ActionSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
82 inline ActionSummary& WithSource(const ActionSource& value) { SetSource(value); return *this;}
83 inline ActionSummary& WithSource(ActionSource&& value) { SetSource(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetActionType() const{ return m_actionType; }
91 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
92 inline void SetActionType(const Aws::String& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
93 inline void SetActionType(Aws::String&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
94 inline void SetActionType(const char* value) { m_actionTypeHasBeenSet = true; m_actionType.assign(value); }
95 inline ActionSummary& WithActionType(const Aws::String& value) { SetActionType(value); return *this;}
96 inline ActionSummary& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;}
97 inline ActionSummary& WithActionType(const char* value) { SetActionType(value); return *this;}
99
101
104 inline const ActionStatus& GetStatus() const{ return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
107 inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
108 inline ActionSummary& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
109 inline ActionSummary& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
117 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
118 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
119 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
120 inline ActionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
121 inline ActionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
129 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
130 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
131 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
132 inline ActionSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
133 inline ActionSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_actionArn;
138 bool m_actionArnHasBeenSet = false;
139
140 Aws::String m_actionName;
141 bool m_actionNameHasBeenSet = false;
142
143 ActionSource m_source;
144 bool m_sourceHasBeenSet = false;
145
146 Aws::String m_actionType;
147 bool m_actionTypeHasBeenSet = false;
148
149 ActionStatus m_status;
150 bool m_statusHasBeenSet = false;
151
152 Aws::Utils::DateTime m_creationTime;
153 bool m_creationTimeHasBeenSet = false;
154
155 Aws::Utils::DateTime m_lastModifiedTime;
156 bool m_lastModifiedTimeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace SageMaker
161} // namespace Aws
AWS_SAGEMAKER_API ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionArn(const Aws::String &value)
ActionSummary & WithActionType(const Aws::String &value)
ActionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ActionSummary & WithActionArn(const char *value)
void SetActionArn(const char *value)
ActionSummary & WithActionArn(Aws::String &&value)
ActionSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetActionName(const char *value)
const Aws::String & GetActionType() const
const Aws::String & GetActionName() const
ActionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ActionSummary & WithActionName(const char *value)
ActionSummary & WithSource(ActionSource &&value)
void SetActionType(const Aws::String &value)
const ActionStatus & GetStatus() const
void SetCreationTime(const Aws::Utils::DateTime &value)
ActionSummary & WithSource(const ActionSource &value)
void SetStatus(const ActionStatus &value)
void SetActionArn(Aws::String &&value)
ActionSummary & WithActionArn(const Aws::String &value)
const ActionSource & GetSource() const
void SetCreationTime(Aws::Utils::DateTime &&value)
ActionSummary & WithStatus(const ActionStatus &value)
ActionSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetActionType(Aws::String &&value)
void SetActionType(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetActionName(Aws::String &&value)
const Aws::String & GetActionArn() const
ActionSummary & WithStatus(ActionStatus &&value)
ActionSummary & WithActionName(const Aws::String &value)
ActionSummary & WithActionType(const char *value)
AWS_SAGEMAKER_API ActionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ActionStatus &&value)
ActionSummary & WithActionName(Aws::String &&value)
ActionSummary & WithActionType(Aws::String &&value)
void SetSource(ActionSource &&value)
void SetActionName(const Aws::String &value)
void SetSource(const ActionSource &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue