AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
PipelineSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
29 public:
30 AWS_SAGEMAKER_API PipelineSummary() = default;
31 AWS_SAGEMAKER_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetPipelineArn() const { return m_pipelineArn; }
40 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
41 template <typename PipelineArnT = Aws::String>
42 void SetPipelineArn(PipelineArnT&& value) {
43 m_pipelineArnHasBeenSet = true;
44 m_pipelineArn = std::forward<PipelineArnT>(value);
45 }
46 template <typename PipelineArnT = Aws::String>
47 PipelineSummary& WithPipelineArn(PipelineArnT&& value) {
48 SetPipelineArn(std::forward<PipelineArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
58 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
59 template <typename PipelineNameT = Aws::String>
60 void SetPipelineName(PipelineNameT&& value) {
61 m_pipelineNameHasBeenSet = true;
62 m_pipelineName = std::forward<PipelineNameT>(value);
63 }
64 template <typename PipelineNameT = Aws::String>
65 PipelineSummary& WithPipelineName(PipelineNameT&& value) {
66 SetPipelineName(std::forward<PipelineNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetPipelineDisplayName() const { return m_pipelineDisplayName; }
76 inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; }
77 template <typename PipelineDisplayNameT = Aws::String>
78 void SetPipelineDisplayName(PipelineDisplayNameT&& value) {
79 m_pipelineDisplayNameHasBeenSet = true;
80 m_pipelineDisplayName = std::forward<PipelineDisplayNameT>(value);
81 }
82 template <typename PipelineDisplayNameT = Aws::String>
83 PipelineSummary& WithPipelineDisplayName(PipelineDisplayNameT&& value) {
84 SetPipelineDisplayName(std::forward<PipelineDisplayNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetPipelineDescription() const { return m_pipelineDescription; }
94 inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; }
95 template <typename PipelineDescriptionT = Aws::String>
96 void SetPipelineDescription(PipelineDescriptionT&& value) {
97 m_pipelineDescriptionHasBeenSet = true;
98 m_pipelineDescription = std::forward<PipelineDescriptionT>(value);
99 }
100 template <typename PipelineDescriptionT = Aws::String>
101 PipelineSummary& WithPipelineDescription(PipelineDescriptionT&& value) {
102 SetPipelineDescription(std::forward<PipelineDescriptionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
112 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
113 template <typename RoleArnT = Aws::String>
114 void SetRoleArn(RoleArnT&& value) {
115 m_roleArnHasBeenSet = true;
116 m_roleArn = std::forward<RoleArnT>(value);
117 }
118 template <typename RoleArnT = Aws::String>
119 PipelineSummary& WithRoleArn(RoleArnT&& value) {
120 SetRoleArn(std::forward<RoleArnT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
130 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
131 template <typename CreationTimeT = Aws::Utils::DateTime>
132 void SetCreationTime(CreationTimeT&& value) {
133 m_creationTimeHasBeenSet = true;
134 m_creationTime = std::forward<CreationTimeT>(value);
135 }
136 template <typename CreationTimeT = Aws::Utils::DateTime>
137 PipelineSummary& WithCreationTime(CreationTimeT&& value) {
138 SetCreationTime(std::forward<CreationTimeT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
148 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
149 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
150 void SetLastModifiedTime(LastModifiedTimeT&& value) {
151 m_lastModifiedTimeHasBeenSet = true;
152 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
153 }
154 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
155 PipelineSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
156 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetLastExecutionTime() const { return m_lastExecutionTime; }
166 inline bool LastExecutionTimeHasBeenSet() const { return m_lastExecutionTimeHasBeenSet; }
167 template <typename LastExecutionTimeT = Aws::Utils::DateTime>
168 void SetLastExecutionTime(LastExecutionTimeT&& value) {
169 m_lastExecutionTimeHasBeenSet = true;
170 m_lastExecutionTime = std::forward<LastExecutionTimeT>(value);
171 }
172 template <typename LastExecutionTimeT = Aws::Utils::DateTime>
173 PipelineSummary& WithLastExecutionTime(LastExecutionTimeT&& value) {
174 SetLastExecutionTime(std::forward<LastExecutionTimeT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_pipelineArn;
180
181 Aws::String m_pipelineName;
182
183 Aws::String m_pipelineDisplayName;
184
185 Aws::String m_pipelineDescription;
186
187 Aws::String m_roleArn;
188
189 Aws::Utils::DateTime m_creationTime{};
190
191 Aws::Utils::DateTime m_lastModifiedTime{};
192
193 Aws::Utils::DateTime m_lastExecutionTime{};
194 bool m_pipelineArnHasBeenSet = false;
195 bool m_pipelineNameHasBeenSet = false;
196 bool m_pipelineDisplayNameHasBeenSet = false;
197 bool m_pipelineDescriptionHasBeenSet = false;
198 bool m_roleArnHasBeenSet = false;
199 bool m_creationTimeHasBeenSet = false;
200 bool m_lastModifiedTimeHasBeenSet = false;
201 bool m_lastExecutionTimeHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace SageMaker
206} // namespace Aws
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetLastExecutionTime(LastExecutionTimeT &&value)
AWS_SAGEMAKER_API PipelineSummary()=default
const Aws::String & GetPipelineArn() const
const Aws::String & GetPipelineDisplayName() const
const Aws::Utils::DateTime & GetLastExecutionTime() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetPipelineName(PipelineNameT &&value)
const Aws::String & GetPipelineName() const
PipelineSummary & WithPipelineDescription(PipelineDescriptionT &&value)
PipelineSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
PipelineSummary & WithPipelineDisplayName(PipelineDisplayNameT &&value)
PipelineSummary & WithCreationTime(CreationTimeT &&value)
void SetPipelineArn(PipelineArnT &&value)
void SetPipelineDisplayName(PipelineDisplayNameT &&value)
PipelineSummary & WithLastExecutionTime(LastExecutionTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API PipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineSummary & WithPipelineArn(PipelineArnT &&value)
AWS_SAGEMAKER_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPipelineDescription() const
PipelineSummary & WithPipelineName(PipelineNameT &&value)
PipelineSummary & WithRoleArn(RoleArnT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetRoleArn() const
void SetPipelineDescription(PipelineDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue