AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProcessingJobSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/ProcessingJobStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API ProcessingJobSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProcessingJobName() const { return m_processingJobName; }
47 inline bool ProcessingJobNameHasBeenSet() const { return m_processingJobNameHasBeenSet; }
48 template<typename ProcessingJobNameT = Aws::String>
49 void SetProcessingJobName(ProcessingJobNameT&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::forward<ProcessingJobNameT>(value); }
50 template<typename ProcessingJobNameT = Aws::String>
51 ProcessingJobSummary& WithProcessingJobName(ProcessingJobNameT&& value) { SetProcessingJobName(std::forward<ProcessingJobNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetProcessingJobArn() const { return m_processingJobArn; }
59 inline bool ProcessingJobArnHasBeenSet() const { return m_processingJobArnHasBeenSet; }
60 template<typename ProcessingJobArnT = Aws::String>
61 void SetProcessingJobArn(ProcessingJobArnT&& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = std::forward<ProcessingJobArnT>(value); }
62 template<typename ProcessingJobArnT = Aws::String>
63 ProcessingJobSummary& WithProcessingJobArn(ProcessingJobArnT&& value) { SetProcessingJobArn(std::forward<ProcessingJobArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
71 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
74 template<typename CreationTimeT = Aws::Utils::DateTime>
75 ProcessingJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetProcessingEndTime() const { return m_processingEndTime; }
83 inline bool ProcessingEndTimeHasBeenSet() const { return m_processingEndTimeHasBeenSet; }
84 template<typename ProcessingEndTimeT = Aws::Utils::DateTime>
85 void SetProcessingEndTime(ProcessingEndTimeT&& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = std::forward<ProcessingEndTimeT>(value); }
86 template<typename ProcessingEndTimeT = Aws::Utils::DateTime>
87 ProcessingJobSummary& WithProcessingEndTime(ProcessingEndTimeT&& value) { SetProcessingEndTime(std::forward<ProcessingEndTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
95 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
96 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
97 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
98 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
99 ProcessingJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
101
103
106 inline ProcessingJobStatus GetProcessingJobStatus() const { return m_processingJobStatus; }
107 inline bool ProcessingJobStatusHasBeenSet() const { return m_processingJobStatusHasBeenSet; }
108 inline void SetProcessingJobStatus(ProcessingJobStatus value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = value; }
111
113
117 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
118 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
119 template<typename FailureReasonT = Aws::String>
120 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
121 template<typename FailureReasonT = Aws::String>
122 ProcessingJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
124
126
130 inline const Aws::String& GetExitMessage() const { return m_exitMessage; }
131 inline bool ExitMessageHasBeenSet() const { return m_exitMessageHasBeenSet; }
132 template<typename ExitMessageT = Aws::String>
133 void SetExitMessage(ExitMessageT&& value) { m_exitMessageHasBeenSet = true; m_exitMessage = std::forward<ExitMessageT>(value); }
134 template<typename ExitMessageT = Aws::String>
135 ProcessingJobSummary& WithExitMessage(ExitMessageT&& value) { SetExitMessage(std::forward<ExitMessageT>(value)); return *this;}
137 private:
138
139 Aws::String m_processingJobName;
140 bool m_processingJobNameHasBeenSet = false;
141
142 Aws::String m_processingJobArn;
143 bool m_processingJobArnHasBeenSet = false;
144
145 Aws::Utils::DateTime m_creationTime{};
146 bool m_creationTimeHasBeenSet = false;
147
148 Aws::Utils::DateTime m_processingEndTime{};
149 bool m_processingEndTimeHasBeenSet = false;
150
151 Aws::Utils::DateTime m_lastModifiedTime{};
152 bool m_lastModifiedTimeHasBeenSet = false;
153
155 bool m_processingJobStatusHasBeenSet = false;
156
157 Aws::String m_failureReason;
158 bool m_failureReasonHasBeenSet = false;
159
160 Aws::String m_exitMessage;
161 bool m_exitMessageHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace SageMaker
166} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ProcessingJobSummary()=default
AWS_SAGEMAKER_API ProcessingJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetProcessingJobArn(ProcessingJobArnT &&value)
ProcessingJobSummary & WithProcessingEndTime(ProcessingEndTimeT &&value)
ProcessingJobSummary & WithExitMessage(ExitMessageT &&value)
void SetProcessingJobName(ProcessingJobNameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
ProcessingJobSummary & WithProcessingJobName(ProcessingJobNameT &&value)
AWS_SAGEMAKER_API ProcessingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessingJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetProcessingEndTime(ProcessingEndTimeT &&value)
ProcessingJobSummary & WithCreationTime(CreationTimeT &&value)
ProcessingJobSummary & WithProcessingJobArn(ProcessingJobArnT &&value)
const Aws::Utils::DateTime & GetProcessingEndTime() const
ProcessingJobSummary & WithFailureReason(FailureReasonT &&value)
ProcessingJobSummary & WithProcessingJobStatus(ProcessingJobStatus value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetProcessingJobStatus(ProcessingJobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue