7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/LoraConfig.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <aws/sagemaker/model/TrainingSessionModelConfig.h>
14#include <aws/sagemaker/model/TrainingSessionOutputConfig.h>
15#include <aws/sagemaker/model/VpcConfig.h>
45 template <
typename TrainingSessionNameT = Aws::String>
47 m_trainingSessionNameHasBeenSet =
true;
48 m_trainingSessionName = std::forward<TrainingSessionNameT>(value);
50 template <
typename TrainingSessionNameT = Aws::String>
64 template <
typename ModelPackageGroupArnT = Aws::String>
66 m_modelPackageGroupArnHasBeenSet =
true;
67 m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value);
69 template <
typename ModelPackageGroupArnT = Aws::String>
83 template <
typename LoraConfigT = LoraConfig>
85 m_loraConfigHasBeenSet =
true;
86 m_loraConfig = std::forward<LoraConfigT>(value);
88 template <
typename LoraConfigT = LoraConfig>
103 template <
typename RoleArnT = Aws::String>
105 m_roleArnHasBeenSet =
true;
106 m_roleArn = std::forward<RoleArnT>(value);
108 template <
typename RoleArnT = Aws::String>
122 template <
typename VpcConfigT = VpcConfig>
124 m_vpcConfigHasBeenSet =
true;
125 m_vpcConfig = std::forward<VpcConfigT>(value);
127 template <
typename VpcConfigT = VpcConfig>
141 template <
typename ModelConfigT = TrainingSessionModelConfig>
143 m_modelConfigHasBeenSet =
true;
144 m_modelConfig = std::forward<ModelConfigT>(value);
146 template <
typename ModelConfigT = TrainingSessionModelConfig>
160 template <
typename OutputConfigT = TrainingSessionOutputConfig>
162 m_outputConfigHasBeenSet =
true;
163 m_outputConfig = std::forward<OutputConfigT>(value);
165 template <
typename OutputConfigT = TrainingSessionOutputConfig>
181 template <
typename TagsT = Aws::Vector<Tag>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Vector<Tag>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsT = Tag>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace_back(std::forward<TagsT>(value));
214 bool m_trainingSessionNameHasBeenSet =
false;
215 bool m_modelPackageGroupArnHasBeenSet =
false;
216 bool m_loraConfigHasBeenSet =
false;
217 bool m_roleArnHasBeenSet =
false;
218 bool m_vpcConfigHasBeenSet =
false;
219 bool m_modelConfigHasBeenSet =
false;
220 bool m_outputConfigHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
AWS_SAGEMAKER_API CreateTrainingSessionRequest()=default
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrainingSessionRequest & WithVpcConfig(VpcConfigT &&value)
const Aws::String & GetModelPackageGroupArn() const
const Aws::Vector< Tag > & GetTags() const
void SetTrainingSessionName(TrainingSessionNameT &&value)
void SetLoraConfig(LoraConfigT &&value)
CreateTrainingSessionRequest & AddTags(TagsT &&value)
const Aws::String & GetRoleArn() const
CreateTrainingSessionRequest & WithOutputConfig(OutputConfigT &&value)
bool LoraConfigHasBeenSet() const
CreateTrainingSessionRequest & WithModelPackageGroupArn(ModelPackageGroupArnT &&value)
CreateTrainingSessionRequest & WithModelConfig(ModelConfigT &&value)
CreateTrainingSessionRequest & WithRoleArn(RoleArnT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
bool OutputConfigHasBeenSet() const
const VpcConfig & GetVpcConfig() const
bool ModelConfigHasBeenSet() const
CreateTrainingSessionRequest & WithTags(TagsT &&value)
bool RoleArnHasBeenSet() const
void SetModelConfig(ModelConfigT &&value)
CreateTrainingSessionRequest & WithTrainingSessionName(TrainingSessionNameT &&value)
CreateTrainingSessionRequest & WithLoraConfig(LoraConfigT &&value)
bool ModelPackageGroupArnHasBeenSet() const
bool VpcConfigHasBeenSet() const
void SetVpcConfig(VpcConfigT &&value)
const LoraConfig & GetLoraConfig() const
void SetOutputConfig(OutputConfigT &&value)
const TrainingSessionOutputConfig & GetOutputConfig() const
const TrainingSessionModelConfig & GetModelConfig() const
const Aws::String & GetTrainingSessionName() const
void SetModelPackageGroupArn(ModelPackageGroupArnT &&value)
bool TrainingSessionNameHasBeenSet() const
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetRoleArn(RoleArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector