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/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Comprehend
24 {
25 namespace Model
26 {
27   class AWS_COMPREHEND_API CreateEntityRecognizerResult
28   {
29   public:
30     CreateEntityRecognizerResult();
31     CreateEntityRecognizerResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     CreateEntityRecognizerResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
37      */
GetEntityRecognizerArn()38     inline const Aws::String& GetEntityRecognizerArn() const{ return m_entityRecognizerArn; }
39 
40     /**
41      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
42      */
SetEntityRecognizerArn(const Aws::String & value)43     inline void SetEntityRecognizerArn(const Aws::String& value) { m_entityRecognizerArn = value; }
44 
45     /**
46      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
47      */
SetEntityRecognizerArn(Aws::String && value)48     inline void SetEntityRecognizerArn(Aws::String&& value) { m_entityRecognizerArn = std::move(value); }
49 
50     /**
51      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
52      */
SetEntityRecognizerArn(const char * value)53     inline void SetEntityRecognizerArn(const char* value) { m_entityRecognizerArn.assign(value); }
54 
55     /**
56      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
57      */
WithEntityRecognizerArn(const Aws::String & value)58     inline CreateEntityRecognizerResult& WithEntityRecognizerArn(const Aws::String& value) { SetEntityRecognizerArn(value); return *this;}
59 
60     /**
61      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
62      */
WithEntityRecognizerArn(Aws::String && value)63     inline CreateEntityRecognizerResult& WithEntityRecognizerArn(Aws::String&& value) { SetEntityRecognizerArn(std::move(value)); return *this;}
64 
65     /**
66      * <p>The Amazon Resource Name (ARN) that identifies the entity recognizer.</p>
67      */
WithEntityRecognizerArn(const char * value)68     inline CreateEntityRecognizerResult& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;}
69 
70   private:
71 
72     Aws::String m_entityRecognizerArn;
73   };
74 
75 } // namespace Model
76 } // namespace Comprehend
77 } // namespace Aws
78