/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace finspace { namespace Model { class GetKxDatabaseResult { public: AWS_FINSPACE_API GetKxDatabaseResult(); AWS_FINSPACE_API GetKxDatabaseResult(const Aws::AmazonWebServiceResult& result); AWS_FINSPACE_API GetKxDatabaseResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the kdb database for which the information is retrieved.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The name of the kdb database for which the information is retrieved.

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

The name of the kdb database for which the information is retrieved.

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

The name of the kdb database for which the information is retrieved.

*/ inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); } /** *

The name of the kdb database for which the information is retrieved.

*/ inline GetKxDatabaseResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The name of the kdb database for which the information is retrieved.

*/ inline GetKxDatabaseResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The name of the kdb database for which the information is retrieved.

*/ inline GetKxDatabaseResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *

The ARN identifier of the database.

*/ inline const Aws::String& GetDatabaseArn() const{ return m_databaseArn; } /** *

The ARN identifier of the database.

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

The ARN identifier of the database.

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

The ARN identifier of the database.

*/ inline void SetDatabaseArn(const char* value) { m_databaseArn.assign(value); } /** *

The ARN identifier of the database.

*/ inline GetKxDatabaseResult& WithDatabaseArn(const Aws::String& value) { SetDatabaseArn(value); return *this;} /** *

The ARN identifier of the database.

*/ inline GetKxDatabaseResult& WithDatabaseArn(Aws::String&& value) { SetDatabaseArn(std::move(value)); return *this;} /** *

The ARN identifier of the database.

*/ inline GetKxDatabaseResult& WithDatabaseArn(const char* value) { SetDatabaseArn(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } /** *

A unique identifier for the kdb environment.

*/ inline GetKxDatabaseResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline GetKxDatabaseResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline GetKxDatabaseResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

A description of the database.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the database.

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

A description of the database.

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

A description of the database.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A description of the database.

*/ inline GetKxDatabaseResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the database.

*/ inline GetKxDatabaseResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the database.

*/ inline GetKxDatabaseResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The timestamp at which the database is created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

The timestamp at which the database is created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; } /** *

The timestamp at which the database is created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

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

The timestamp at which the database is created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetKxDatabaseResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;} /** *

The timestamp at which the database is created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetKxDatabaseResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The last time that the database was modified. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; } /** *

The last time that the database was modified. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; } /** *

The last time that the database was modified. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

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

The last time that the database was modified. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetKxDatabaseResult& WithLastModifiedTimestamp(const Aws::Utils::DateTime& value) { SetLastModifiedTimestamp(value); return *this;} /** *

The last time that the database was modified. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline GetKxDatabaseResult& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(std::move(value)); return *this;} /** *

A unique identifier for the changeset.

*/ inline const Aws::String& GetLastCompletedChangesetId() const{ return m_lastCompletedChangesetId; } /** *

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

*/ inline void SetLastCompletedChangesetId(const char* value) { m_lastCompletedChangesetId.assign(value); } /** *

A unique identifier for the changeset.

*/ inline GetKxDatabaseResult& WithLastCompletedChangesetId(const Aws::String& value) { SetLastCompletedChangesetId(value); return *this;} /** *

A unique identifier for the changeset.

*/ inline GetKxDatabaseResult& WithLastCompletedChangesetId(Aws::String&& value) { SetLastCompletedChangesetId(std::move(value)); return *this;} /** *

A unique identifier for the changeset.

*/ inline GetKxDatabaseResult& WithLastCompletedChangesetId(const char* value) { SetLastCompletedChangesetId(value); return *this;} /** *

The total number of bytes in the database.

*/ inline long long GetNumBytes() const{ return m_numBytes; } /** *

The total number of bytes in the database.

*/ inline void SetNumBytes(long long value) { m_numBytes = value; } /** *

The total number of bytes in the database.

*/ inline GetKxDatabaseResult& WithNumBytes(long long value) { SetNumBytes(value); return *this;} /** *

The total number of changesets in the database.

*/ inline int GetNumChangesets() const{ return m_numChangesets; } /** *

The total number of changesets in the database.

*/ inline void SetNumChangesets(int value) { m_numChangesets = value; } /** *

The total number of changesets in the database.

*/ inline GetKxDatabaseResult& WithNumChangesets(int value) { SetNumChangesets(value); return *this;} /** *

The total number of files in the database.

*/ inline int GetNumFiles() const{ return m_numFiles; } /** *

The total number of files in the database.

*/ inline void SetNumFiles(int value) { m_numFiles = value; } /** *

The total number of files in the database.

*/ inline GetKxDatabaseResult& WithNumFiles(int value) { SetNumFiles(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 GetKxDatabaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetKxDatabaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetKxDatabaseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_databaseName; Aws::String m_databaseArn; Aws::String m_environmentId; Aws::String m_description; Aws::Utils::DateTime m_createdTimestamp; Aws::Utils::DateTime m_lastModifiedTimestamp; Aws::String m_lastCompletedChangesetId; long long m_numBytes; int m_numChangesets; int m_numFiles; Aws::String m_requestId; }; } // namespace Model } // namespace finspace } // namespace Aws