/** * 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 MainframeModernization { namespace Model { /** *

Identifies a specific data set to import from an external * location.

See Also:

AWS * API Reference

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

The data set.

*/ inline const DataSet& GetDataSet() const{ return m_dataSet; } /** *

The data set.

*/ inline bool DataSetHasBeenSet() const { return m_dataSetHasBeenSet; } /** *

The data set.

*/ inline void SetDataSet(const DataSet& value) { m_dataSetHasBeenSet = true; m_dataSet = value; } /** *

The data set.

*/ inline void SetDataSet(DataSet&& value) { m_dataSetHasBeenSet = true; m_dataSet = std::move(value); } /** *

The data set.

*/ inline DataSetImportItem& WithDataSet(const DataSet& value) { SetDataSet(value); return *this;} /** *

The data set.

*/ inline DataSetImportItem& WithDataSet(DataSet&& value) { SetDataSet(std::move(value)); return *this;} /** *

The location of the data set.

*/ inline const ExternalLocation& GetExternalLocation() const{ return m_externalLocation; } /** *

The location of the data set.

*/ inline bool ExternalLocationHasBeenSet() const { return m_externalLocationHasBeenSet; } /** *

The location of the data set.

*/ inline void SetExternalLocation(const ExternalLocation& value) { m_externalLocationHasBeenSet = true; m_externalLocation = value; } /** *

The location of the data set.

*/ inline void SetExternalLocation(ExternalLocation&& value) { m_externalLocationHasBeenSet = true; m_externalLocation = std::move(value); } /** *

The location of the data set.

*/ inline DataSetImportItem& WithExternalLocation(const ExternalLocation& value) { SetExternalLocation(value); return *this;} /** *

The location of the data set.

*/ inline DataSetImportItem& WithExternalLocation(ExternalLocation&& value) { SetExternalLocation(std::move(value)); return *this;} private: DataSet m_dataSet; bool m_dataSetHasBeenSet = false; ExternalLocation m_externalLocation; bool m_externalLocationHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws