/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Rekognition { namespace Model { /** */ class DistributeDatasetEntriesRequest : public RekognitionRequest { public: AWS_REKOGNITION_API DistributeDatasetEntriesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DistributeDatasetEntries"; } AWS_REKOGNITION_API Aws::String SerializePayload() const override; AWS_REKOGNITION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline const Aws::Vector& GetDatasets() const{ return m_datasets; } /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; } /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline void SetDatasets(const Aws::Vector& value) { m_datasetsHasBeenSet = true; m_datasets = value; } /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline void SetDatasets(Aws::Vector&& value) { m_datasetsHasBeenSet = true; m_datasets = std::move(value); } /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline DistributeDatasetEntriesRequest& WithDatasets(const Aws::Vector& value) { SetDatasets(value); return *this;} /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline DistributeDatasetEntriesRequest& WithDatasets(Aws::Vector&& value) { SetDatasets(std::move(value)); return *this;} /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline DistributeDatasetEntriesRequest& AddDatasets(const DistributeDataset& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(value); return *this; } /** *

The ARNS for the training dataset and test dataset that you want to use. The * datasets must belong to the same project. The test dataset must be empty.

*/ inline DistributeDatasetEntriesRequest& AddDatasets(DistributeDataset&& value) { m_datasetsHasBeenSet = true; m_datasets.push_back(std::move(value)); return *this; } private: Aws::Vector m_datasets; bool m_datasetsHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws