AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TransformJobSummary.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#include <aws/sagemaker/model/TransformJobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
34 public:
35 AWS_SAGEMAKER_API TransformJobSummary() = default;
36 AWS_SAGEMAKER_API TransformJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetTransformJobName() const { return m_transformJobName; }
45 inline bool TransformJobNameHasBeenSet() const { return m_transformJobNameHasBeenSet; }
46 template <typename TransformJobNameT = Aws::String>
47 void SetTransformJobName(TransformJobNameT&& value) {
48 m_transformJobNameHasBeenSet = true;
49 m_transformJobName = std::forward<TransformJobNameT>(value);
50 }
51 template <typename TransformJobNameT = Aws::String>
52 TransformJobSummary& WithTransformJobName(TransformJobNameT&& value) {
53 SetTransformJobName(std::forward<TransformJobNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetTransformJobArn() const { return m_transformJobArn; }
63 inline bool TransformJobArnHasBeenSet() const { return m_transformJobArnHasBeenSet; }
64 template <typename TransformJobArnT = Aws::String>
65 void SetTransformJobArn(TransformJobArnT&& value) {
66 m_transformJobArnHasBeenSet = true;
67 m_transformJobArn = std::forward<TransformJobArnT>(value);
68 }
69 template <typename TransformJobArnT = Aws::String>
70 TransformJobSummary& WithTransformJobArn(TransformJobArnT&& value) {
71 SetTransformJobArn(std::forward<TransformJobArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
81 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 void SetCreationTime(CreationTimeT&& value) {
84 m_creationTimeHasBeenSet = true;
85 m_creationTime = std::forward<CreationTimeT>(value);
86 }
87 template <typename CreationTimeT = Aws::Utils::DateTime>
88 TransformJobSummary& WithCreationTime(CreationTimeT&& value) {
89 SetCreationTime(std::forward<CreationTimeT>(value));
90 return *this;
91 }
93
95
101 inline const Aws::Utils::DateTime& GetTransformEndTime() const { return m_transformEndTime; }
102 inline bool TransformEndTimeHasBeenSet() const { return m_transformEndTimeHasBeenSet; }
103 template <typename TransformEndTimeT = Aws::Utils::DateTime>
104 void SetTransformEndTime(TransformEndTimeT&& value) {
105 m_transformEndTimeHasBeenSet = true;
106 m_transformEndTime = std::forward<TransformEndTimeT>(value);
107 }
108 template <typename TransformEndTimeT = Aws::Utils::DateTime>
109 TransformJobSummary& WithTransformEndTime(TransformEndTimeT&& value) {
110 SetTransformEndTime(std::forward<TransformEndTimeT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
120 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
121 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
122 void SetLastModifiedTime(LastModifiedTimeT&& value) {
123 m_lastModifiedTimeHasBeenSet = true;
124 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
125 }
126 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
127 TransformJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
128 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
129 return *this;
130 }
132
134
137 inline TransformJobStatus GetTransformJobStatus() const { return m_transformJobStatus; }
138 inline bool TransformJobStatusHasBeenSet() const { return m_transformJobStatusHasBeenSet; }
140 m_transformJobStatusHasBeenSet = true;
141 m_transformJobStatus = value;
142 }
145 return *this;
146 }
148
150
153 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
154 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
155 template <typename FailureReasonT = Aws::String>
156 void SetFailureReason(FailureReasonT&& value) {
157 m_failureReasonHasBeenSet = true;
158 m_failureReason = std::forward<FailureReasonT>(value);
159 }
160 template <typename FailureReasonT = Aws::String>
161 TransformJobSummary& WithFailureReason(FailureReasonT&& value) {
162 SetFailureReason(std::forward<FailureReasonT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_transformJobName;
168
169 Aws::String m_transformJobArn;
170
171 Aws::Utils::DateTime m_creationTime{};
172
173 Aws::Utils::DateTime m_transformEndTime{};
174
175 Aws::Utils::DateTime m_lastModifiedTime{};
176
178
179 Aws::String m_failureReason;
180 bool m_transformJobNameHasBeenSet = false;
181 bool m_transformJobArnHasBeenSet = false;
182 bool m_creationTimeHasBeenSet = false;
183 bool m_transformEndTimeHasBeenSet = false;
184 bool m_lastModifiedTimeHasBeenSet = false;
185 bool m_transformJobStatusHasBeenSet = false;
186 bool m_failureReasonHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace SageMaker
191} // namespace Aws
AWS_SAGEMAKER_API TransformJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TransformJobSummary & WithCreationTime(CreationTimeT &&value)
void SetTransformJobArn(TransformJobArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
TransformJobSummary & WithFailureReason(FailureReasonT &&value)
AWS_SAGEMAKER_API TransformJobSummary(Aws::Utils::Json::JsonView jsonValue)
TransformJobSummary & WithTransformEndTime(TransformEndTimeT &&value)
void SetTransformJobName(TransformJobNameT &&value)
void SetTransformJobStatus(TransformJobStatus value)
const Aws::Utils::DateTime & GetTransformEndTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TransformJobSummary & WithTransformJobName(TransformJobNameT &&value)
TransformJobSummary & WithTransformJobStatus(TransformJobStatus value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
TransformJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetTransformJobName() const
TransformJobSummary & WithTransformJobArn(TransformJobArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetTransformEndTime(TransformEndTimeT &&value)
AWS_SAGEMAKER_API TransformJobSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue