/** * 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 LookoutforVision { namespace Model { /** */ class DescribeDatasetRequest : public LookoutforVisionRequest { public: AWS_LOOKOUTFORVISION_API DescribeDatasetRequest(); // 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 "DescribeDataset"; } AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline DescribeDatasetRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline DescribeDatasetRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The name of the project that contains the dataset that you want to * describe.

*/ inline DescribeDatasetRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline const Aws::String& GetDatasetType() const{ return m_datasetType; } /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; } /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); } /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); } /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline DescribeDatasetRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;} /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline DescribeDatasetRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;} /** *

The type of the dataset to describe. Specify train to describe * the training dataset. Specify test to describe the test dataset. If * you have a single dataset project, specify train

*/ inline DescribeDatasetRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;} private: Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_datasetType; bool m_datasetTypeHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws