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

Contains the Amazon S3 bucket location of the validation data for a model * training job.

The validation data includes error information for * individual JSON Lines in the dataset. For more information, see Debugging a * Failed Model Training in the Amazon Rekognition Custom Labels Developer * Guide.

You get the ValidationData object for the training * dataset (TrainingDataResult) and the test dataset * (TestingDataResult) by calling DescribeProjectVersions.

*

The assets array contains a single Asset object. The * GroundTruthManifest field of the Asset object contains the S3 bucket * location of the validation data.

See Also:

AWS * API Reference

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

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

The assets that comprise the validation data.

*/ inline ValidationData& 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