/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CloudWatchEvidently { namespace Model { /** */ class DeleteFeatureRequest : public CloudWatchEvidentlyRequest { public: AWS_CLOUDWATCHEVIDENTLY_API DeleteFeatureRequest(); // 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 "DeleteFeature"; } AWS_CLOUDWATCHEVIDENTLY_API Aws::String SerializePayload() const override; /** *

The name of the feature to delete.

*/ inline const Aws::String& GetFeature() const{ return m_feature; } /** *

The name of the feature to delete.

*/ inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; } /** *

The name of the feature to delete.

*/ inline void SetFeature(const Aws::String& value) { m_featureHasBeenSet = true; m_feature = value; } /** *

The name of the feature to delete.

*/ inline void SetFeature(Aws::String&& value) { m_featureHasBeenSet = true; m_feature = std::move(value); } /** *

The name of the feature to delete.

*/ inline void SetFeature(const char* value) { m_featureHasBeenSet = true; m_feature.assign(value); } /** *

The name of the feature to delete.

*/ inline DeleteFeatureRequest& WithFeature(const Aws::String& value) { SetFeature(value); return *this;} /** *

The name of the feature to delete.

*/ inline DeleteFeatureRequest& WithFeature(Aws::String&& value) { SetFeature(std::move(value)); return *this;} /** *

The name of the feature to delete.

*/ inline DeleteFeatureRequest& WithFeature(const char* value) { SetFeature(value); return *this;} /** *

The name or ARN of the project that contains the feature to delete.

*/ inline const Aws::String& GetProject() const{ return m_project; } /** *

The name or ARN of the project that contains the feature to delete.

*/ inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } /** *

The name or ARN of the project that contains the feature to delete.

*/ inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; } /** *

The name or ARN of the project that contains the feature to delete.

*/ inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } /** *

The name or ARN of the project that contains the feature to delete.

*/ inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); } /** *

The name or ARN of the project that contains the feature to delete.

*/ inline DeleteFeatureRequest& WithProject(const Aws::String& value) { SetProject(value); return *this;} /** *

The name or ARN of the project that contains the feature to delete.

*/ inline DeleteFeatureRequest& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;} /** *

The name or ARN of the project that contains the feature to delete.

*/ inline DeleteFeatureRequest& WithProject(const char* value) { SetProject(value); return *this;} private: Aws::String m_feature; bool m_featureHasBeenSet = false; Aws::String m_project; bool m_projectHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws