/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The source that Amazon Rekognition Custom Labels uses to create a dataset.
* To use an Amazon Sagemaker format manifest file, specify the S3 bucket location
* in the You need to
* specify a value for For more information, see
* CreateDataset.GroundTruthManifest
field. The S3 bucket must be in your AWS
* account. To create a copy of an existing dataset, specify the Amazon Resource
* Name (ARN) of an existing dataset in DatasetArn
.DatasetArn
or GroundTruthManifest
,
* but not both. if you supply both values, or if you don't specify any values, an
* InvalidParameterException exception occurs. See Also:
AWS
* API Reference
The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline DatasetSource& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline DatasetSource& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *The ARN of an Amazon Rekognition Custom Labels dataset that you want to * copy.
*/ inline DatasetSource& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} private: GroundTruthManifest m_groundTruthManifest; bool m_groundTruthManifestHasBeenSet = false; Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws