/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { /** *

Identifies one or more data sets you want to import with the * CreateDataSetImportTask operation.

See Also:

AWS * API Reference

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

The data sets.

*/ inline const Aws::Vector& GetDataSets() const{ return m_dataSets; } /** *

The data sets.

*/ inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; } /** *

The data sets.

*/ inline void SetDataSets(const Aws::Vector& value) { m_dataSetsHasBeenSet = true; m_dataSets = value; } /** *

The data sets.

*/ inline void SetDataSets(Aws::Vector&& value) { m_dataSetsHasBeenSet = true; m_dataSets = std::move(value); } /** *

The data sets.

*/ inline DataSetImportConfig& WithDataSets(const Aws::Vector& value) { SetDataSets(value); return *this;} /** *

The data sets.

*/ inline DataSetImportConfig& WithDataSets(Aws::Vector&& value) { SetDataSets(std::move(value)); return *this;} /** *

The data sets.

*/ inline DataSetImportConfig& AddDataSets(const DataSetImportItem& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(value); return *this; } /** *

The data sets.

*/ inline DataSetImportConfig& AddDataSets(DataSetImportItem&& value) { m_dataSetsHasBeenSet = true; m_dataSets.push_back(std::move(value)); return *this; } /** *

The Amazon S3 location of the data sets.

*/ inline const Aws::String& GetS3Location() const{ return m_s3Location; } /** *

The Amazon S3 location of the data sets.

*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *

The Amazon S3 location of the data sets.

*/ inline void SetS3Location(const Aws::String& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *

The Amazon S3 location of the data sets.

*/ inline void SetS3Location(Aws::String&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *

The Amazon S3 location of the data sets.

*/ inline void SetS3Location(const char* value) { m_s3LocationHasBeenSet = true; m_s3Location.assign(value); } /** *

The Amazon S3 location of the data sets.

*/ inline DataSetImportConfig& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;} /** *

The Amazon S3 location of the data sets.

*/ inline DataSetImportConfig& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;} /** *

The Amazon S3 location of the data sets.

*/ inline DataSetImportConfig& WithS3Location(const char* value) { SetS3Location(value); return *this;} private: Aws::Vector m_dataSets; bool m_dataSetsHasBeenSet = false; Aws::String m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws