/** * 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 { /** *

A subset of the possible data set attributes.

See Also:

AWS * API Reference

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

The timestamp when the data set was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The timestamp when the data set was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The timestamp when the data set was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The timestamp when the data set was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The timestamp when the data set was created.

*/ inline DataSetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The timestamp when the data set was created.

*/ inline DataSetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The name of the data set.

*/ inline const Aws::String& GetDataSetName() const{ return m_dataSetName; } /** *

The name of the data set.

*/ inline bool DataSetNameHasBeenSet() const { return m_dataSetNameHasBeenSet; } /** *

The name of the data set.

*/ inline void SetDataSetName(const Aws::String& value) { m_dataSetNameHasBeenSet = true; m_dataSetName = value; } /** *

The name of the data set.

*/ inline void SetDataSetName(Aws::String&& value) { m_dataSetNameHasBeenSet = true; m_dataSetName = std::move(value); } /** *

The name of the data set.

*/ inline void SetDataSetName(const char* value) { m_dataSetNameHasBeenSet = true; m_dataSetName.assign(value); } /** *

The name of the data set.

*/ inline DataSetSummary& WithDataSetName(const Aws::String& value) { SetDataSetName(value); return *this;} /** *

The name of the data set.

*/ inline DataSetSummary& WithDataSetName(Aws::String&& value) { SetDataSetName(std::move(value)); return *this;} /** *

The name of the data set.

*/ inline DataSetSummary& WithDataSetName(const char* value) { SetDataSetName(value); return *this;} /** *

The type of data set. The only supported value is VSAM.

*/ inline const Aws::String& GetDataSetOrg() const{ return m_dataSetOrg; } /** *

The type of data set. The only supported value is VSAM.

*/ inline bool DataSetOrgHasBeenSet() const { return m_dataSetOrgHasBeenSet; } /** *

The type of data set. The only supported value is VSAM.

*/ inline void SetDataSetOrg(const Aws::String& value) { m_dataSetOrgHasBeenSet = true; m_dataSetOrg = value; } /** *

The type of data set. The only supported value is VSAM.

*/ inline void SetDataSetOrg(Aws::String&& value) { m_dataSetOrgHasBeenSet = true; m_dataSetOrg = std::move(value); } /** *

The type of data set. The only supported value is VSAM.

*/ inline void SetDataSetOrg(const char* value) { m_dataSetOrgHasBeenSet = true; m_dataSetOrg.assign(value); } /** *

The type of data set. The only supported value is VSAM.

*/ inline DataSetSummary& WithDataSetOrg(const Aws::String& value) { SetDataSetOrg(value); return *this;} /** *

The type of data set. The only supported value is VSAM.

*/ inline DataSetSummary& WithDataSetOrg(Aws::String&& value) { SetDataSetOrg(std::move(value)); return *this;} /** *

The type of data set. The only supported value is VSAM.

*/ inline DataSetSummary& WithDataSetOrg(const char* value) { SetDataSetOrg(value); return *this;} /** *

The format of the data set.

*/ inline const Aws::String& GetFormat() const{ return m_format; } /** *

The format of the data set.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format of the data set.

*/ inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format of the data set.

*/ inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format of the data set.

*/ inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); } /** *

The format of the data set.

*/ inline DataSetSummary& WithFormat(const Aws::String& value) { SetFormat(value); return *this;} /** *

The format of the data set.

*/ inline DataSetSummary& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;} /** *

The format of the data set.

*/ inline DataSetSummary& WithFormat(const char* value) { SetFormat(value); return *this;} /** *

The last time the data set was referenced.

*/ inline const Aws::Utils::DateTime& GetLastReferencedTime() const{ return m_lastReferencedTime; } /** *

The last time the data set was referenced.

*/ inline bool LastReferencedTimeHasBeenSet() const { return m_lastReferencedTimeHasBeenSet; } /** *

The last time the data set was referenced.

*/ inline void SetLastReferencedTime(const Aws::Utils::DateTime& value) { m_lastReferencedTimeHasBeenSet = true; m_lastReferencedTime = value; } /** *

The last time the data set was referenced.

*/ inline void SetLastReferencedTime(Aws::Utils::DateTime&& value) { m_lastReferencedTimeHasBeenSet = true; m_lastReferencedTime = std::move(value); } /** *

The last time the data set was referenced.

*/ inline DataSetSummary& WithLastReferencedTime(const Aws::Utils::DateTime& value) { SetLastReferencedTime(value); return *this;} /** *

The last time the data set was referenced.

*/ inline DataSetSummary& WithLastReferencedTime(Aws::Utils::DateTime&& value) { SetLastReferencedTime(std::move(value)); return *this;} /** *

The last time the data set was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The last time the data set was updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The last time the data set was updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The last time the data set was updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The last time the data set was updated.

*/ inline DataSetSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

The last time the data set was updated.

*/ inline DataSetSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_dataSetName; bool m_dataSetNameHasBeenSet = false; Aws::String m_dataSetOrg; bool m_dataSetOrgHasBeenSet = false; Aws::String m_format; bool m_formatHasBeenSet = false; Aws::Utils::DateTime m_lastReferencedTime; bool m_lastReferencedTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws