AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ActionArnT = Aws::String>
53 void SetActionArn(ActionArnT&& value) { m_actionArnHasBeenSet = true; m_actionArn = std::forward<ActionArnT>(value); }
54 template<typename ActionArnT = Aws::String>
55 ActionSummary& WithActionArn(ActionArnT&& value) { SetActionArn(std::forward<ActionArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetActionName() const { return m_actionName; }
63 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
64 template<typename ActionNameT = Aws::String>
65 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
66 template<typename ActionNameT = Aws::String>
67 ActionSummary& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
69
71
74 inline const ActionSource& GetSource() const { return m_source; }
75 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
76 template<typename SourceT = ActionSource>
77 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
78 template<typename SourceT = ActionSource>
79 ActionSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
81
83
86 inline const Aws::String& GetActionType() const { return m_actionType; }
87 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
88 template<typename ActionTypeT = Aws::String>
89 void SetActionType(ActionTypeT&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::forward<ActionTypeT>(value); }
90 template<typename ActionTypeT = Aws::String>
91 ActionSummary& WithActionType(ActionTypeT&& value) { SetActionType(std::forward<ActionTypeT>(value)); return *this;}
93
95
98 inline ActionStatus GetStatus() const { return m_status; }
99 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
100 inline void SetStatus(ActionStatus value) { m_statusHasBeenSet = true; m_status = value; }
101 inline ActionSummary& WithStatus(ActionStatus value) { SetStatus(value); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
109 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
110 template<typename CreationTimeT = Aws::Utils::DateTime>
111 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
112 template<typename CreationTimeT = Aws::Utils::DateTime>
113 ActionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
121 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
122 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
123 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
124 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
125 ActionSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
127 private:
128
129 Aws::String m_actionArn;
130 bool m_actionArnHasBeenSet = false;
131
132 Aws::String m_actionName;
133 bool m_actionNameHasBeenSet = false;
134
135 ActionSource m_source;
136 bool m_sourceHasBeenSet = false;
137
138 Aws::String m_actionType;
139 bool m_actionTypeHasBeenSet = false;
140
142 bool m_statusHasBeenSet = false;
143
144 Aws::Utils::DateTime m_creationTime{};
145 bool m_creationTimeHasBeenSet = false;
146
147 Aws::Utils::DateTime m_lastModifiedTime{};
148 bool m_lastModifiedTimeHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SageMaker
153} // namespace Aws
AWS_SAGEMAKER_API ActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetActionType() const
const Aws::String & GetActionName() const
void SetActionArn(ActionArnT &&value)
ActionSummary & WithStatus(ActionStatus value)
ActionSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreationTime(CreationTimeT &&value)
const ActionSource & GetSource() const
ActionSummary & WithActionName(ActionNameT &&value)
AWS_SAGEMAKER_API ActionSummary()=default
ActionSummary & WithSource(SourceT &&value)
void SetStatus(ActionStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
ActionSummary & WithActionArn(ActionArnT &&value)
const Aws::String & GetActionArn() const
void SetActionName(ActionNameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API ActionSummary(Aws::Utils::Json::JsonView jsonValue)
ActionSummary & WithActionType(ActionTypeT &&value)
void SetActionType(ActionTypeT &&value)
ActionSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue