7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/InferenceExperimentType.h>
11#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/InferenceExperimentDataStorageConfig.h>
14#include <aws/sagemaker/model/ShadowModeConfig.h>
15#include <aws/sagemaker/model/ModelVariantConfig.h>
16#include <aws/sagemaker/model/Tag.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
78 template<
typename ScheduleT = InferenceExperimentSchedule>
79 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet =
true; m_schedule = std::forward<ScheduleT>(value); }
80 template<
typename ScheduleT = InferenceExperimentSchedule>
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
104 template<
typename RoleArnT = Aws::String>
105 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
106 template<
typename RoleArnT = Aws::String>
117 template<
typename Endpo
intNameT = Aws::String>
118 void SetEndpointName(EndpointNameT&& value) { m_endpointNameHasBeenSet =
true; m_endpointName = std::forward<EndpointNameT>(value); }
119 template<
typename Endpo
intNameT = Aws::String>
132 template<
typename ModelVariantsT = Aws::Vector<ModelVariantConfig>>
133 void SetModelVariants(ModelVariantsT&& value) { m_modelVariantsHasBeenSet =
true; m_modelVariants = std::forward<ModelVariantsT>(value); }
134 template<
typename ModelVariantsT = Aws::Vector<ModelVariantConfig>>
136 template<
typename ModelVariantsT = ModelVariantConfig>
150 template<
typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
151 void SetDataStorageConfig(DataStorageConfigT&& value) { m_dataStorageConfigHasBeenSet =
true; m_dataStorageConfig = std::forward<DataStorageConfigT>(value); }
152 template<
typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
166 template<
typename ShadowModeConfigT = ShadowModeConfig>
167 void SetShadowModeConfig(ShadowModeConfigT&& value) { m_shadowModeConfigHasBeenSet =
true; m_shadowModeConfig = std::forward<ShadowModeConfigT>(value); }
168 template<
typename ShadowModeConfigT = ShadowModeConfig>
205 template<
typename KmsKeyT = Aws::String>
206 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet =
true; m_kmsKey = std::forward<KmsKeyT>(value); }
207 template<
typename KmsKeyT = Aws::String>
221 template<
typename TagsT = Aws::Vector<Tag>>
222 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
223 template<
typename TagsT = Aws::Vector<Tag>>
225 template<
typename TagsT = Tag>
231 bool m_nameHasBeenSet =
false;
234 bool m_typeHasBeenSet =
false;
236 InferenceExperimentSchedule m_schedule;
237 bool m_scheduleHasBeenSet =
false;
240 bool m_descriptionHasBeenSet =
false;
243 bool m_roleArnHasBeenSet =
false;
246 bool m_endpointNameHasBeenSet =
false;
249 bool m_modelVariantsHasBeenSet =
false;
251 InferenceExperimentDataStorageConfig m_dataStorageConfig;
252 bool m_dataStorageConfigHasBeenSet =
false;
254 ShadowModeConfig m_shadowModeConfig;
255 bool m_shadowModeConfigHasBeenSet =
false;
258 bool m_kmsKeyHasBeenSet =
false;
261 bool m_tagsHasBeenSet =
false;
CreateInferenceExperimentRequest & WithName(NameT &&value)
CreateInferenceExperimentRequest & WithModelVariants(ModelVariantsT &&value)
const Aws::Vector< ModelVariantConfig > & GetModelVariants() const
CreateInferenceExperimentRequest & WithType(InferenceExperimentType value)
const ShadowModeConfig & GetShadowModeConfig() const
CreateInferenceExperimentRequest & WithRoleArn(RoleArnT &&value)
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateInferenceExperimentRequest & WithSchedule(ScheduleT &&value)
void SetSchedule(ScheduleT &&value)
bool ShadowModeConfigHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetModelVariants(ModelVariantsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
const InferenceExperimentSchedule & GetSchedule() const
bool ModelVariantsHasBeenSet() const
InferenceExperimentType GetType() const
bool KmsKeyHasBeenSet() const
CreateInferenceExperimentRequest & WithDataStorageConfig(DataStorageConfigT &&value)
CreateInferenceExperimentRequest & AddModelVariants(ModelVariantsT &&value)
CreateInferenceExperimentRequest & WithDescription(DescriptionT &&value)
CreateInferenceExperimentRequest & WithShadowModeConfig(ShadowModeConfigT &&value)
const Aws::String & GetKmsKey() const
CreateInferenceExperimentRequest & WithEndpointName(EndpointNameT &&value)
bool RoleArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetName(NameT &&value)
void SetTags(TagsT &&value)
CreateInferenceExperimentRequest & WithTags(TagsT &&value)
void SetDataStorageConfig(DataStorageConfigT &&value)
const Aws::String & GetRoleArn() const
bool EndpointNameHasBeenSet() const
void SetEndpointName(EndpointNameT &&value)
CreateInferenceExperimentRequest & WithKmsKey(KmsKeyT &&value)
CreateInferenceExperimentRequest & AddTags(TagsT &&value)
void SetType(InferenceExperimentType value)
bool DataStorageConfigHasBeenSet() const
const Aws::String & GetName() const
void SetShadowModeConfig(ShadowModeConfigT &&value)
const Aws::Vector< Tag > & GetTags() const
bool ScheduleHasBeenSet() const
const Aws::String & GetEndpointName() const
const Aws::String & GetDescription() const
void SetKmsKey(KmsKeyT &&value)
bool DescriptionHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const InferenceExperimentDataStorageConfig & GetDataStorageConfig() const
AWS_SAGEMAKER_API CreateInferenceExperimentRequest()=default
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