AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ModelCustomizationJobSummary.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/CustomizationType.h>
9#include <aws/bedrock/model/ModelCustomizationJobStatus.h>
10#include <aws/bedrock/model/StatusDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Bedrock {
24namespace Model {
25
32 public:
33 AWS_BEDROCK_API ModelCustomizationJobSummary() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetJobArn() const { return m_jobArn; }
43 inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
44 template <typename JobArnT = Aws::String>
45 void SetJobArn(JobArnT&& value) {
46 m_jobArnHasBeenSet = true;
47 m_jobArn = std::forward<JobArnT>(value);
48 }
49 template <typename JobArnT = Aws::String>
51 SetJobArn(std::forward<JobArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetBaseModelArn() const { return m_baseModelArn; }
61 inline bool BaseModelArnHasBeenSet() const { return m_baseModelArnHasBeenSet; }
62 template <typename BaseModelArnT = Aws::String>
63 void SetBaseModelArn(BaseModelArnT&& value) {
64 m_baseModelArnHasBeenSet = true;
65 m_baseModelArn = std::forward<BaseModelArnT>(value);
66 }
67 template <typename BaseModelArnT = Aws::String>
69 SetBaseModelArn(std::forward<BaseModelArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetJobName() const { return m_jobName; }
79 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
80 template <typename JobNameT = Aws::String>
81 void SetJobName(JobNameT&& value) {
82 m_jobNameHasBeenSet = true;
83 m_jobName = std::forward<JobNameT>(value);
84 }
85 template <typename JobNameT = Aws::String>
87 SetJobName(std::forward<JobNameT>(value));
88 return *this;
89 }
91
93
96 inline ModelCustomizationJobStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
113 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
114 template <typename StatusDetailsT = StatusDetails>
115 void SetStatusDetails(StatusDetailsT&& value) {
116 m_statusDetailsHasBeenSet = true;
117 m_statusDetails = std::forward<StatusDetailsT>(value);
118 }
119 template <typename StatusDetailsT = StatusDetails>
121 SetStatusDetails(std::forward<StatusDetailsT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
131 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
132 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
133 void SetLastModifiedTime(LastModifiedTimeT&& value) {
134 m_lastModifiedTimeHasBeenSet = true;
135 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
136 }
137 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
139 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
149 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
150 template <typename CreationTimeT = Aws::Utils::DateTime>
151 void SetCreationTime(CreationTimeT&& value) {
152 m_creationTimeHasBeenSet = true;
153 m_creationTime = std::forward<CreationTimeT>(value);
154 }
155 template <typename CreationTimeT = Aws::Utils::DateTime>
157 SetCreationTime(std::forward<CreationTimeT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
167 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
168 template <typename EndTimeT = Aws::Utils::DateTime>
169 void SetEndTime(EndTimeT&& value) {
170 m_endTimeHasBeenSet = true;
171 m_endTime = std::forward<EndTimeT>(value);
172 }
173 template <typename EndTimeT = Aws::Utils::DateTime>
175 SetEndTime(std::forward<EndTimeT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetCustomModelArn() const { return m_customModelArn; }
185 inline bool CustomModelArnHasBeenSet() const { return m_customModelArnHasBeenSet; }
186 template <typename CustomModelArnT = Aws::String>
187 void SetCustomModelArn(CustomModelArnT&& value) {
188 m_customModelArnHasBeenSet = true;
189 m_customModelArn = std::forward<CustomModelArnT>(value);
190 }
191 template <typename CustomModelArnT = Aws::String>
193 SetCustomModelArn(std::forward<CustomModelArnT>(value));
194 return *this;
195 }
197
199
202 inline const Aws::String& GetCustomModelName() const { return m_customModelName; }
203 inline bool CustomModelNameHasBeenSet() const { return m_customModelNameHasBeenSet; }
204 template <typename CustomModelNameT = Aws::String>
205 void SetCustomModelName(CustomModelNameT&& value) {
206 m_customModelNameHasBeenSet = true;
207 m_customModelName = std::forward<CustomModelNameT>(value);
208 }
209 template <typename CustomModelNameT = Aws::String>
211 SetCustomModelName(std::forward<CustomModelNameT>(value));
212 return *this;
213 }
215
217
223 inline CustomizationType GetCustomizationType() const { return m_customizationType; }
224 inline bool CustomizationTypeHasBeenSet() const { return m_customizationTypeHasBeenSet; }
226 m_customizationTypeHasBeenSet = true;
227 m_customizationType = value;
228 }
231 return *this;
232 }
234 private:
235 Aws::String m_jobArn;
236 bool m_jobArnHasBeenSet = false;
237
238 Aws::String m_baseModelArn;
239 bool m_baseModelArnHasBeenSet = false;
240
241 Aws::String m_jobName;
242 bool m_jobNameHasBeenSet = false;
243
245 bool m_statusHasBeenSet = false;
246
247 StatusDetails m_statusDetails;
248 bool m_statusDetailsHasBeenSet = false;
249
250 Aws::Utils::DateTime m_lastModifiedTime{};
251 bool m_lastModifiedTimeHasBeenSet = false;
252
253 Aws::Utils::DateTime m_creationTime{};
254 bool m_creationTimeHasBeenSet = false;
255
256 Aws::Utils::DateTime m_endTime{};
257 bool m_endTimeHasBeenSet = false;
258
259 Aws::String m_customModelArn;
260 bool m_customModelArnHasBeenSet = false;
261
262 Aws::String m_customModelName;
263 bool m_customModelNameHasBeenSet = false;
264
266 bool m_customizationTypeHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace Bedrock
271} // namespace Aws
AWS_BEDROCK_API ModelCustomizationJobSummary()=default
ModelCustomizationJobSummary & WithCustomModelArn(CustomModelArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
ModelCustomizationJobSummary & WithStatus(ModelCustomizationJobStatus value)
ModelCustomizationJobSummary & WithJobName(JobNameT &&value)
AWS_BEDROCK_API ModelCustomizationJobSummary(Aws::Utils::Json::JsonView jsonValue)
ModelCustomizationJobSummary & WithCustomModelName(CustomModelNameT &&value)
ModelCustomizationJobSummary & WithBaseModelArn(BaseModelArnT &&value)
ModelCustomizationJobSummary & WithJobArn(JobArnT &&value)
AWS_BEDROCK_API ModelCustomizationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelCustomizationJobSummary & WithStatusDetails(StatusDetailsT &&value)
ModelCustomizationJobSummary & WithCustomizationType(CustomizationType value)
ModelCustomizationJobSummary & WithEndTime(EndTimeT &&value)
ModelCustomizationJobSummary & WithCreationTime(CreationTimeT &&value)
ModelCustomizationJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue