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/InferenceExperimentDataStorageConfig.h>
12#include <aws/sagemaker/model/InferenceExperimentSchedule.h>
13#include <aws/sagemaker/model/InferenceExperimentType.h>
14#include <aws/sagemaker/model/ModelVariantConfig.h>
15#include <aws/sagemaker/model/ShadowModeConfig.h>
16#include <aws/sagemaker/model/Tag.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
69 m_typeHasBeenSet =
true;
86 template <
typename ScheduleT = InferenceExperimentSchedule>
88 m_scheduleHasBeenSet =
true;
89 m_schedule = std::forward<ScheduleT>(value);
91 template <
typename ScheduleT = InferenceExperimentSchedule>
104 template <
typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet =
true;
107 m_description = std::forward<DescriptionT>(value);
109 template <
typename DescriptionT = Aws::String>
124 template <
typename RoleArnT = Aws::String>
126 m_roleArnHasBeenSet =
true;
127 m_roleArn = std::forward<RoleArnT>(value);
129 template <
typename RoleArnT = Aws::String>
143 template <
typename Endpo
intNameT = Aws::String>
145 m_endpointNameHasBeenSet =
true;
146 m_endpointName = std::forward<EndpointNameT>(value);
148 template <
typename Endpo
intNameT = Aws::String>
164 template <
typename ModelVariantsT = Aws::Vector<ModelVariantConfig>>
166 m_modelVariantsHasBeenSet =
true;
167 m_modelVariants = std::forward<ModelVariantsT>(value);
169 template <
typename ModelVariantsT = Aws::Vector<ModelVariantConfig>>
174 template <
typename ModelVariantsT = ModelVariantConfig>
176 m_modelVariantsHasBeenSet =
true;
177 m_modelVariants.emplace_back(std::forward<ModelVariantsT>(value));
192 template <
typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
194 m_dataStorageConfigHasBeenSet =
true;
195 m_dataStorageConfig = std::forward<DataStorageConfigT>(value);
197 template <
typename DataStorageConfigT = InferenceExperimentDataStorageConfig>
214 template <
typename ShadowModeConfigT = ShadowModeConfig>
216 m_shadowModeConfigHasBeenSet =
true;
217 m_shadowModeConfig = std::forward<ShadowModeConfigT>(value);
219 template <
typename ShadowModeConfigT = ShadowModeConfig>
259 template <
typename KmsKeyT = Aws::String>
261 m_kmsKeyHasBeenSet =
true;
262 m_kmsKey = std::forward<KmsKeyT>(value);
264 template <
typename KmsKeyT = Aws::String>
281 template <
typename TagsT = Aws::Vector<Tag>>
283 m_tagsHasBeenSet =
true;
284 m_tags = std::forward<TagsT>(value);
286 template <
typename TagsT = Aws::Vector<Tag>>
288 SetTags(std::forward<TagsT>(value));
291 template <
typename TagsT = Tag>
293 m_tagsHasBeenSet =
true;
294 m_tags.emplace_back(std::forward<TagsT>(value));
303 InferenceExperimentSchedule m_schedule;
313 InferenceExperimentDataStorageConfig m_dataStorageConfig;
315 ShadowModeConfig m_shadowModeConfig;
320 bool m_nameHasBeenSet =
false;
321 bool m_typeHasBeenSet =
false;
322 bool m_scheduleHasBeenSet =
false;
323 bool m_descriptionHasBeenSet =
false;
324 bool m_roleArnHasBeenSet =
false;
325 bool m_endpointNameHasBeenSet =
false;
326 bool m_modelVariantsHasBeenSet =
false;
327 bool m_dataStorageConfigHasBeenSet =
false;
328 bool m_shadowModeConfigHasBeenSet =
false;
329 bool m_kmsKeyHasBeenSet =
false;
330 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