/** * 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 CreateKxDatabaseResult { public: AWS_FINSPACE_API CreateKxDatabaseResult(); AWS_FINSPACE_API CreateKxDatabaseResult(const Aws::AmazonWebServiceResult& result); AWS_FINSPACE_API CreateKxDatabaseResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

*/ inline CreateKxDatabaseResult& 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 CreateKxDatabaseResult& WithDatabaseArn(const Aws::String& value) { SetDatabaseArn(value); return *this;} /** *

The ARN identifier of the database.

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

The ARN identifier of the database.

*/ inline CreateKxDatabaseResult& 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 CreateKxDatabaseResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

*/ inline CreateKxDatabaseResult& 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 CreateKxDatabaseResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the database.

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

A description of the database.

*/ inline CreateKxDatabaseResult& 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 CreateKxDatabaseResult& 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 CreateKxDatabaseResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The last time that the database was updated 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& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; } /** *

The last time that the database was updated 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 SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; } /** *

The last time that the database was updated 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 SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); } /** *

The last time that the database was updated 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 CreateKxDatabaseResult& WithLastModifiedTimestamp(const Aws::Utils::DateTime& value) { SetLastModifiedTimestamp(value); return *this;} /** *

The last time that the database was updated 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 CreateKxDatabaseResult& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(std::move(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 CreateKxDatabaseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateKxDatabaseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateKxDatabaseResult& 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_requestId; }; } // namespace Model } // namespace finspace } // namespace Aws