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

Sagemaker Groundtruth format manifest files for the input, output and * validation datasets that are used and created during testing.

See * Also:

AWS * API Reference

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

The testing dataset that was supplied for training.

*/ inline const TestingData& GetInput() const{ return m_input; } /** *

The testing dataset that was supplied for training.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

The testing dataset that was supplied for training.

*/ inline void SetInput(const TestingData& value) { m_inputHasBeenSet = true; m_input = value; } /** *

The testing dataset that was supplied for training.

*/ inline void SetInput(TestingData&& value) { m_inputHasBeenSet = true; m_input = std::move(value); } /** *

The testing dataset that was supplied for training.

*/ inline TestingDataResult& WithInput(const TestingData& value) { SetInput(value); return *this;} /** *

The testing dataset that was supplied for training.

*/ inline TestingDataResult& WithInput(TestingData&& value) { SetInput(std::move(value)); return *this;} /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline const TestingData& GetOutput() const{ return m_output; } /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline void SetOutput(const TestingData& value) { m_outputHasBeenSet = true; m_output = value; } /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline void SetOutput(TestingData&& value) { m_outputHasBeenSet = true; m_output = std::move(value); } /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline TestingDataResult& WithOutput(const TestingData& value) { SetOutput(value); return *this;} /** *

The subset of the dataset that was actually tested. Some images (assets) * might not be tested due to file formatting and other issues.

*/ inline TestingDataResult& WithOutput(TestingData&& value) { SetOutput(std::move(value)); return *this;} /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline const ValidationData& GetValidation() const{ return m_validation; } /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline bool ValidationHasBeenSet() const { return m_validationHasBeenSet; } /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline void SetValidation(const ValidationData& value) { m_validationHasBeenSet = true; m_validation = value; } /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline void SetValidation(ValidationData&& value) { m_validationHasBeenSet = true; m_validation = std::move(value); } /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline TestingDataResult& WithValidation(const ValidationData& value) { SetValidation(value); return *this;} /** *

The location of the data validation manifest. The data validation manifest is * created for the test dataset during model training.

*/ inline TestingDataResult& WithValidation(ValidationData&& value) { SetValidation(std::move(value)); return *this;} private: TestingData m_input; bool m_inputHasBeenSet = false; TestingData m_output; bool m_outputHasBeenSet = false; ValidationData m_validation; bool m_validationHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws