/** * 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 Comprehend { namespace Model { /** */ class StopTrainingEntityRecognizerRequest : public ComprehendRequest { public: AWS_COMPREHEND_API StopTrainingEntityRecognizerRequest(); // 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 "StopTrainingEntityRecognizer"; } AWS_COMPREHEND_API Aws::String SerializePayload() const override; AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; } /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline StopTrainingEntityRecognizerRequest& WithEntityRecognizerArn(const Aws::String& value) { SetEntityRecognizerArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline StopTrainingEntityRecognizerRequest& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer * currently being trained.

*/ inline StopTrainingEntityRecognizerRequest& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;} private: Aws::String m_entityRecognizerArn; bool m_entityRecognizerArnHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws