AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompilationJobSummary.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/TargetDevice.h>
11#include <aws/sagemaker/model/TargetPlatformOs.h>
12#include <aws/sagemaker/model/TargetPlatformArch.h>
13#include <aws/sagemaker/model/TargetPlatformAccelerator.h>
14#include <aws/sagemaker/model/CompilationJobStatus.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_SAGEMAKER_API CompilationJobSummary();
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; }
51 inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; }
52 inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; }
53 inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); }
54 inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); }
56 inline CompilationJobSummary& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;}
57 inline CompilationJobSummary& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;}
59
61
64 inline const Aws::String& GetCompilationJobArn() const{ return m_compilationJobArn; }
65 inline bool CompilationJobArnHasBeenSet() const { return m_compilationJobArnHasBeenSet; }
66 inline void SetCompilationJobArn(const Aws::String& value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn = value; }
67 inline void SetCompilationJobArn(Aws::String&& value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn = std::move(value); }
68 inline void SetCompilationJobArn(const char* value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn.assign(value); }
69 inline CompilationJobSummary& WithCompilationJobArn(const Aws::String& value) { SetCompilationJobArn(value); return *this;}
70 inline CompilationJobSummary& WithCompilationJobArn(Aws::String&& value) { SetCompilationJobArn(std::move(value)); return *this;}
71 inline CompilationJobSummary& WithCompilationJobArn(const char* value) { SetCompilationJobArn(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
79 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
80 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
81 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
82 inline CompilationJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
83 inline CompilationJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCompilationStartTime() const{ return m_compilationStartTime; }
91 inline bool CompilationStartTimeHasBeenSet() const { return m_compilationStartTimeHasBeenSet; }
92 inline void SetCompilationStartTime(const Aws::Utils::DateTime& value) { m_compilationStartTimeHasBeenSet = true; m_compilationStartTime = value; }
93 inline void SetCompilationStartTime(Aws::Utils::DateTime&& value) { m_compilationStartTimeHasBeenSet = true; m_compilationStartTime = std::move(value); }
97
99
102 inline const Aws::Utils::DateTime& GetCompilationEndTime() const{ return m_compilationEndTime; }
103 inline bool CompilationEndTimeHasBeenSet() const { return m_compilationEndTimeHasBeenSet; }
104 inline void SetCompilationEndTime(const Aws::Utils::DateTime& value) { m_compilationEndTimeHasBeenSet = true; m_compilationEndTime = value; }
105 inline void SetCompilationEndTime(Aws::Utils::DateTime&& value) { m_compilationEndTimeHasBeenSet = true; m_compilationEndTime = std::move(value); }
109
111
115 inline const TargetDevice& GetCompilationTargetDevice() const{ return m_compilationTargetDevice; }
116 inline bool CompilationTargetDeviceHasBeenSet() const { return m_compilationTargetDeviceHasBeenSet; }
117 inline void SetCompilationTargetDevice(const TargetDevice& value) { m_compilationTargetDeviceHasBeenSet = true; m_compilationTargetDevice = value; }
118 inline void SetCompilationTargetDevice(TargetDevice&& value) { m_compilationTargetDeviceHasBeenSet = true; m_compilationTargetDevice = std::move(value); }
122
124
128 inline const TargetPlatformOs& GetCompilationTargetPlatformOs() const{ return m_compilationTargetPlatformOs; }
129 inline bool CompilationTargetPlatformOsHasBeenSet() const { return m_compilationTargetPlatformOsHasBeenSet; }
130 inline void SetCompilationTargetPlatformOs(const TargetPlatformOs& value) { m_compilationTargetPlatformOsHasBeenSet = true; m_compilationTargetPlatformOs = value; }
131 inline void SetCompilationTargetPlatformOs(TargetPlatformOs&& value) { m_compilationTargetPlatformOsHasBeenSet = true; m_compilationTargetPlatformOs = std::move(value); }
135
137
141 inline const TargetPlatformArch& GetCompilationTargetPlatformArch() const{ return m_compilationTargetPlatformArch; }
142 inline bool CompilationTargetPlatformArchHasBeenSet() const { return m_compilationTargetPlatformArchHasBeenSet; }
143 inline void SetCompilationTargetPlatformArch(const TargetPlatformArch& value) { m_compilationTargetPlatformArchHasBeenSet = true; m_compilationTargetPlatformArch = value; }
144 inline void SetCompilationTargetPlatformArch(TargetPlatformArch&& value) { m_compilationTargetPlatformArchHasBeenSet = true; m_compilationTargetPlatformArch = std::move(value); }
148
150
154 inline const TargetPlatformAccelerator& GetCompilationTargetPlatformAccelerator() const{ return m_compilationTargetPlatformAccelerator; }
155 inline bool CompilationTargetPlatformAcceleratorHasBeenSet() const { return m_compilationTargetPlatformAcceleratorHasBeenSet; }
156 inline void SetCompilationTargetPlatformAccelerator(const TargetPlatformAccelerator& value) { m_compilationTargetPlatformAcceleratorHasBeenSet = true; m_compilationTargetPlatformAccelerator = value; }
157 inline void SetCompilationTargetPlatformAccelerator(TargetPlatformAccelerator&& value) { m_compilationTargetPlatformAcceleratorHasBeenSet = true; m_compilationTargetPlatformAccelerator = std::move(value); }
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
167 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
168 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
169 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
171 inline CompilationJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
173
175
178 inline const CompilationJobStatus& GetCompilationJobStatus() const{ return m_compilationJobStatus; }
179 inline bool CompilationJobStatusHasBeenSet() const { return m_compilationJobStatusHasBeenSet; }
180 inline void SetCompilationJobStatus(const CompilationJobStatus& value) { m_compilationJobStatusHasBeenSet = true; m_compilationJobStatus = value; }
181 inline void SetCompilationJobStatus(CompilationJobStatus&& value) { m_compilationJobStatusHasBeenSet = true; m_compilationJobStatus = std::move(value); }
185 private:
186
187 Aws::String m_compilationJobName;
188 bool m_compilationJobNameHasBeenSet = false;
189
190 Aws::String m_compilationJobArn;
191 bool m_compilationJobArnHasBeenSet = false;
192
193 Aws::Utils::DateTime m_creationTime;
194 bool m_creationTimeHasBeenSet = false;
195
196 Aws::Utils::DateTime m_compilationStartTime;
197 bool m_compilationStartTimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_compilationEndTime;
200 bool m_compilationEndTimeHasBeenSet = false;
201
202 TargetDevice m_compilationTargetDevice;
203 bool m_compilationTargetDeviceHasBeenSet = false;
204
205 TargetPlatformOs m_compilationTargetPlatformOs;
206 bool m_compilationTargetPlatformOsHasBeenSet = false;
207
208 TargetPlatformArch m_compilationTargetPlatformArch;
209 bool m_compilationTargetPlatformArchHasBeenSet = false;
210
211 TargetPlatformAccelerator m_compilationTargetPlatformAccelerator;
212 bool m_compilationTargetPlatformAcceleratorHasBeenSet = false;
213
214 Aws::Utils::DateTime m_lastModifiedTime;
215 bool m_lastModifiedTimeHasBeenSet = false;
216
217 CompilationJobStatus m_compilationJobStatus;
218 bool m_compilationJobStatusHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace SageMaker
223} // namespace Aws
void SetCompilationEndTime(const Aws::Utils::DateTime &value)
void SetCompilationTargetPlatformOs(TargetPlatformOs &&value)
void SetCompilationJobArn(const Aws::String &value)
const TargetPlatformAccelerator & GetCompilationTargetPlatformAccelerator() const
void SetCompilationStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CompilationJobSummary & WithCompilationJobArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCompilationStartTime() const
const CompilationJobStatus & GetCompilationJobStatus() const
CompilationJobSummary & WithCompilationTargetPlatformAccelerator(TargetPlatformAccelerator &&value)
CompilationJobSummary & WithCompilationStartTime(Aws::Utils::DateTime &&value)
CompilationJobSummary & WithCompilationStartTime(const Aws::Utils::DateTime &value)
CompilationJobSummary & WithCompilationEndTime(const Aws::Utils::DateTime &value)
CompilationJobSummary & WithCompilationTargetDevice(const TargetDevice &value)
void SetCompilationStartTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API CompilationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CompilationJobSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
CompilationJobSummary & WithCompilationTargetPlatformArch(const TargetPlatformArch &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const TargetDevice & GetCompilationTargetDevice() const
CompilationJobSummary & WithCompilationTargetPlatformArch(TargetPlatformArch &&value)
void SetCompilationJobStatus(const CompilationJobStatus &value)
const TargetPlatformArch & GetCompilationTargetPlatformArch() const
CompilationJobSummary & WithCompilationJobArn(const char *value)
void SetCompilationTargetPlatformArch(const TargetPlatformArch &value)
CompilationJobSummary & WithCompilationJobStatus(const CompilationJobStatus &value)
CompilationJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
CompilationJobSummary & WithCompilationTargetDevice(TargetDevice &&value)
CompilationJobSummary & WithCompilationTargetPlatformAccelerator(const TargetPlatformAccelerator &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompilationTargetDevice(const TargetDevice &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetCompilationTargetPlatformAccelerator(const TargetPlatformAccelerator &value)
void SetCompilationJobStatus(CompilationJobStatus &&value)
CompilationJobSummary & WithCompilationTargetPlatformOs(const TargetPlatformOs &value)
CompilationJobSummary & WithCompilationJobArn(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
CompilationJobSummary & WithCompilationTargetPlatformOs(TargetPlatformOs &&value)
CompilationJobSummary & WithCompilationEndTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
CompilationJobSummary & WithCompilationJobName(const char *value)
const TargetPlatformOs & GetCompilationTargetPlatformOs() const
void SetCompilationEndTime(Aws::Utils::DateTime &&value)
CompilationJobSummary & WithCompilationJobName(const Aws::String &value)
void SetCompilationTargetPlatformOs(const TargetPlatformOs &value)
CompilationJobSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
CompilationJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
AWS_SAGEMAKER_API CompilationJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCompilationTargetPlatformArch(TargetPlatformArch &&value)
void SetCompilationJobName(const Aws::String &value)
void SetCompilationTargetPlatformAccelerator(TargetPlatformAccelerator &&value)
const Aws::Utils::DateTime & GetCompilationEndTime() const
CompilationJobSummary & WithCompilationJobName(Aws::String &&value)
CompilationJobSummary & WithCompilationJobStatus(CompilationJobStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue