AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProcessingJobName(const Aws::String& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = value; }
49 inline void SetProcessingJobName(Aws::String&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::move(value); }
50 inline void SetProcessingJobName(const char* value) { m_processingJobNameHasBeenSet = true; m_processingJobName.assign(value); }
51 inline ProcessingJobSummary& WithProcessingJobName(const Aws::String& value) { SetProcessingJobName(value); return *this;}
52 inline ProcessingJobSummary& WithProcessingJobName(Aws::String&& value) { SetProcessingJobName(std::move(value)); return *this;}
53 inline ProcessingJobSummary& WithProcessingJobName(const char* value) { SetProcessingJobName(value); return *this;}
55
57
60 inline const Aws::String& GetProcessingJobArn() const{ return m_processingJobArn; }
61 inline bool ProcessingJobArnHasBeenSet() const { return m_processingJobArnHasBeenSet; }
62 inline void SetProcessingJobArn(const Aws::String& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = value; }
63 inline void SetProcessingJobArn(Aws::String&& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = std::move(value); }
64 inline void SetProcessingJobArn(const char* value) { m_processingJobArnHasBeenSet = true; m_processingJobArn.assign(value); }
65 inline ProcessingJobSummary& WithProcessingJobArn(const Aws::String& value) { SetProcessingJobArn(value); return *this;}
66 inline ProcessingJobSummary& WithProcessingJobArn(Aws::String&& value) { SetProcessingJobArn(std::move(value)); return *this;}
67 inline ProcessingJobSummary& WithProcessingJobArn(const char* value) { SetProcessingJobArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
77 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
78 inline ProcessingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
79 inline ProcessingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetProcessingEndTime() const{ return m_processingEndTime; }
87 inline bool ProcessingEndTimeHasBeenSet() const { return m_processingEndTimeHasBeenSet; }
88 inline void SetProcessingEndTime(const Aws::Utils::DateTime& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = value; }
89 inline void SetProcessingEndTime(Aws::Utils::DateTime&& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = std::move(value); }
91 inline ProcessingJobSummary& WithProcessingEndTime(Aws::Utils::DateTime&& value) { SetProcessingEndTime(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
99 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
100 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
101 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
103 inline ProcessingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
105
107
110 inline const ProcessingJobStatus& GetProcessingJobStatus() const{ return m_processingJobStatus; }
111 inline bool ProcessingJobStatusHasBeenSet() const { return m_processingJobStatusHasBeenSet; }
112 inline void SetProcessingJobStatus(const ProcessingJobStatus& value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = value; }
113 inline void SetProcessingJobStatus(ProcessingJobStatus&& value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = std::move(value); }
117
119
123 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
124 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
125 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
126 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
127 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
128 inline ProcessingJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
129 inline ProcessingJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
130 inline ProcessingJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
132
134
138 inline const Aws::String& GetExitMessage() const{ return m_exitMessage; }
139 inline bool ExitMessageHasBeenSet() const { return m_exitMessageHasBeenSet; }
140 inline void SetExitMessage(const Aws::String& value) { m_exitMessageHasBeenSet = true; m_exitMessage = value; }
141 inline void SetExitMessage(Aws::String&& value) { m_exitMessageHasBeenSet = true; m_exitMessage = std::move(value); }
142 inline void SetExitMessage(const char* value) { m_exitMessageHasBeenSet = true; m_exitMessage.assign(value); }
143 inline ProcessingJobSummary& WithExitMessage(const Aws::String& value) { SetExitMessage(value); return *this;}
144 inline ProcessingJobSummary& WithExitMessage(Aws::String&& value) { SetExitMessage(std::move(value)); return *this;}
145 inline ProcessingJobSummary& WithExitMessage(const char* value) { SetExitMessage(value); return *this;}
147 private:
148
149 Aws::String m_processingJobName;
150 bool m_processingJobNameHasBeenSet = false;
151
152 Aws::String m_processingJobArn;
153 bool m_processingJobArnHasBeenSet = false;
154
155 Aws::Utils::DateTime m_creationTime;
156 bool m_creationTimeHasBeenSet = false;
157
158 Aws::Utils::DateTime m_processingEndTime;
159 bool m_processingEndTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_lastModifiedTime;
162 bool m_lastModifiedTimeHasBeenSet = false;
163
164 ProcessingJobStatus m_processingJobStatus;
165 bool m_processingJobStatusHasBeenSet = false;
166
167 Aws::String m_failureReason;
168 bool m_failureReasonHasBeenSet = false;
169
170 Aws::String m_exitMessage;
171 bool m_exitMessageHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace SageMaker
176} // namespace Aws
ProcessingJobSummary & WithFailureReason(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetProcessingJobName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
ProcessingJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
ProcessingJobSummary & WithProcessingJobArn(const Aws::String &value)
ProcessingJobSummary & WithProcessingJobName(const char *value)
const ProcessingJobStatus & GetProcessingJobStatus() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProcessingJobSummary & WithProcessingEndTime(const Aws::Utils::DateTime &value)
ProcessingJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ProcessingJobSummary & WithExitMessage(const char *value)
ProcessingJobSummary & WithProcessingJobName(Aws::String &&value)
void SetProcessingJobStatus(const ProcessingJobStatus &value)
AWS_SAGEMAKER_API ProcessingJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
ProcessingJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
ProcessingJobSummary & WithProcessingJobArn(const char *value)
void SetProcessingEndTime(const Aws::Utils::DateTime &value)
ProcessingJobSummary & WithExitMessage(Aws::String &&value)
ProcessingJobSummary & WithFailureReason(const char *value)
ProcessingJobSummary & WithProcessingJobStatus(const ProcessingJobStatus &value)
ProcessingJobSummary & WithFailureReason(const Aws::String &value)
ProcessingJobSummary & WithExitMessage(const Aws::String &value)
ProcessingJobSummary & WithProcessingEndTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API ProcessingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProcessingJobSummary & WithProcessingJobArn(Aws::String &&value)
ProcessingJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ProcessingJobSummary & WithProcessingJobStatus(ProcessingJobStatus &&value)
void SetProcessingJobStatus(ProcessingJobStatus &&value)
const Aws::Utils::DateTime & GetProcessingEndTime() const
void SetProcessingJobArn(const Aws::String &value)
void SetProcessingEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ProcessingJobSummary & WithProcessingJobName(const Aws::String &value)
void SetFailureReason(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue