1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/comprehend/Comprehend_EXPORTS.h>
8 #include <aws/comprehend/ComprehendRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Comprehend
15 {
16 namespace Model
17 {
18 
19   /**
20    */
21   class AWS_COMPREHEND_API DeleteEntityRecognizerRequest : public ComprehendRequest
22   {
23   public:
24     DeleteEntityRecognizerRequest();
25 
26     // Service request name is the Operation name which will send this request out,
27     // each operation should has unique request name, so that we can get operation's name from this request.
28     // Note: this is not true for response, multiple operations may have the same response name,
29     // so we can not get operation's name from response.
GetServiceRequestName()30     inline virtual const char* GetServiceRequestName() const override { return "DeleteEntityRecognizer"; }
31 
32     Aws::String SerializePayload() const override;
33 
34     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
37     /**
38      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
39      */
GetEntityRecognizerArn()40     inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
41 
42     /**
43      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
44      */
EntityRecognizerArnHasBeenSet()45     inline bool EntityRecognizerArnHasBeenSet() const { return m_entityRecognizerArnHasBeenSet; }
46 
47     /**
48      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
49      */
SetEntityRecognizerArn(const Aws::String & value)50     inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = value; }
51 
52     /**
53      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
54      */
SetEntityRecognizerArn(Aws::String && value)55     inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn = std::move(value); }
56 
57     /**
58      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
59      */
SetEntityRecognizerArn(const char * value)60     inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArnHasBeenSet = true; m_entityRecognizerArn.assign(value); }
61 
62     /**
63      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
64      */
WithEntityRecognizerArn(const Aws::String & value)65     inline DeleteEntityRecognizerRequest& WithEntityRecognizerArn(const Aws::String& value) { SetEntityRecognizerArn(value); return *this;}
66 
67     /**
68      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
69      */
WithEntityRecognizerArn(Aws::String && value)70     inline DeleteEntityRecognizerRequest& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;}
71 
72     /**
73      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
74      */
WithEntityRecognizerArn(const char * value)75     inline DeleteEntityRecognizerRequest& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
76 
77   private:
78 
79     Aws::String m_entityRecognizerArn;
80     bool m_entityRecognizerArnHasBeenSet;
81   };
82 
83 } // namespace Model
84 } // namespace Comprehend
85 } // namespace Aws
86