AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EdgePackagingJobSummary.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/EdgePackagingJobStatus.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
30 public:
31 AWS_SAGEMAKER_API EdgePackagingJobSummary() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetEdgePackagingJobArn() const { return m_edgePackagingJobArn; }
41 inline bool EdgePackagingJobArnHasBeenSet() const { return m_edgePackagingJobArnHasBeenSet; }
42 template <typename EdgePackagingJobArnT = Aws::String>
43 void SetEdgePackagingJobArn(EdgePackagingJobArnT&& value) {
44 m_edgePackagingJobArnHasBeenSet = true;
45 m_edgePackagingJobArn = std::forward<EdgePackagingJobArnT>(value);
46 }
47 template <typename EdgePackagingJobArnT = Aws::String>
48 EdgePackagingJobSummary& WithEdgePackagingJobArn(EdgePackagingJobArnT&& value) {
49 SetEdgePackagingJobArn(std::forward<EdgePackagingJobArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEdgePackagingJobName() const { return m_edgePackagingJobName; }
59 inline bool EdgePackagingJobNameHasBeenSet() const { return m_edgePackagingJobNameHasBeenSet; }
60 template <typename EdgePackagingJobNameT = Aws::String>
61 void SetEdgePackagingJobName(EdgePackagingJobNameT&& value) {
62 m_edgePackagingJobNameHasBeenSet = true;
63 m_edgePackagingJobName = std::forward<EdgePackagingJobNameT>(value);
64 }
65 template <typename EdgePackagingJobNameT = Aws::String>
66 EdgePackagingJobSummary& WithEdgePackagingJobName(EdgePackagingJobNameT&& value) {
67 SetEdgePackagingJobName(std::forward<EdgePackagingJobNameT>(value));
68 return *this;
69 }
71
73
76 inline EdgePackagingJobStatus GetEdgePackagingJobStatus() const { return m_edgePackagingJobStatus; }
77 inline bool EdgePackagingJobStatusHasBeenSet() const { return m_edgePackagingJobStatusHasBeenSet; }
79 m_edgePackagingJobStatusHasBeenSet = true;
80 m_edgePackagingJobStatus = value;
81 }
84 return *this;
85 }
87
89
92 inline const Aws::String& GetCompilationJobName() const { return m_compilationJobName; }
93 inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; }
94 template <typename CompilationJobNameT = Aws::String>
95 void SetCompilationJobName(CompilationJobNameT&& value) {
96 m_compilationJobNameHasBeenSet = true;
97 m_compilationJobName = std::forward<CompilationJobNameT>(value);
98 }
99 template <typename CompilationJobNameT = Aws::String>
100 EdgePackagingJobSummary& WithCompilationJobName(CompilationJobNameT&& value) {
101 SetCompilationJobName(std::forward<CompilationJobNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetModelName() const { return m_modelName; }
111 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
112 template <typename ModelNameT = Aws::String>
113 void SetModelName(ModelNameT&& value) {
114 m_modelNameHasBeenSet = true;
115 m_modelName = std::forward<ModelNameT>(value);
116 }
117 template <typename ModelNameT = Aws::String>
119 SetModelName(std::forward<ModelNameT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
129 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
130 template <typename ModelVersionT = Aws::String>
131 void SetModelVersion(ModelVersionT&& value) {
132 m_modelVersionHasBeenSet = true;
133 m_modelVersion = std::forward<ModelVersionT>(value);
134 }
135 template <typename ModelVersionT = Aws::String>
137 SetModelVersion(std::forward<ModelVersionT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
147 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
148 template <typename CreationTimeT = Aws::Utils::DateTime>
149 void SetCreationTime(CreationTimeT&& value) {
150 m_creationTimeHasBeenSet = true;
151 m_creationTime = std::forward<CreationTimeT>(value);
152 }
153 template <typename CreationTimeT = Aws::Utils::DateTime>
155 SetCreationTime(std::forward<CreationTimeT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
165 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
166 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
167 void SetLastModifiedTime(LastModifiedTimeT&& value) {
168 m_lastModifiedTimeHasBeenSet = true;
169 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
170 }
171 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
172 EdgePackagingJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
173 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
174 return *this;
175 }
177 private:
178 Aws::String m_edgePackagingJobArn;
179
180 Aws::String m_edgePackagingJobName;
181
183
184 Aws::String m_compilationJobName;
185
186 Aws::String m_modelName;
187
188 Aws::String m_modelVersion;
189
190 Aws::Utils::DateTime m_creationTime{};
191
192 Aws::Utils::DateTime m_lastModifiedTime{};
193 bool m_edgePackagingJobArnHasBeenSet = false;
194 bool m_edgePackagingJobNameHasBeenSet = false;
195 bool m_edgePackagingJobStatusHasBeenSet = false;
196 bool m_compilationJobNameHasBeenSet = false;
197 bool m_modelNameHasBeenSet = false;
198 bool m_modelVersionHasBeenSet = false;
199 bool m_creationTimeHasBeenSet = false;
200 bool m_lastModifiedTimeHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace SageMaker
205} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
EdgePackagingJobSummary & WithModelVersion(ModelVersionT &&value)
EdgePackagingJobSummary & WithEdgePackagingJobStatus(EdgePackagingJobStatus value)
EdgePackagingJobSummary & WithEdgePackagingJobName(EdgePackagingJobNameT &&value)
AWS_SAGEMAKER_API EdgePackagingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgePackagingJobSummary & WithModelName(ModelNameT &&value)
EdgePackagingJobSummary & WithCompilationJobName(CompilationJobNameT &&value)
void SetEdgePackagingJobName(EdgePackagingJobNameT &&value)
void SetEdgePackagingJobStatus(EdgePackagingJobStatus value)
void SetCompilationJobName(CompilationJobNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API EdgePackagingJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetEdgePackagingJobArn(EdgePackagingJobArnT &&value)
EdgePackagingJobSummary & WithCreationTime(CreationTimeT &&value)
EdgePackagingJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
EdgePackagingJobSummary & WithEdgePackagingJobArn(EdgePackagingJobArnT &&value)
AWS_SAGEMAKER_API EdgePackagingJobSummary()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue