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/bedrock/model/StatusDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/bedrock/model/TrainingDataConfig.h>
14#include <aws/bedrock/model/ValidationDataConfig.h>
15#include <aws/bedrock/model/OutputDataConfig.h>
16#include <aws/bedrock/model/CustomizationType.h>
17#include <aws/bedrock/model/TrainingMetrics.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/bedrock/model/VpcConfig.h>
20#include <aws/bedrock/model/CustomizationConfig.h>
21#include <aws/bedrock/model/ValidatorMetric.h>
26template<
typename RESULT_TYPE>
27class AmazonWebServiceResult;
53 template<
typename JobArnT = Aws::String>
54 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet =
true; m_jobArn = std::forward<JobArnT>(value); }
55 template<
typename JobArnT = Aws::String>
64 template<
typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
66 template<
typename JobNameT = Aws::String>
75 template<
typename OutputModelNameT = Aws::String>
76 void SetOutputModelName(OutputModelNameT&& value) { m_outputModelNameHasBeenSet =
true; m_outputModelName = std::forward<OutputModelNameT>(value); }
77 template<
typename OutputModelNameT = Aws::String>
86 template<
typename OutputModelArnT = Aws::String>
87 void SetOutputModelArn(OutputModelArnT&& value) { m_outputModelArnHasBeenSet =
true; m_outputModelArn = std::forward<OutputModelArnT>(value); }
88 template<
typename OutputModelArnT = Aws::String>
98 template<
typename ClientRequestTokenT = Aws::String>
99 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
100 template<
typename ClientRequestTokenT = Aws::String>
109 template<
typename RoleArnT = Aws::String>
110 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
111 template<
typename RoleArnT = Aws::String>
132 template<
typename StatusDetailsT = StatusDetails>
133 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet =
true; m_statusDetails = std::forward<StatusDetailsT>(value); }
134 template<
typename StatusDetailsT = StatusDetails>
143 template<
typename FailureMessageT = Aws::String>
144 void SetFailureMessage(FailureMessageT&& value) { m_failureMessageHasBeenSet =
true; m_failureMessage = std::forward<FailureMessageT>(value); }
145 template<
typename FailureMessageT = Aws::String>
154 template<
typename CreationTimeT = Aws::Utils::DateTime>
155 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
156 template<
typename CreationTimeT = Aws::Utils::DateTime>
165 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
166 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
167 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
176 template<
typename EndTimeT = Aws::Utils::DateTime>
177 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
178 template<
typename EndTimeT = Aws::Utils::DateTime>
187 template<
typename BaseModelArnT = Aws::String>
188 void SetBaseModelArn(BaseModelArnT&& value) { m_baseModelArnHasBeenSet =
true; m_baseModelArn = std::forward<BaseModelArnT>(value); }
189 template<
typename BaseModelArnT = Aws::String>
201 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
202 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
203 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
205 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
207 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
216 template<
typename TrainingDataConfigT = TrainingDataConfig>
217 void SetTrainingDataConfig(TrainingDataConfigT&& value) { m_trainingDataConfigHasBeenSet =
true; m_trainingDataConfig = std::forward<TrainingDataConfigT>(value); }
218 template<
typename TrainingDataConfigT = TrainingDataConfig>
227 template<
typename Val
idationDataConfigT = Val
idationDataConfig>
228 void SetValidationDataConfig(ValidationDataConfigT&& value) { m_validationDataConfigHasBeenSet =
true; m_validationDataConfig = std::forward<ValidationDataConfigT>(value); }
229 template<
typename Val
idationDataConfigT = Val
idationDataConfig>
238 template<
typename OutputDataConfigT = OutputDataConfig>
239 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
240 template<
typename OutputDataConfigT = OutputDataConfig>
258 template<
typename OutputModelKmsKeyArnT = Aws::String>
259 void SetOutputModelKmsKeyArn(OutputModelKmsKeyArnT&& value) { m_outputModelKmsKeyArnHasBeenSet =
true; m_outputModelKmsKeyArn = std::forward<OutputModelKmsKeyArnT>(value); }
260 template<
typename OutputModelKmsKeyArnT = Aws::String>
269 template<
typename TrainingMetricsT = TrainingMetrics>
270 void SetTrainingMetrics(TrainingMetricsT&& value) { m_trainingMetricsHasBeenSet =
true; m_trainingMetrics = std::forward<TrainingMetricsT>(value); }
271 template<
typename TrainingMetricsT = TrainingMetrics>
281 template<
typename Val
idationMetricsT = Aws::Vector<Val
idatorMetric>>
282 void SetValidationMetrics(ValidationMetricsT&& value) { m_validationMetricsHasBeenSet =
true; m_validationMetrics = std::forward<ValidationMetricsT>(value); }
283 template<
typename Val
idationMetricsT = Aws::Vector<Val
idatorMetric>>
285 template<
typename Val
idationMetricsT = Val
idatorMetric>
294 template<
typename VpcConfigT = VpcConfig>
295 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
296 template<
typename VpcConfigT = VpcConfig>
305 template<
typename CustomizationConfigT = CustomizationConfig>
306 void SetCustomizationConfig(CustomizationConfigT&& value) { m_customizationConfigHasBeenSet =
true; m_customizationConfig = std::forward<CustomizationConfigT>(value); }
307 template<
typename CustomizationConfigT = CustomizationConfig>
314 template<
typename RequestIdT = Aws::String>
315 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
316 template<
typename RequestIdT = Aws::String>
322 bool m_jobArnHasBeenSet =
false;
325 bool m_jobNameHasBeenSet =
false;
328 bool m_outputModelNameHasBeenSet =
false;
331 bool m_outputModelArnHasBeenSet =
false;
334 bool m_clientRequestTokenHasBeenSet =
false;
337 bool m_roleArnHasBeenSet =
false;
340 bool m_statusHasBeenSet =
false;
342 StatusDetails m_statusDetails;
343 bool m_statusDetailsHasBeenSet =
false;
346 bool m_failureMessageHasBeenSet =
false;
349 bool m_creationTimeHasBeenSet =
false;
352 bool m_lastModifiedTimeHasBeenSet =
false;
355 bool m_endTimeHasBeenSet =
false;
358 bool m_baseModelArnHasBeenSet =
false;
361 bool m_hyperParametersHasBeenSet =
false;
363 TrainingDataConfig m_trainingDataConfig;
364 bool m_trainingDataConfigHasBeenSet =
false;
366 ValidationDataConfig m_validationDataConfig;
367 bool m_validationDataConfigHasBeenSet =
false;
369 OutputDataConfig m_outputDataConfig;
370 bool m_outputDataConfigHasBeenSet =
false;
373 bool m_customizationTypeHasBeenSet =
false;
376 bool m_outputModelKmsKeyArnHasBeenSet =
false;
378 TrainingMetrics m_trainingMetrics;
379 bool m_trainingMetricsHasBeenSet =
false;
382 bool m_validationMetricsHasBeenSet =
false;
384 VpcConfig m_vpcConfig;
385 bool m_vpcConfigHasBeenSet =
false;
387 CustomizationConfig m_customizationConfig;
388 bool m_customizationConfigHasBeenSet =
false;
391 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetOutputModelArn() const
void SetValidationDataConfig(ValidationDataConfigT &&value)
GetModelCustomizationJobResult & WithCustomizationConfig(CustomizationConfigT &&value)
void SetFailureMessage(FailureMessageT &&value)
CustomizationType GetCustomizationType() const
void SetClientRequestToken(ClientRequestTokenT &&value)
AWS_BEDROCK_API GetModelCustomizationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetOutputModelKmsKeyArn(OutputModelKmsKeyArnT &&value)
void SetRequestId(RequestIdT &&value)
GetModelCustomizationJobResult & WithHyperParameters(HyperParametersT &&value)
GetModelCustomizationJobResult & WithCustomizationType(CustomizationType value)
const Aws::String & GetClientRequestToken() const
GetModelCustomizationJobResult & WithValidationMetrics(ValidationMetricsT &&value)
GetModelCustomizationJobResult & WithCreationTime(CreationTimeT &&value)
GetModelCustomizationJobResult & WithStatusDetails(StatusDetailsT &&value)
GetModelCustomizationJobResult & WithStatus(ModelCustomizationJobStatus value)
const StatusDetails & GetStatusDetails() const
const Aws::String & GetJobArn() const
const Aws::Utils::DateTime & GetEndTime() const
void SetTrainingMetrics(TrainingMetricsT &&value)
GetModelCustomizationJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const VpcConfig & GetVpcConfig() const
const TrainingMetrics & GetTrainingMetrics() const
GetModelCustomizationJobResult & WithEndTime(EndTimeT &&value)
void SetStatusDetails(StatusDetailsT &&value)
void SetBaseModelArn(BaseModelArnT &&value)
void SetCustomizationConfig(CustomizationConfigT &&value)
void SetOutputModelArn(OutputModelArnT &&value)
GetModelCustomizationJobResult & WithOutputModelName(OutputModelNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const OutputDataConfig & GetOutputDataConfig() const
void SetStatus(ModelCustomizationJobStatus value)
GetModelCustomizationJobResult & WithOutputModelKmsKeyArn(OutputModelKmsKeyArnT &&value)
GetModelCustomizationJobResult & WithVpcConfig(VpcConfigT &&value)
ModelCustomizationJobStatus GetStatus() const
GetModelCustomizationJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
GetModelCustomizationJobResult & WithJobName(JobNameT &&value)
const Aws::String & GetRoleArn() const
const Aws::Vector< ValidatorMetric > & GetValidationMetrics() const
GetModelCustomizationJobResult & WithTrainingMetrics(TrainingMetricsT &&value)
void SetTrainingDataConfig(TrainingDataConfigT &&value)
void SetOutputModelName(OutputModelNameT &&value)
GetModelCustomizationJobResult & WithJobArn(JobArnT &&value)
GetModelCustomizationJobResult & WithTrainingDataConfig(TrainingDataConfigT &&value)
void SetCustomizationType(CustomizationType value)
GetModelCustomizationJobResult & WithBaseModelArn(BaseModelArnT &&value)
const TrainingDataConfig & GetTrainingDataConfig() const
GetModelCustomizationJobResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetBaseModelArn() const
void SetOutputDataConfig(OutputDataConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
void SetValidationMetrics(ValidationMetricsT &&value)
GetModelCustomizationJobResult & WithOutputModelArn(OutputModelArnT &&value)
GetModelCustomizationJobResult & AddValidationMetrics(ValidationMetricsT &&value)
void SetEndTime(EndTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetVpcConfig(VpcConfigT &&value)
void SetJobName(JobNameT &&value)
const ValidationDataConfig & GetValidationDataConfig() const
void SetJobArn(JobArnT &&value)
void SetRoleArn(RoleArnT &&value)
void SetHyperParameters(HyperParametersT &&value)
GetModelCustomizationJobResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetCreationTime() const
GetModelCustomizationJobResult & WithFailureMessage(FailureMessageT &&value)
const Aws::String & GetFailureMessage() const
const Aws::String & GetOutputModelKmsKeyArn() const
AWS_BEDROCK_API GetModelCustomizationJobResult()=default
void SetCreationTime(CreationTimeT &&value)
GetModelCustomizationJobResult & WithValidationDataConfig(ValidationDataConfigT &&value)
const Aws::String & GetOutputModelName() const
AWS_BEDROCK_API GetModelCustomizationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetModelCustomizationJobResult & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
GetModelCustomizationJobResult & WithClientRequestToken(ClientRequestTokenT &&value)
const CustomizationConfig & GetCustomizationConfig() const
const Aws::String & GetJobName() const
ModelCustomizationJobStatus
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