/** * 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 LexModelsV2 { namespace Model { /** *

Contains information about the Amazon S3 location from which the test set is * imported.

See Also:

AWS * API Reference

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

The name of the Amazon S3 bucket.

*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *

The name of the Amazon S3 bucket.

*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *

The name of the Amazon S3 bucket.

*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *

The name of the Amazon S3 bucket.

*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *

The name of the Amazon S3 bucket.

*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *

The name of the Amazon S3 bucket.

*/ inline TestSetImportInputLocation& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *

The name of the Amazon S3 bucket.

*/ inline TestSetImportInputLocation& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *

The name of the Amazon S3 bucket.

*/ inline TestSetImportInputLocation& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline const Aws::String& GetS3Path() const{ return m_s3Path; } /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; } /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline void SetS3Path(const Aws::String& value) { m_s3PathHasBeenSet = true; m_s3Path = value; } /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline void SetS3Path(Aws::String&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::move(value); } /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline void SetS3Path(const char* value) { m_s3PathHasBeenSet = true; m_s3Path.assign(value); } /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline TestSetImportInputLocation& WithS3Path(const Aws::String& value) { SetS3Path(value); return *this;} /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline TestSetImportInputLocation& WithS3Path(Aws::String&& value) { SetS3Path(std::move(value)); return *this;} /** *

The path inside the Amazon S3 bucket pointing to the test-set CSV file.

*/ inline TestSetImportInputLocation& WithS3Path(const char* value) { SetS3Path(value); return *this;} private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; Aws::String m_s3Path; bool m_s3PathHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws