7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock/model/CustomizationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.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/core/utils/memory/stl/AWSMap.h>
16#include <aws/bedrock/model/VpcConfig.h>
17#include <aws/bedrock/model/CustomizationConfig.h>
18#include <aws/bedrock/model/Tag.h>
20#include <aws/core/utils/UUID.h>
51 template<
typename JobNameT = Aws::String>
52 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet =
true; m_jobName = std::forward<JobNameT>(value); }
53 template<
typename JobNameT = Aws::String>
63 template<
typename CustomModelNameT = Aws::String>
64 void SetCustomModelName(CustomModelNameT&& value) { m_customModelNameHasBeenSet =
true; m_customModelName = std::forward<CustomModelNameT>(value); }
65 template<
typename CustomModelNameT = Aws::String>
79 template<
typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
81 template<
typename RoleArnT = Aws::String>
95 template<
typename ClientRequestTokenT = Aws::String>
96 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
97 template<
typename ClientRequestTokenT = Aws::String>
107 template<
typename BaseModelIdentifierT = Aws::String>
108 void SetBaseModelIdentifier(BaseModelIdentifierT&& value) { m_baseModelIdentifierHasBeenSet =
true; m_baseModelIdentifier = std::forward<BaseModelIdentifierT>(value); }
109 template<
typename BaseModelIdentifierT = Aws::String>
129 template<
typename CustomModelKmsKeyIdT = Aws::String>
130 void SetCustomModelKmsKeyId(CustomModelKmsKeyIdT&& value) { m_customModelKmsKeyIdHasBeenSet =
true; m_customModelKmsKeyId = std::forward<CustomModelKmsKeyIdT>(value); }
131 template<
typename CustomModelKmsKeyIdT = Aws::String>
141 template<
typename JobTagsT = Aws::Vector<Tag>>
142 void SetJobTags(JobTagsT&& value) { m_jobTagsHasBeenSet =
true; m_jobTags = std::forward<JobTagsT>(value); }
143 template<
typename JobTagsT = Aws::Vector<Tag>>
145 template<
typename JobTagsT = Tag>
155 template<
typename CustomModelTagsT = Aws::Vector<Tag>>
156 void SetCustomModelTags(CustomModelTagsT&& value) { m_customModelTagsHasBeenSet =
true; m_customModelTags = std::forward<CustomModelTagsT>(value); }
157 template<
typename CustomModelTagsT = Aws::Vector<Tag>>
159 template<
typename CustomModelTagsT = Tag>
169 template<
typename TrainingDataConfigT = TrainingDataConfig>
170 void SetTrainingDataConfig(TrainingDataConfigT&& value) { m_trainingDataConfigHasBeenSet =
true; m_trainingDataConfig = std::forward<TrainingDataConfigT>(value); }
171 template<
typename TrainingDataConfigT = TrainingDataConfig>
181 template<
typename Val
idationDataConfigT = Val
idationDataConfig>
182 void SetValidationDataConfig(ValidationDataConfigT&& value) { m_validationDataConfigHasBeenSet =
true; m_validationDataConfig = std::forward<ValidationDataConfigT>(value); }
183 template<
typename Val
idationDataConfigT = Val
idationDataConfig>
193 template<
typename OutputDataConfigT = OutputDataConfig>
194 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet =
true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
195 template<
typename OutputDataConfigT = OutputDataConfig>
208 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
209 void SetHyperParameters(HyperParametersT&& value) { m_hyperParametersHasBeenSet =
true; m_hyperParameters = std::forward<HyperParametersT>(value); }
210 template<
typename HyperParametersT = Aws::Map<Aws::String, Aws::String>>
212 template<
typename HyperParametersKeyT = Aws::String,
typename HyperParametersValueT = Aws::String>
214 m_hyperParametersHasBeenSet =
true; m_hyperParameters.emplace(std::forward<HyperParametersKeyT>(key), std::forward<HyperParametersValueT>(value));
return *
this;
227 template<
typename VpcConfigT = VpcConfig>
228 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
229 template<
typename VpcConfigT = VpcConfig>
239 template<
typename CustomizationConfigT = CustomizationConfig>
240 void SetCustomizationConfig(CustomizationConfigT&& value) { m_customizationConfigHasBeenSet =
true; m_customizationConfig = std::forward<CustomizationConfigT>(value); }
241 template<
typename CustomizationConfigT = CustomizationConfig>
247 bool m_jobNameHasBeenSet =
false;
250 bool m_customModelNameHasBeenSet =
false;
253 bool m_roleArnHasBeenSet =
false;
256 bool m_clientRequestTokenHasBeenSet =
true;
259 bool m_baseModelIdentifierHasBeenSet =
false;
262 bool m_customizationTypeHasBeenSet =
false;
265 bool m_customModelKmsKeyIdHasBeenSet =
false;
268 bool m_jobTagsHasBeenSet =
false;
271 bool m_customModelTagsHasBeenSet =
false;
273 TrainingDataConfig m_trainingDataConfig;
274 bool m_trainingDataConfigHasBeenSet =
false;
276 ValidationDataConfig m_validationDataConfig;
277 bool m_validationDataConfigHasBeenSet =
false;
279 OutputDataConfig m_outputDataConfig;
280 bool m_outputDataConfigHasBeenSet =
false;
283 bool m_hyperParametersHasBeenSet =
false;
285 VpcConfig m_vpcConfig;
286 bool m_vpcConfigHasBeenSet =
false;
288 CustomizationConfig m_customizationConfig;
289 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::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