/** * 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 TrainingDataResult { public: AWS_REKOGNITION_API TrainingDataResult(); AWS_REKOGNITION_API TrainingDataResult(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API TrainingDataResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The training assets that you supplied for training.

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

The training assets that you supplied for training.

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

The training assets that you supplied for training.

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

The training assets that you supplied for training.

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

The training assets that you supplied for training.

*/ inline TrainingDataResult& WithInput(const TrainingData& value) { SetInput(value); return *this;} /** *

The training assets that you supplied for training.

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

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

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

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

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

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

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

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

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

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

*/ inline TrainingDataResult& WithOutput(const TrainingData& value) { SetOutput(value); return *this;} /** *

The images (assets) that were actually trained by Amazon Rekognition Custom * Labels.

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

The location of the data validation manifest. The data validation manifest is * created for the training 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 training 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 training 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 training 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 training dataset during model training.

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

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

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