/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MainframeModernization { namespace Model { class GetDataSetDetailsResult { public: AWS_MAINFRAMEMODERNIZATION_API GetDataSetDetailsResult(); AWS_MAINFRAMEMODERNIZATION_API GetDataSetDetailsResult(const Aws::AmazonWebServiceResult& result); AWS_MAINFRAMEMODERNIZATION_API GetDataSetDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The size of the block on disk.

*/ inline int GetBlocksize() const{ return m_blocksize; } /** *

The size of the block on disk.

*/ inline void SetBlocksize(int value) { m_blocksize = value; } /** *

The size of the block on disk.

*/ inline GetDataSetDetailsResult& WithBlocksize(int value) { SetBlocksize(value); return *this;} /** *

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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The timestamp when the data set was created.

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

The timestamp when the data set was created.

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

The timestamp when the data set was created.

*/ inline GetDataSetDetailsResult& 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 void SetDataSetName(const Aws::String& value) { m_dataSetName = value; } /** *

The name of the data set.

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

The name of the data set.

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

The name of the data set.

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

The name of the data set.

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

The name of the data set.

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

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

*/ inline const DatasetDetailOrgAttributes& GetDataSetOrg() const{ return m_dataSetOrg; } /** *

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

*/ inline void SetDataSetOrg(const DatasetDetailOrgAttributes& value) { m_dataSetOrg = value; } /** *

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

*/ inline void SetDataSetOrg(DatasetDetailOrgAttributes&& value) { m_dataSetOrg = std::move(value); } /** *

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

*/ inline GetDataSetDetailsResult& WithDataSetOrg(const DatasetDetailOrgAttributes& value) { SetDataSetOrg(value); return *this;} /** *

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

*/ inline GetDataSetDetailsResult& WithDataSetOrg(DatasetDetailOrgAttributes&& value) { SetDataSetOrg(std::move(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 void SetLastReferencedTime(const Aws::Utils::DateTime& value) { m_lastReferencedTime = value; } /** *

The last time the data set was referenced.

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

The last time the data set was referenced.

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

The last time the data set was referenced.

*/ inline GetDataSetDetailsResult& 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 void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

The last time the data set was updated.

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

The last time the data set was updated.

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

The last time the data set was updated.

*/ inline GetDataSetDetailsResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The location where the data set is stored.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The location where the data set is stored.

*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *

The location where the data set is stored.

*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *

The location where the data set is stored.

*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *

The location where the data set is stored.

*/ inline GetDataSetDetailsResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The location where the data set is stored.

*/ inline GetDataSetDetailsResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The location where the data set is stored.

*/ inline GetDataSetDetailsResult& WithLocation(const char* value) { SetLocation(value); return *this;} /** *

The length of records in the data set.

*/ inline int GetRecordLength() const{ return m_recordLength; } /** *

The length of records in the data set.

*/ inline void SetRecordLength(int value) { m_recordLength = value; } /** *

The length of records in the data set.

*/ inline GetDataSetDetailsResult& WithRecordLength(int value) { SetRecordLength(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDataSetDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDataSetDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDataSetDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_blocksize; Aws::Utils::DateTime m_creationTime; Aws::String m_dataSetName; DatasetDetailOrgAttributes m_dataSetOrg; Aws::Utils::DateTime m_lastReferencedTime; Aws::Utils::DateTime m_lastUpdatedTime; Aws::String m_location; int m_recordLength; Aws::String m_requestId; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws