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/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/InferenceExperimentStopDesiredState.h>
13#include <aws/sagemaker/model/ModelVariantAction.h>
14#include <aws/sagemaker/model/ModelVariantConfig.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
118 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
126 bool m_nameHasBeenSet =
false;
129 bool m_modelVariantActionsHasBeenSet =
false;
132 bool m_desiredModelVariantsHasBeenSet =
false;
135 bool m_desiredStateHasBeenSet =
false;
138 bool m_reasonHasBeenSet =
false;
void SetDesiredModelVariants(const Aws::Vector< ModelVariantConfig > &value)
StopInferenceExperimentRequest & WithDesiredState(const InferenceExperimentStopDesiredState &value)
bool ReasonHasBeenSet() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StopInferenceExperimentRequest & WithModelVariantActions(const Aws::Map< Aws::String, ModelVariantAction > &value)
StopInferenceExperimentRequest & WithModelVariantActions(Aws::Map< Aws::String, ModelVariantAction > &&value)
StopInferenceExperimentRequest & AddDesiredModelVariants(ModelVariantConfig &&value)
StopInferenceExperimentRequest & WithDesiredState(InferenceExperimentStopDesiredState &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< ModelVariantConfig > & GetDesiredModelVariants() const
StopInferenceExperimentRequest & WithReason(Aws::String &&value)
const InferenceExperimentStopDesiredState & GetDesiredState() const
void SetModelVariantActions(Aws::Map< Aws::String, ModelVariantAction > &&value)
void SetModelVariantActions(const Aws::Map< Aws::String, ModelVariantAction > &value)
void SetReason(const Aws::String &value)
void SetName(const Aws::String &value)
StopInferenceExperimentRequest & WithReason(const char *value)
StopInferenceExperimentRequest & WithDesiredModelVariants(const Aws::Vector< ModelVariantConfig > &value)
AWS_SAGEMAKER_API StopInferenceExperimentRequest()
StopInferenceExperimentRequest & WithName(const Aws::String &value)
void SetReason(const char *value)
StopInferenceExperimentRequest & WithName(const char *value)
StopInferenceExperimentRequest & AddModelVariantActions(const Aws::String &key, const ModelVariantAction &value)
bool NameHasBeenSet() const
StopInferenceExperimentRequest & WithName(Aws::String &&value)
bool ModelVariantActionsHasBeenSet() const
void SetName(Aws::String &&value)
StopInferenceExperimentRequest & WithReason(const Aws::String &value)
void SetDesiredState(const InferenceExperimentStopDesiredState &value)
const Aws::String & GetReason() const
void SetDesiredState(InferenceExperimentStopDesiredState &&value)
StopInferenceExperimentRequest & WithDesiredModelVariants(Aws::Vector< ModelVariantConfig > &&value)
StopInferenceExperimentRequest & AddModelVariantActions(const char *key, ModelVariantAction &&value)
StopInferenceExperimentRequest & AddModelVariantActions(Aws::String &&key, ModelVariantAction &&value)
StopInferenceExperimentRequest & AddModelVariantActions(const Aws::String &key, ModelVariantAction &&value)
void SetReason(Aws::String &&value)
void SetName(const char *value)
const Aws::String & GetName() const
StopInferenceExperimentRequest & AddModelVariantActions(const char *key, const ModelVariantAction &value)
const Aws::Map< Aws::String, ModelVariantAction > & GetModelVariantActions() const
bool DesiredModelVariantsHasBeenSet() const
bool DesiredStateHasBeenSet() const
void SetDesiredModelVariants(Aws::Vector< ModelVariantConfig > &&value)
StopInferenceExperimentRequest & AddDesiredModelVariants(const ModelVariantConfig &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
StopInferenceExperimentRequest & AddModelVariantActions(Aws::String &&key, const ModelVariantAction &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
InferenceExperimentStopDesiredState
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