7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/bedrock/model/CustomizationConfig.h>
10#include <aws/bedrock/model/CustomizationType.h>
11#include <aws/bedrock/model/OutputDataConfig.h>
12#include <aws/bedrock/model/Tag.h>
13#include <aws/bedrock/model/TrainingDataConfig.h>
14#include <aws/bedrock/model/ValidationDataConfig.h>
15#include <aws/bedrock/model/VpcConfig.h>
16#include <aws/core/utils/UUID.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename JobNameT = Aws::String>
49 m_jobNameHasBeenSet =
true;
50 m_jobName = std::forward<JobNameT>(value);
52 template <
typename JobNameT = Aws::String>
65 template <
typename CustomModelNameT = Aws::String>
67 m_customModelNameHasBeenSet =
true;
68 m_customModelName = std::forward<CustomModelNameT>(value);
70 template <
typename CustomModelNameT = Aws::String>
87 template <
typename RoleArnT = Aws::String>
89 m_roleArnHasBeenSet =
true;
90 m_roleArn = std::forward<RoleArnT>(value);
92 template <
typename RoleArnT = Aws::String>
109 template <
typename ClientRequestTokenT = Aws::String>
111 m_clientRequestTokenHasBeenSet =
true;
112 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
114 template <
typename ClientRequestTokenT = Aws::String>
127 template <
typename BaseModelIdentifierT = Aws::String>
129 m_baseModelIdentifierHasBeenSet =
true;
130 m_baseModelIdentifier = std::forward<BaseModelIdentifierT>(value);
132 template <
typename BaseModelIdentifierT = Aws::String>
146 m_customizationTypeHasBeenSet =
true;
147 m_customizationType = value;
161 template <
typename CustomModelKmsKeyIdT = Aws::String>
163 m_customModelKmsKeyIdHasBeenSet =
true;
164 m_customModelKmsKeyId = std::forward<CustomModelKmsKeyIdT>(value);
166 template <
typename CustomModelKmsKeyIdT = Aws::String>
179 template <
typename JobTagsT = Aws::Vector<Tag>>
181 m_jobTagsHasBeenSet =
true;
182 m_jobTags = std::forward<JobTagsT>(value);
184 template <
typename JobTagsT = Aws::Vector<Tag>>
189 template <
typename JobTagsT = Tag>
191 m_jobTagsHasBeenSet =
true;
192 m_jobTags.emplace_back(std::forward<JobTagsT>(value));
203 template <
typename CustomModelTagsT = Aws::Vector<Tag>>
205 m_customModelTagsHasBeenSet =
true;
206 m_customModelTags = std::forward<CustomModelTagsT>(value);
208 template <
typename CustomModelTagsT = Aws::Vector<Tag>>
213 template <
typename CustomModelTagsT = Tag>
215 m_customModelTagsHasBeenSet =
true;
216 m_customModelTags.emplace_back(std::forward<CustomModelTagsT>(value));
227 template <
typename TrainingDataConfigT = TrainingDataConfig>
229 m_trainingDataConfigHasBeenSet =
true;
230 m_trainingDataConfig = std::forward<TrainingDataConfigT>(value);
232 template <
typename TrainingDataConfigT = TrainingDataConfig>
245 template <
typename Val
idationDataConfigT = Val
idationDataConfig>
247 m_validationDataConfigHasBeenSet =
true;
248 m_validationDataConfig = std::forward<ValidationDataConfigT>(value);
250 template <
typename Val
idationDataConfigT = Val
idationDataConfig>
263 template <
typename OutputDataConfigT = OutputDataConfig>
265 m_outputDataConfigHasBeenSet =
true;
266 m_outputDataConfig = std::forward<OutputDataConfigT>(value);
268 template <
typename OutputDataConfigT = OutputDataConfig>
284 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
286 m_hyperParametersHasBeenSet =
true;
287 m_hyperParameters = std::forward<HyperParametersT>(value);
289 template <
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
294 template <
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
296 m_hyperParametersHasBeenSet =
true;
297 m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(
key), std::forward<HyperParametersValueT>(value));
311 template <
typename VpcConfigT = VpcConfig>
313 m_vpcConfigHasBeenSet =
true;
314 m_vpcConfig = std::forward<VpcConfigT>(value);
316 template <
typename VpcConfigT = VpcConfig>
329 template <
typename CustomizationConfigT = CustomizationConfig>
331 m_customizationConfigHasBeenSet =
true;
332 m_customizationConfig = std::forward<CustomizationConfigT>(value);
334 template <
typename CustomizationConfigT = CustomizationConfig>
359 TrainingDataConfig m_trainingDataConfig;
361 ValidationDataConfig m_validationDataConfig;
363 OutputDataConfig m_outputDataConfig;
367 VpcConfig m_vpcConfig;
369 CustomizationConfig m_customizationConfig;
370 bool m_jobNameHasBeenSet =
false;
371 bool m_customModelNameHasBeenSet =
false;
372 bool m_roleArnHasBeenSet =
false;
373 bool m_clientRequestTokenHasBeenSet =
true;
374 bool m_baseModelIdentifierHasBeenSet =
false;
375 bool m_customizationTypeHasBeenSet =
false;
376 bool m_customModelKmsKeyIdHasBeenSet =
false;
377 bool m_jobTagsHasBeenSet =
false;
378 bool m_customModelTagsHasBeenSet =
false;
379 bool m_trainingDataConfigHasBeenSet =
false;
380 bool m_validationDataConfigHasBeenSet =
false;
381 bool m_outputDataConfigHasBeenSet =
false;
382 bool m_hyperParametersHasBeenSet =
false;
383 bool m_vpcConfigHasBeenSet =
false;
384 bool m_customizationConfigHasBeenSet =
false;
void SetValidationDataConfig(ValidationDataConfigT &&value)
CreateModelCustomizationJobRequest & WithBaseModelIdentifier(BaseModelIdentifierT &&value)
bool ClientRequestTokenHasBeenSet() const
AWS_BEDROCK_API Aws::String SerializePayload() const override
void SetRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
const Aws::Vector< Tag > & GetJobTags() const
const CustomizationConfig & GetCustomizationConfig() const
bool JobTagsHasBeenSet() const
bool TrainingDataConfigHasBeenSet() const
CreateModelCustomizationJobRequest & WithRoleArn(RoleArnT &&value)
void SetHyperParameters(HyperParametersT &&value)
const Aws::String & GetCustomModelKmsKeyId() const
const VpcConfig & GetVpcConfig() const
void SetCustomModelTags(CustomModelTagsT &&value)
const Aws::String & GetRoleArn() const
CreateModelCustomizationJobRequest & WithJobName(JobNameT &&value)
bool VpcConfigHasBeenSet() const
bool CustomModelNameHasBeenSet() const
const OutputDataConfig & GetOutputDataConfig() const
bool CustomModelTagsHasBeenSet() const
const TrainingDataConfig & GetTrainingDataConfig() const
void SetTrainingDataConfig(TrainingDataConfigT &&value)
CreateModelCustomizationJobRequest & WithJobTags(JobTagsT &&value)
const Aws::String & GetClientRequestToken() const
CreateModelCustomizationJobRequest & AddCustomModelTags(CustomModelTagsT &&value)
CreateModelCustomizationJobRequest & WithClientRequestToken(ClientRequestTokenT &&value)
CreateModelCustomizationJobRequest & WithCustomizationConfig(CustomizationConfigT &&value)
const Aws::String & GetJobName() const
bool CustomizationConfigHasBeenSet() const
void SetCustomizationType(CustomizationType value)
const Aws::Vector< Tag > & GetCustomModelTags() const
const Aws::String & GetCustomModelName() const
CreateModelCustomizationJobRequest & WithCustomModelKmsKeyId(CustomModelKmsKeyIdT &&value)
CreateModelCustomizationJobRequest & AddHyperParameters(HyperParametersKeyT &&key, HyperParametersValueT &&value)
CreateModelCustomizationJobRequest & WithCustomModelTags(CustomModelTagsT &&value)
void SetCustomizationConfig(CustomizationConfigT &&value)
const ValidationDataConfig & GetValidationDataConfig() const
void SetVpcConfig(VpcConfigT &&value)
virtual const char * GetServiceRequestName() const override
void SetCustomModelKmsKeyId(CustomModelKmsKeyIdT &&value)
CreateModelCustomizationJobRequest & WithCustomModelName(CustomModelNameT &&value)
CreateModelCustomizationJobRequest & WithValidationDataConfig(ValidationDataConfigT &&value)
bool CustomModelKmsKeyIdHasBeenSet() const
void SetBaseModelIdentifier(BaseModelIdentifierT &&value)
bool ValidationDataConfigHasBeenSet() const
bool BaseModelIdentifierHasBeenSet() const
bool JobNameHasBeenSet() const
CreateModelCustomizationJobRequest & WithHyperParameters(HyperParametersT &&value)
const Aws::String & GetBaseModelIdentifier() const
void SetOutputDataConfig(OutputDataConfigT &&value)
void SetJobName(JobNameT &&value)
bool HyperParametersHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetHyperParameters() const
CreateModelCustomizationJobRequest & WithTrainingDataConfig(TrainingDataConfigT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
void SetJobTags(JobTagsT &&value)
CustomizationType GetCustomizationType() const
void SetCustomModelName(CustomModelNameT &&value)
CreateModelCustomizationJobRequest & AddJobTags(JobTagsT &&value)
AWS_BEDROCK_API CreateModelCustomizationJobRequest()=default
bool OutputDataConfigHasBeenSet() const
CreateModelCustomizationJobRequest & WithVpcConfig(VpcConfigT &&value)
CreateModelCustomizationJobRequest & WithCustomizationType(CustomizationType value)
CreateModelCustomizationJobRequest & WithOutputDataConfig(OutputDataConfigT &&value)
bool CustomizationTypeHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
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