/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class UpdateFeatureMetadataRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API UpdateFeatureMetadataRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateFeatureMetadata"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; } /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; } /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureGroupName(const Aws::String& value) { SetFeatureGroupName(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the feature group containing the * feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;} /** *

The name of the feature that you're updating.

*/ inline const Aws::String& GetFeatureName() const{ return m_featureName; } /** *

The name of the feature that you're updating.

*/ inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; } /** *

The name of the feature that you're updating.

*/ inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; } /** *

The name of the feature that you're updating.

*/ inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); } /** *

The name of the feature that you're updating.

*/ inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); } /** *

The name of the feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;} /** *

The name of the feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;} /** *

The name of the feature that you're updating.

*/ inline UpdateFeatureMetadataRequest& WithFeatureName(const char* value) { SetFeatureName(value); return *this;} /** *

A description that you can write to better describe the feature.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description that you can write to better describe the feature.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description that you can write to better describe the feature.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description that you can write to better describe the feature.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description that you can write to better describe the feature.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description that you can write to better describe the feature.

*/ inline UpdateFeatureMetadataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description that you can write to better describe the feature.

*/ inline UpdateFeatureMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description that you can write to better describe the feature.

*/ inline UpdateFeatureMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline const Aws::Vector& GetParameterAdditions() const{ return m_parameterAdditions; } /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline bool ParameterAdditionsHasBeenSet() const { return m_parameterAdditionsHasBeenSet; } /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline void SetParameterAdditions(const Aws::Vector& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions = value; } /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline void SetParameterAdditions(Aws::Vector&& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions = std::move(value); } /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline UpdateFeatureMetadataRequest& WithParameterAdditions(const Aws::Vector& value) { SetParameterAdditions(value); return *this;} /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline UpdateFeatureMetadataRequest& WithParameterAdditions(Aws::Vector&& value) { SetParameterAdditions(std::move(value)); return *this;} /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline UpdateFeatureMetadataRequest& AddParameterAdditions(const FeatureParameter& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions.push_back(value); return *this; } /** *

A list of key-value pairs that you can add to better describe the * feature.

*/ inline UpdateFeatureMetadataRequest& AddParameterAdditions(FeatureParameter&& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions.push_back(std::move(value)); return *this; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline const Aws::Vector& GetParameterRemovals() const{ return m_parameterRemovals; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline bool ParameterRemovalsHasBeenSet() const { return m_parameterRemovalsHasBeenSet; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline void SetParameterRemovals(const Aws::Vector& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals = value; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline void SetParameterRemovals(Aws::Vector&& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals = std::move(value); } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline UpdateFeatureMetadataRequest& WithParameterRemovals(const Aws::Vector& value) { SetParameterRemovals(value); return *this;} /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline UpdateFeatureMetadataRequest& WithParameterRemovals(Aws::Vector&& value) { SetParameterRemovals(std::move(value)); return *this;} /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline UpdateFeatureMetadataRequest& AddParameterRemovals(const Aws::String& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(value); return *this; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline UpdateFeatureMetadataRequest& AddParameterRemovals(Aws::String&& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(std::move(value)); return *this; } /** *

A list of parameter keys that you can specify to remove parameters that * describe your feature.

*/ inline UpdateFeatureMetadataRequest& AddParameterRemovals(const char* value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(value); return *this; } private: Aws::String m_featureGroupName; bool m_featureGroupNameHasBeenSet = false; Aws::String m_featureName; bool m_featureNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector m_parameterAdditions; bool m_parameterAdditionsHasBeenSet = false; Aws::Vector m_parameterRemovals; bool m_parameterRemovalsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws