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

Describes information associated with an entity recognizer.

*/ inline const EntityRecognizerProperties& GetEntityRecognizerProperties() const{ return m_entityRecognizerProperties; } /** *

Describes information associated with an entity recognizer.

*/ inline void SetEntityRecognizerProperties(const EntityRecognizerProperties& value) { m_entityRecognizerProperties = value; } /** *

Describes information associated with an entity recognizer.

*/ inline void SetEntityRecognizerProperties(EntityRecognizerProperties&& value) { m_entityRecognizerProperties = std::move(value); } /** *

Describes information associated with an entity recognizer.

*/ inline DescribeEntityRecognizerResult& WithEntityRecognizerProperties(const EntityRecognizerProperties& value) { SetEntityRecognizerProperties(value); return *this;} /** *

Describes information associated with an entity recognizer.

*/ inline DescribeEntityRecognizerResult& WithEntityRecognizerProperties(EntityRecognizerProperties&& value) { SetEntityRecognizerProperties(std::move(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 DescribeEntityRecognizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeEntityRecognizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeEntityRecognizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EntityRecognizerProperties m_entityRecognizerProperties; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws