AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetModelCustomizationJobResult.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock/model/ModelCustomizationJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/bedrock/model/TrainingDataConfig.h>
13#include <aws/bedrock/model/ValidationDataConfig.h>
14#include <aws/bedrock/model/OutputDataConfig.h>
15#include <aws/bedrock/model/CustomizationType.h>
16#include <aws/bedrock/model/TrainingMetrics.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/bedrock/model/VpcConfig.h>
19#include <aws/bedrock/model/ValidatorMetric.h>
20#include <utility>
21
22namespace Aws
23{
24template<typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils
28{
29namespace Json
30{
31 class JsonValue;
32} // namespace Json
33} // namespace Utils
34namespace Bedrock
35{
36namespace Model
37{
39 {
40 public:
44
45
47
50 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
51 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
52 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
53 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
54 inline GetModelCustomizationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
55 inline GetModelCustomizationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
56 inline GetModelCustomizationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
58
60
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline void SetJobName(const Aws::String& value) { m_jobName = value; }
65 inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
66 inline void SetJobName(const char* value) { m_jobName.assign(value); }
67 inline GetModelCustomizationJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
68 inline GetModelCustomizationJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
69 inline GetModelCustomizationJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
71
73
76 inline const Aws::String& GetOutputModelName() const{ return m_outputModelName; }
77 inline void SetOutputModelName(const Aws::String& value) { m_outputModelName = value; }
78 inline void SetOutputModelName(Aws::String&& value) { m_outputModelName = std::move(value); }
79 inline void SetOutputModelName(const char* value) { m_outputModelName.assign(value); }
81 inline GetModelCustomizationJobResult& WithOutputModelName(Aws::String&& value) { SetOutputModelName(std::move(value)); return *this;}
82 inline GetModelCustomizationJobResult& WithOutputModelName(const char* value) { SetOutputModelName(value); return *this;}
84
86
89 inline const Aws::String& GetOutputModelArn() const{ return m_outputModelArn; }
90 inline void SetOutputModelArn(const Aws::String& value) { m_outputModelArn = value; }
91 inline void SetOutputModelArn(Aws::String&& value) { m_outputModelArn = std::move(value); }
92 inline void SetOutputModelArn(const char* value) { m_outputModelArn.assign(value); }
94 inline GetModelCustomizationJobResult& WithOutputModelArn(Aws::String&& value) { SetOutputModelArn(std::move(value)); return *this;}
95 inline GetModelCustomizationJobResult& WithOutputModelArn(const char* value) { SetOutputModelArn(value); return *this;}
97
99
103 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
104 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestToken = value; }
105 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestToken = std::move(value); }
106 inline void SetClientRequestToken(const char* value) { m_clientRequestToken.assign(value); }
109 inline GetModelCustomizationJobResult& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
111
113
116 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
117 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
118 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
119 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
120 inline GetModelCustomizationJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
121 inline GetModelCustomizationJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
122 inline GetModelCustomizationJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
124
126
131 inline const ModelCustomizationJobStatus& GetStatus() const{ return m_status; }
132 inline void SetStatus(const ModelCustomizationJobStatus& value) { m_status = value; }
133 inline void SetStatus(ModelCustomizationJobStatus&& value) { m_status = std::move(value); }
135 inline GetModelCustomizationJobResult& WithStatus(ModelCustomizationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
137
139
142 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
143 inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
144 inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
145 inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
147 inline GetModelCustomizationJobResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
148 inline GetModelCustomizationJobResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
156 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
157 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
159 inline GetModelCustomizationJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
167 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
168 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
172
174
177 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
178 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
179 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
180 inline GetModelCustomizationJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
181 inline GetModelCustomizationJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
183
185
188 inline const Aws::String& GetBaseModelArn() const{ return m_baseModelArn; }
189 inline void SetBaseModelArn(const Aws::String& value) { m_baseModelArn = value; }
190 inline void SetBaseModelArn(Aws::String&& value) { m_baseModelArn = std::move(value); }
191 inline void SetBaseModelArn(const char* value) { m_baseModelArn.assign(value); }
192 inline GetModelCustomizationJobResult& WithBaseModelArn(const Aws::String& value) { SetBaseModelArn(value); return *this;}
193 inline GetModelCustomizationJobResult& WithBaseModelArn(Aws::String&& value) { SetBaseModelArn(std::move(value)); return *this;}
194 inline GetModelCustomizationJobResult& WithBaseModelArn(const char* value) { SetBaseModelArn(value); return *this;}
196
198
204 inline const Aws::Map<Aws::String, Aws::String>& GetHyperParameters() const{ return m_hyperParameters; }
205 inline void SetHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hyperParameters = value; }
206 inline void SetHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hyperParameters = std::move(value); }
209 inline GetModelCustomizationJobResult& AddHyperParameters(const Aws::String& key, const Aws::String& value) { m_hyperParameters.emplace(key, value); return *this; }
210 inline GetModelCustomizationJobResult& AddHyperParameters(Aws::String&& key, const Aws::String& value) { m_hyperParameters.emplace(std::move(key), value); return *this; }
211 inline GetModelCustomizationJobResult& AddHyperParameters(const Aws::String& key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; }
212 inline GetModelCustomizationJobResult& AddHyperParameters(Aws::String&& key, Aws::String&& value) { m_hyperParameters.emplace(std::move(key), std::move(value)); return *this; }
213 inline GetModelCustomizationJobResult& AddHyperParameters(const char* key, Aws::String&& value) { m_hyperParameters.emplace(key, std::move(value)); return *this; }
214 inline GetModelCustomizationJobResult& AddHyperParameters(Aws::String&& key, const char* value) { m_hyperParameters.emplace(std::move(key), value); return *this; }
215 inline GetModelCustomizationJobResult& AddHyperParameters(const char* key, const char* value) { m_hyperParameters.emplace(key, value); return *this; }
217
219
222 inline const TrainingDataConfig& GetTrainingDataConfig() const{ return m_trainingDataConfig; }
223 inline void SetTrainingDataConfig(const TrainingDataConfig& value) { m_trainingDataConfig = value; }
224 inline void SetTrainingDataConfig(TrainingDataConfig&& value) { m_trainingDataConfig = std::move(value); }
228
230
233 inline const ValidationDataConfig& GetValidationDataConfig() const{ return m_validationDataConfig; }
234 inline void SetValidationDataConfig(const ValidationDataConfig& value) { m_validationDataConfig = value; }
235 inline void SetValidationDataConfig(ValidationDataConfig&& value) { m_validationDataConfig = std::move(value); }
239
241
244 inline const OutputDataConfig& GetOutputDataConfig() const{ return m_outputDataConfig; }
245 inline void SetOutputDataConfig(const OutputDataConfig& value) { m_outputDataConfig = value; }
246 inline void SetOutputDataConfig(OutputDataConfig&& value) { m_outputDataConfig = std::move(value); }
250
252
255 inline const CustomizationType& GetCustomizationType() const{ return m_customizationType; }
256 inline void SetCustomizationType(const CustomizationType& value) { m_customizationType = value; }
257 inline void SetCustomizationType(CustomizationType&& value) { m_customizationType = std::move(value); }
261
263
266 inline const Aws::String& GetOutputModelKmsKeyArn() const{ return m_outputModelKmsKeyArn; }
267 inline void SetOutputModelKmsKeyArn(const Aws::String& value) { m_outputModelKmsKeyArn = value; }
268 inline void SetOutputModelKmsKeyArn(Aws::String&& value) { m_outputModelKmsKeyArn = std::move(value); }
269 inline void SetOutputModelKmsKeyArn(const char* value) { m_outputModelKmsKeyArn.assign(value); }
272 inline GetModelCustomizationJobResult& WithOutputModelKmsKeyArn(const char* value) { SetOutputModelKmsKeyArn(value); return *this;}
274
276
279 inline const TrainingMetrics& GetTrainingMetrics() const{ return m_trainingMetrics; }
280 inline void SetTrainingMetrics(const TrainingMetrics& value) { m_trainingMetrics = value; }
281 inline void SetTrainingMetrics(TrainingMetrics&& value) { m_trainingMetrics = std::move(value); }
285
287
291 inline const Aws::Vector<ValidatorMetric>& GetValidationMetrics() const{ return m_validationMetrics; }
292 inline void SetValidationMetrics(const Aws::Vector<ValidatorMetric>& value) { m_validationMetrics = value; }
293 inline void SetValidationMetrics(Aws::Vector<ValidatorMetric>&& value) { m_validationMetrics = std::move(value); }
296 inline GetModelCustomizationJobResult& AddValidationMetrics(const ValidatorMetric& value) { m_validationMetrics.push_back(value); return *this; }
297 inline GetModelCustomizationJobResult& AddValidationMetrics(ValidatorMetric&& value) { m_validationMetrics.push_back(std::move(value)); return *this; }
299
301
304 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
305 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
306 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
307 inline GetModelCustomizationJobResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
308 inline GetModelCustomizationJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
310
312
313 inline const Aws::String& GetRequestId() const{ return m_requestId; }
314 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
315 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
316 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
317 inline GetModelCustomizationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
318 inline GetModelCustomizationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
319 inline GetModelCustomizationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
321 private:
322
323 Aws::String m_jobArn;
324
325 Aws::String m_jobName;
326
327 Aws::String m_outputModelName;
328
329 Aws::String m_outputModelArn;
330
331 Aws::String m_clientRequestToken;
332
333 Aws::String m_roleArn;
334
336
337 Aws::String m_failureMessage;
338
339 Aws::Utils::DateTime m_creationTime;
340
341 Aws::Utils::DateTime m_lastModifiedTime;
342
343 Aws::Utils::DateTime m_endTime;
344
345 Aws::String m_baseModelArn;
346
347 Aws::Map<Aws::String, Aws::String> m_hyperParameters;
348
349 TrainingDataConfig m_trainingDataConfig;
350
351 ValidationDataConfig m_validationDataConfig;
352
353 OutputDataConfig m_outputDataConfig;
354
355 CustomizationType m_customizationType;
356
357 Aws::String m_outputModelKmsKeyArn;
358
359 TrainingMetrics m_trainingMetrics;
360
361 Aws::Vector<ValidatorMetric> m_validationMetrics;
362
363 VpcConfig m_vpcConfig;
364
365 Aws::String m_requestId;
366 };
367
368} // namespace Model
369} // namespace Bedrock
370} // namespace Aws
GetModelCustomizationJobResult & WithOutputModelArn(const Aws::String &value)
GetModelCustomizationJobResult & WithOutputModelKmsKeyArn(const Aws::String &value)
void SetHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetModelCustomizationJobResult & WithBaseModelArn(const Aws::String &value)
GetModelCustomizationJobResult & AddHyperParameters(Aws::String &&key, const char *value)
GetModelCustomizationJobResult & WithRoleArn(Aws::String &&value)
GetModelCustomizationJobResult & WithOutputDataConfig(const OutputDataConfig &value)
AWS_BEDROCK_API GetModelCustomizationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCustomizationJobResult & WithJobArn(const char *value)
GetModelCustomizationJobResult & WithOutputModelArn(Aws::String &&value)
GetModelCustomizationJobResult & WithHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetModelCustomizationJobResult & WithClientRequestToken(const char *value)
GetModelCustomizationJobResult & WithOutputModelKmsKeyArn(Aws::String &&value)
GetModelCustomizationJobResult & WithVpcConfig(const VpcConfig &value)
GetModelCustomizationJobResult & WithOutputModelName(const Aws::String &value)
GetModelCustomizationJobResult & WithRequestId(const char *value)
GetModelCustomizationJobResult & WithFailureMessage(Aws::String &&value)
GetModelCustomizationJobResult & WithFailureMessage(const Aws::String &value)
GetModelCustomizationJobResult & WithBaseModelArn(Aws::String &&value)
GetModelCustomizationJobResult & WithJobArn(Aws::String &&value)
GetModelCustomizationJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetModelCustomizationJobResult & AddValidationMetrics(ValidatorMetric &&value)
void SetStatus(const ModelCustomizationJobStatus &value)
GetModelCustomizationJobResult & WithStatus(const ModelCustomizationJobStatus &value)
GetModelCustomizationJobResult & WithRoleArn(const char *value)
GetModelCustomizationJobResult & WithFailureMessage(const char *value)
GetModelCustomizationJobResult & AddHyperParameters(const Aws::String &key, Aws::String &&value)
GetModelCustomizationJobResult & WithJobName(const Aws::String &value)
GetModelCustomizationJobResult & WithEndTime(const Aws::Utils::DateTime &value)
GetModelCustomizationJobResult & WithOutputModelName(Aws::String &&value)
GetModelCustomizationJobResult & WithRequestId(Aws::String &&value)
GetModelCustomizationJobResult & WithVpcConfig(VpcConfig &&value)
GetModelCustomizationJobResult & WithTrainingMetrics(TrainingMetrics &&value)
void SetValidationMetrics(const Aws::Vector< ValidatorMetric > &value)
GetModelCustomizationJobResult & WithClientRequestToken(Aws::String &&value)
GetModelCustomizationJobResult & WithOutputModelKmsKeyArn(const char *value)
GetModelCustomizationJobResult & WithCustomizationType(const CustomizationType &value)
GetModelCustomizationJobResult & WithTrainingDataConfig(const TrainingDataConfig &value)
GetModelCustomizationJobResult & WithRequestId(const Aws::String &value)
GetModelCustomizationJobResult & WithOutputModelArn(const char *value)
const Aws::Vector< ValidatorMetric > & GetValidationMetrics() const
GetModelCustomizationJobResult & WithTrainingMetrics(const TrainingMetrics &value)
GetModelCustomizationJobResult & AddValidationMetrics(const ValidatorMetric &value)
GetModelCustomizationJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
GetModelCustomizationJobResult & WithRoleArn(const Aws::String &value)
GetModelCustomizationJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetModelCustomizationJobResult & WithJobArn(const Aws::String &value)
GetModelCustomizationJobResult & WithValidationMetrics(Aws::Vector< ValidatorMetric > &&value)
GetModelCustomizationJobResult & AddHyperParameters(const char *key, const char *value)
GetModelCustomizationJobResult & AddHyperParameters(Aws::String &&key, Aws::String &&value)
GetModelCustomizationJobResult & WithStatus(ModelCustomizationJobStatus &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
GetModelCustomizationJobResult & WithHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetModelCustomizationJobResult & WithValidationDataConfig(ValidationDataConfig &&value)
GetModelCustomizationJobResult & WithValidationMetrics(const Aws::Vector< ValidatorMetric > &value)
GetModelCustomizationJobResult & AddHyperParameters(const char *key, Aws::String &&value)
GetModelCustomizationJobResult & WithEndTime(Aws::Utils::DateTime &&value)
GetModelCustomizationJobResult & WithOutputModelName(const char *value)
void SetHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetModelCustomizationJobResult & WithValidationDataConfig(const ValidationDataConfig &value)
AWS_BEDROCK_API GetModelCustomizationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCustomizationJobResult & WithOutputDataConfig(OutputDataConfig &&value)
GetModelCustomizationJobResult & WithCustomizationType(CustomizationType &&value)
void SetValidationMetrics(Aws::Vector< ValidatorMetric > &&value)
GetModelCustomizationJobResult & AddHyperParameters(Aws::String &&key, const Aws::String &value)
GetModelCustomizationJobResult & AddHyperParameters(const Aws::String &key, const Aws::String &value)
GetModelCustomizationJobResult & WithClientRequestToken(const Aws::String &value)
GetModelCustomizationJobResult & WithJobName(Aws::String &&value)
GetModelCustomizationJobResult & WithTrainingDataConfig(TrainingDataConfig &&value)
GetModelCustomizationJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetModelCustomizationJobResult & WithJobName(const char *value)
GetModelCustomizationJobResult & WithBaseModelArn(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue