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

The dataset used for training.

See Also:

AWS * API Reference

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

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline const Aws::Vector& GetAssets() const{ return m_assets; } /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline bool AssetsHasBeenSet() const { return m_assetsHasBeenSet; } /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline void SetAssets(const Aws::Vector& value) { m_assetsHasBeenSet = true; m_assets = value; } /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline void SetAssets(Aws::Vector&& value) { m_assetsHasBeenSet = true; m_assets = std::move(value); } /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline TrainingData& WithAssets(const Aws::Vector& value) { SetAssets(value); return *this;} /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline TrainingData& WithAssets(Aws::Vector&& value) { SetAssets(std::move(value)); return *this;} /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline TrainingData& AddAssets(const Asset& value) { m_assetsHasBeenSet = true; m_assets.push_back(value); return *this; } /** *

A Sagemaker GroundTruth manifest file that contains the training images * (assets).

*/ inline TrainingData& AddAssets(Asset&& value) { m_assetsHasBeenSet = true; m_assets.push_back(std::move(value)); return *this; } private: Aws::Vector m_assets; bool m_assetsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws