/** * 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 { /** *

Describes the training documents submitted with an entity * recognizer.

See Also:

AWS * API Reference

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

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

Specifies the Amazon S3 location where the training documents for an entity * recognizer are located. The URI must be in the same region as the API endpoint * that you are calling.

*/ inline EntityRecognizerDocuments& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet; }; } // namespace Model } // namespace Comprehend } // namespace Aws