120 lines
3.4 KiB
C++
120 lines
3.4 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/rekognition/Rekognition_EXPORTS.h>
|
|
#include <aws/rekognition/model/TrainingData.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Rekognition
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>A Sagemaker Groundtruth format manifest file that represents the dataset used
|
|
* for training.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/TrainingDataResult">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_REKOGNITION_API TrainingDataResult
|
|
{
|
|
public:
|
|
TrainingDataResult();
|
|
TrainingDataResult(Aws::Utils::Json::JsonView jsonValue);
|
|
TrainingDataResult& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline const TrainingData& GetInput() const{ return m_input; }
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline void SetInput(const TrainingData& value) { m_inputHasBeenSet = true; m_input = value; }
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline void SetInput(TrainingData&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline TrainingDataResult& WithInput(const TrainingData& value) { SetInput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The training assets that you supplied for training.</p>
|
|
*/
|
|
inline TrainingDataResult& WithInput(TrainingData&& value) { SetInput(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline const TrainingData& GetOutput() const{ return m_output; }
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline void SetOutput(const TrainingData& value) { m_outputHasBeenSet = true; m_output = value; }
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline void SetOutput(TrainingData&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline TrainingDataResult& WithOutput(const TrainingData& value) { SetOutput(value); return *this;}
|
|
|
|
/**
|
|
* <p>The images (assets) that were actually trained by Amazon Rekognition Custom
|
|
* Labels. </p>
|
|
*/
|
|
inline TrainingDataResult& WithOutput(TrainingData&& value) { SetOutput(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
TrainingData m_input;
|
|
bool m_inputHasBeenSet;
|
|
|
|
TrainingData m_output;
|
|
bool m_outputHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Rekognition
|
|
} // namespace Aws
|