/** * 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 CreateDocumentClassifierResult { public: AWS_COMPREHEND_API CreateDocumentClassifierResult(); AWS_COMPREHEND_API CreateDocumentClassifierResult(const Aws::AmazonWebServiceResult& result); AWS_COMPREHEND_API CreateDocumentClassifierResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline const Aws::String& GetDocumentClassifierArn() const{ return m_documentClassifierArn; } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

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

The Amazon Resource Name (ARN) that identifies the document classifier.

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

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline void SetDocumentClassifierArn(const char* value) { m_documentClassifierArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline CreateDocumentClassifierResult& WithDocumentClassifierArn(const Aws::String& value) { SetDocumentClassifierArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline CreateDocumentClassifierResult& WithDocumentClassifierArn(Aws::String&& value) { SetDocumentClassifierArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the document classifier.

*/ inline CreateDocumentClassifierResult& WithDocumentClassifierArn(const char* value) { SetDocumentClassifierArn(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 CreateDocumentClassifierResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDocumentClassifierResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDocumentClassifierResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_documentClassifierArn; Aws::String m_requestId; }; } // namespace Model } // namespace Comprehend } // namespace Aws