/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class UpdateFeatureGroupRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API UpdateFeatureGroupRequest(); // 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 "UpdateFeatureGroup"; } 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 that you're * updating.

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

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

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

The name or Amazon Resource Name (ARN) of the feature group 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 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 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 that you're * updating.

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

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

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

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

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

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline const Aws::Vector& GetFeatureAdditions() const{ return m_featureAdditions; } /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline bool FeatureAdditionsHasBeenSet() const { return m_featureAdditionsHasBeenSet; } /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline void SetFeatureAdditions(const Aws::Vector& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions = value; } /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline void SetFeatureAdditions(Aws::Vector&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions = std::move(value); } /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline UpdateFeatureGroupRequest& WithFeatureAdditions(const Aws::Vector& value) { SetFeatureAdditions(value); return *this;} /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline UpdateFeatureGroupRequest& WithFeatureAdditions(Aws::Vector&& value) { SetFeatureAdditions(std::move(value)); return *this;} /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline UpdateFeatureGroupRequest& AddFeatureAdditions(const FeatureDefinition& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions.push_back(value); return *this; } /** *

Updates the feature group. Updating a feature group is an asynchronous * operation. When you get an HTTP 200 response, you've made a valid request. It * takes some time after you've made a valid request for Feature Store to update * the feature group.

*/ inline UpdateFeatureGroupRequest& AddFeatureAdditions(FeatureDefinition&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions.push_back(std::move(value)); return *this; } /** *

Updates the feature group online store configuration.

*/ inline const OnlineStoreConfigUpdate& GetOnlineStoreConfig() const{ return m_onlineStoreConfig; } /** *

Updates the feature group online store configuration.

*/ inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; } /** *

Updates the feature group online store configuration.

*/ inline void SetOnlineStoreConfig(const OnlineStoreConfigUpdate& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = value; } /** *

Updates the feature group online store configuration.

*/ inline void SetOnlineStoreConfig(OnlineStoreConfigUpdate&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::move(value); } /** *

Updates the feature group online store configuration.

*/ inline UpdateFeatureGroupRequest& WithOnlineStoreConfig(const OnlineStoreConfigUpdate& value) { SetOnlineStoreConfig(value); return *this;} /** *

Updates the feature group online store configuration.

*/ inline UpdateFeatureGroupRequest& WithOnlineStoreConfig(OnlineStoreConfigUpdate&& value) { SetOnlineStoreConfig(std::move(value)); return *this;} private: Aws::String m_featureGroupName; bool m_featureGroupNameHasBeenSet = false; Aws::Vector m_featureAdditions; bool m_featureAdditionsHasBeenSet = false; OnlineStoreConfigUpdate m_onlineStoreConfig; bool m_onlineStoreConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws