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

The ARN of the dataset.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The ARN of the dataset.

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

The ARN of the dataset.

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

The ARN of the dataset.

*/ inline void SetDatasetArn(const char* value) { m_datasetArn.assign(value); } /** *

The ARN of the dataset.

*/ inline CreateDatasetResult& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The ARN of the dataset.

*/ inline CreateDatasetResult& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The ARN of the dataset.

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