/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Comprehend { namespace Model { /** *

The location of the training documents. This parameter is required in a * request to create a native classifier model.

See Also:

AWS * API Reference

*/ class DocumentClassifierDocuments { public: AWS_COMPREHEND_API DocumentClassifierDocuments(); AWS_COMPREHEND_API DocumentClassifierDocuments(Aws::Utils::Json::JsonView jsonValue); AWS_COMPREHEND_API DocumentClassifierDocuments& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline DocumentClassifierDocuments& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline DocumentClassifierDocuments& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

The S3 URI location of the training documents specified in the S3Uri CSV * file.

*/ inline DocumentClassifierDocuments& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline const Aws::String& GetTestS3Uri() const{ return m_testS3Uri; } /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline bool TestS3UriHasBeenSet() const { return m_testS3UriHasBeenSet; } /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline void SetTestS3Uri(const Aws::String& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = value; } /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline void SetTestS3Uri(Aws::String&& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = std::move(value); } /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline void SetTestS3Uri(const char* value) { m_testS3UriHasBeenSet = true; m_testS3Uri.assign(value); } /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline DocumentClassifierDocuments& WithTestS3Uri(const Aws::String& value) { SetTestS3Uri(value); return *this;} /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline DocumentClassifierDocuments& WithTestS3Uri(Aws::String&& value) { SetTestS3Uri(std::move(value)); return *this;} /** *

The S3 URI location of the test documents included in the TestS3Uri CSV file. * This field is not required if you do not specify a test CSV file.

*/ inline DocumentClassifierDocuments& WithTestS3Uri(const char* value) { SetTestS3Uri(value); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; Aws::String m_testS3Uri; bool m_testS3UriHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws