/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { class CreateEntityRecognizerResult { public: AWS_COMPREHEND_API CreateEntityRecognizerResult(); AWS_COMPREHEND_API CreateEntityRecognizerResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHEND_API CreateEntityRecognizerResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

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

The Amazon Resource Name (ARN) that identifies the entity recognizer.

*/ inline CreateEntityRecognizerResult& WithEntityRecognizerArn(const char* value) { SetEntityRecognizerArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateEntityRecognizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEntityRecognizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEntityRecognizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_entityRecognizerArn; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws