/** * 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 Personalize { namespace Model { /** */ class StopRecommenderRequest : public PersonalizeRequest { public: AWS_PERSONALIZE_API StopRecommenderRequest(); // 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 "StopRecommender"; } AWS_PERSONALIZE_API Aws::String SerializePayload() const override; AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline const Aws::String& GetRecommenderArn() const{ return m_recommenderArn; } /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline bool RecommenderArnHasBeenSet() const { return m_recommenderArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline void SetRecommenderArn(const Aws::String& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = value; } /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline void SetRecommenderArn(Aws::String&& value) { m_recommenderArnHasBeenSet = true; m_recommenderArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline void SetRecommenderArn(const char* value) { m_recommenderArnHasBeenSet = true; m_recommenderArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline StopRecommenderRequest& WithRecommenderArn(const Aws::String& value) { SetRecommenderArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline StopRecommenderRequest& WithRecommenderArn(Aws::String&& value) { SetRecommenderArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the recommender to stop.

*/ inline StopRecommenderRequest& WithRecommenderArn(const char* value) { SetRecommenderArn(value); return *this;} private: Aws::String m_recommenderArn; bool m_recommenderArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws