/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a data set.See Also:
AWS API
* Reference
The logical identifier for a specific data set (in mainframe format).
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The logical identifier for a specific data set (in mainframe format).
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The logical identifier for a specific data set (in mainframe format).
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The logical identifier for a specific data set (in mainframe format).
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The logical identifier for a specific data set (in mainframe format).
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The logical identifier for a specific data set (in mainframe format).
*/ inline DataSet& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The logical identifier for a specific data set (in mainframe format).
*/ inline DataSet& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The logical identifier for a specific data set (in mainframe format).
*/ inline DataSet& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The type of dataset. The only supported value is VSAM.
*/ inline const DatasetOrgAttributes& GetDatasetOrg() const{ return m_datasetOrg; } /** *The type of dataset. The only supported value is VSAM.
*/ inline bool DatasetOrgHasBeenSet() const { return m_datasetOrgHasBeenSet; } /** *The type of dataset. The only supported value is VSAM.
*/ inline void SetDatasetOrg(const DatasetOrgAttributes& value) { m_datasetOrgHasBeenSet = true; m_datasetOrg = value; } /** *The type of dataset. The only supported value is VSAM.
*/ inline void SetDatasetOrg(DatasetOrgAttributes&& value) { m_datasetOrgHasBeenSet = true; m_datasetOrg = std::move(value); } /** *The type of dataset. The only supported value is VSAM.
*/ inline DataSet& WithDatasetOrg(const DatasetOrgAttributes& value) { SetDatasetOrg(value); return *this;} /** *The type of dataset. The only supported value is VSAM.
*/ inline DataSet& WithDatasetOrg(DatasetOrgAttributes&& value) { SetDatasetOrg(std::move(value)); return *this;} /** *The length of a record.
*/ inline const RecordLength& GetRecordLength() const{ return m_recordLength; } /** *The length of a record.
*/ inline bool RecordLengthHasBeenSet() const { return m_recordLengthHasBeenSet; } /** *The length of a record.
*/ inline void SetRecordLength(const RecordLength& value) { m_recordLengthHasBeenSet = true; m_recordLength = value; } /** *The length of a record.
*/ inline void SetRecordLength(RecordLength&& value) { m_recordLengthHasBeenSet = true; m_recordLength = std::move(value); } /** *The length of a record.
*/ inline DataSet& WithRecordLength(const RecordLength& value) { SetRecordLength(value); return *this;} /** *The length of a record.
*/ inline DataSet& WithRecordLength(RecordLength&& value) { SetRecordLength(std::move(value)); return *this;} /** *The relative location of the data set in the database or file system.
*/ inline const Aws::String& GetRelativePath() const{ return m_relativePath; } /** *The relative location of the data set in the database or file system.
*/ inline bool RelativePathHasBeenSet() const { return m_relativePathHasBeenSet; } /** *The relative location of the data set in the database or file system.
*/ inline void SetRelativePath(const Aws::String& value) { m_relativePathHasBeenSet = true; m_relativePath = value; } /** *The relative location of the data set in the database or file system.
*/ inline void SetRelativePath(Aws::String&& value) { m_relativePathHasBeenSet = true; m_relativePath = std::move(value); } /** *The relative location of the data set in the database or file system.
*/ inline void SetRelativePath(const char* value) { m_relativePathHasBeenSet = true; m_relativePath.assign(value); } /** *The relative location of the data set in the database or file system.
*/ inline DataSet& WithRelativePath(const Aws::String& value) { SetRelativePath(value); return *this;} /** *The relative location of the data set in the database or file system.
*/ inline DataSet& WithRelativePath(Aws::String&& value) { SetRelativePath(std::move(value)); return *this;} /** *The relative location of the data set in the database or file system.
*/ inline DataSet& WithRelativePath(const char* value) { SetRelativePath(value); return *this;} /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline DataSet& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline DataSet& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *The storage type of the data set: database or file system. For Micro Focus, * database corresponds to datastore and file system corresponds to EFS/FSX. For * Blu Age, there is no support of file system and database corresponds to Blusam. *
*/ inline DataSet& WithStorageType(const char* value) { SetStorageType(value); return *this;} private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; DatasetOrgAttributes m_datasetOrg; bool m_datasetOrgHasBeenSet = false; RecordLength m_recordLength; bool m_recordLengthHasBeenSet = false; Aws::String m_relativePath; bool m_relativePathHasBeenSet = false; Aws::String m_storageType; bool m_storageTypeHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws