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/model/DocumentClassifierProperties.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 DescribeDocumentClassifierResult 28 { 29 public: 30 DescribeDocumentClassifierResult(); 31 DescribeDocumentClassifierResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DescribeDocumentClassifierResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>An object that contains the properties associated with a document 37 * classifier.</p> 38 */ GetDocumentClassifierProperties()39 inline const DocumentClassifierProperties& GetDocumentClassifierProperties() const{ return m_documentClassifierProperties; } 40 41 /** 42 * <p>An object that contains the properties associated with a document 43 * classifier.</p> 44 */ SetDocumentClassifierProperties(const DocumentClassifierProperties & value)45 inline void SetDocumentClassifierProperties(const DocumentClassifierProperties& value) { m_documentClassifierProperties = value; } 46 47 /** 48 * <p>An object that contains the properties associated with a document 49 * classifier.</p> 50 */ SetDocumentClassifierProperties(DocumentClassifierProperties && value)51 inline void SetDocumentClassifierProperties(DocumentClassifierProperties&& value) { m_documentClassifierProperties = std::move(value); } 52 53 /** 54 * <p>An object that contains the properties associated with a document 55 * classifier.</p> 56 */ WithDocumentClassifierProperties(const DocumentClassifierProperties & value)57 inline DescribeDocumentClassifierResult& WithDocumentClassifierProperties(const DocumentClassifierProperties& value) { SetDocumentClassifierProperties(value); return *this;} 58 59 /** 60 * <p>An object that contains the properties associated with a document 61 * classifier.</p> 62 */ WithDocumentClassifierProperties(DocumentClassifierProperties && value)63 inline DescribeDocumentClassifierResult& WithDocumentClassifierProperties(DocumentClassifierProperties&& value) { SetDocumentClassifierProperties(std::move(value)); return *this;} 64 65 private: 66 67 DocumentClassifierProperties m_documentClassifierProperties; 68 }; 69 70 } // namespace Model 71 } // namespace Comprehend 72 } // namespace Aws 73