7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/CleanRoomsMLRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/cleanroomsml/model/ResourceConfig.h>
12#include <aws/cleanroomsml/model/StoppingCondition.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/cleanroomsml/model/TrainingInputMode.h>
15#include <aws/cleanroomsml/model/IncrementalTrainingDataChannel.h>
16#include <aws/cleanroomsml/model/ModelTrainingDataChannel.h>
48 template<
typename MembershipIdentifierT = Aws::String>
49 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet =
true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
50 template<
typename MembershipIdentifierT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
73 void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT&& value) { m_configuredModelAlgorithmAssociationArnHasBeenSet =
true; m_configuredModelAlgorithmAssociationArn = std::forward<ConfiguredModelAlgorithmAssociationArnT>(value); }
74 template<
typename ConfiguredModelAlgorithmAssociationArnT = Aws::String>
85 template<
typename HyperparametersT = Aws::Map<Aws::String, Aws::String>>
86 void SetHyperparameters(HyperparametersT&& value) { m_hyperparametersHasBeenSet =
true; m_hyperparameters = std::forward<HyperparametersT>(value); }
87 template<
typename HyperparametersT = Aws::Map<Aws::String, Aws::String>>
89 template<
typename HyperparametersKeyT = Aws::String,
typename HyperparametersValueT = Aws::String>
91 m_hyperparametersHasBeenSet =
true; m_hyperparameters.emplace(std::forward<HyperparametersKeyT>(key), std::forward<HyperparametersValueT>(value));
return *
this;
101 template<
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
102 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
103 template<
typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
105 template<
typename EnvironmentKeyT = Aws::String,
typename EnvironmentValueT = Aws::String>
107 m_environmentHasBeenSet =
true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
return *
this;
117 template<
typename ResourceConfigT = ResourceConfig>
118 void SetResourceConfig(ResourceConfigT&& value) { m_resourceConfigHasBeenSet =
true; m_resourceConfig = std::forward<ResourceConfigT>(value); }
119 template<
typename ResourceConfigT = ResourceConfig>
129 template<
typename StoppingConditionT = StoppingCondition>
130 void SetStoppingCondition(StoppingConditionT&& value) { m_stoppingConditionHasBeenSet =
true; m_stoppingCondition = std::forward<StoppingConditionT>(value); }
131 template<
typename StoppingConditionT = StoppingCondition>
146 template<
typename IncrementalTrainingDataChannelsT = Aws::Vector<IncrementalTrainingDataChannel>>
147 void SetIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT&& value) { m_incrementalTrainingDataChannelsHasBeenSet =
true; m_incrementalTrainingDataChannels = std::forward<IncrementalTrainingDataChannelsT>(value); }
148 template<
typename IncrementalTrainingDataChannelsT = Aws::Vector<IncrementalTrainingDataChannel>>
150 template<
typename IncrementalTrainingDataChannelsT = IncrementalTrainingDataChannel>
162 template<
typename DataChannelsT = Aws::Vector<ModelTrainingDataChannel>>
163 void SetDataChannels(DataChannelsT&& value) { m_dataChannelsHasBeenSet =
true; m_dataChannels = std::forward<DataChannelsT>(value); }
164 template<
typename DataChannelsT = Aws::Vector<ModelTrainingDataChannel>>
166 template<
typename DataChannelsT = ModelTrainingDataChannel>
194 template<
typename DescriptionT = Aws::String>
195 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
196 template<
typename DescriptionT = Aws::String>
208 template<
typename KmsKeyArnT = Aws::String>
209 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
210 template<
typename KmsKeyArnT = Aws::String>
237 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
238 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
239 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
241 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
243 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
249 bool m_membershipIdentifierHasBeenSet =
false;
252 bool m_nameHasBeenSet =
false;
254 Aws::String m_configuredModelAlgorithmAssociationArn;
255 bool m_configuredModelAlgorithmAssociationArnHasBeenSet =
false;
258 bool m_hyperparametersHasBeenSet =
false;
261 bool m_environmentHasBeenSet =
false;
264 bool m_resourceConfigHasBeenSet =
false;
267 bool m_stoppingConditionHasBeenSet =
false;
270 bool m_incrementalTrainingDataChannelsHasBeenSet =
false;
273 bool m_dataChannelsHasBeenSet =
false;
276 bool m_trainingInputModeHasBeenSet =
false;
279 bool m_descriptionHasBeenSet =
false;
282 bool m_kmsKeyArnHasBeenSet =
false;
285 bool m_tagsHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
void SetHyperparameters(HyperparametersT &&value)
CreateTrainedModelRequest & WithIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
void SetStoppingCondition(StoppingConditionT &&value)
const Aws::Vector< IncrementalTrainingDataChannel > & GetIncrementalTrainingDataChannels() const
CreateTrainedModelRequest & AddDataChannels(DataChannelsT &&value)
bool ResourceConfigHasBeenSet() const
CreateTrainedModelRequest & WithTrainingInputMode(TrainingInputMode value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateTrainedModelRequest & WithKmsKeyArn(KmsKeyArnT &&value)
const Aws::String & GetMembershipIdentifier() const
bool TagsHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetConfiguredModelAlgorithmAssociationArn() const
void SetEnvironment(EnvironmentT &&value)
void SetConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
void SetName(NameT &&value)
CreateTrainedModelRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
CreateTrainedModelRequest & WithEnvironment(EnvironmentT &&value)
bool DataChannelsHasBeenSet() const
void SetMembershipIdentifier(MembershipIdentifierT &&value)
const Aws::Vector< ModelTrainingDataChannel > & GetDataChannels() const
void SetIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
CreateTrainedModelRequest & WithTags(TagsT &&value)
CreateTrainedModelRequest & WithStoppingCondition(StoppingConditionT &&value)
bool DescriptionHasBeenSet() const
AWS_CLEANROOMSML_API CreateTrainedModelRequest()=default
CreateTrainedModelRequest & WithHyperparameters(HyperparametersT &&value)
bool EnvironmentHasBeenSet() const
void SetTags(TagsT &&value)
bool ConfiguredModelAlgorithmAssociationArnHasBeenSet() const
const Aws::String & GetDescription() const
CreateTrainedModelRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool NameHasBeenSet() const
bool HyperparametersHasBeenSet() const
CreateTrainedModelRequest & WithName(NameT &&value)
CreateTrainedModelRequest & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
bool TrainingInputModeHasBeenSet() const
const Aws::String & GetKmsKeyArn() const
bool IncrementalTrainingDataChannelsHasBeenSet() const
CreateTrainedModelRequest & WithDescription(DescriptionT &&value)
CreateTrainedModelRequest & WithResourceConfig(ResourceConfigT &&value)
TrainingInputMode GetTrainingInputMode() const
void SetKmsKeyArn(KmsKeyArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
CreateTrainedModelRequest & AddHyperparameters(HyperparametersKeyT &&key, HyperparametersValueT &&value)
AWS_CLEANROOMSML_API Aws::String SerializePayload() const override
const ResourceConfig & GetResourceConfig() const
CreateTrainedModelRequest & WithDataChannels(DataChannelsT &&value)
bool MembershipIdentifierHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetHyperparameters() const
bool KmsKeyArnHasBeenSet() const
void SetDataChannels(DataChannelsT &&value)
CreateTrainedModelRequest & AddIncrementalTrainingDataChannels(IncrementalTrainingDataChannelsT &&value)
bool StoppingConditionHasBeenSet() const
void SetResourceConfig(ResourceConfigT &&value)
CreateTrainedModelRequest & WithConfiguredModelAlgorithmAssociationArn(ConfiguredModelAlgorithmAssociationArnT &&value)
virtual const char * GetServiceRequestName() const override
const StoppingCondition & GetStoppingCondition() const
void SetTrainingInputMode(TrainingInputMode 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