/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace finspace { namespace Model { /** *

The configuration of data that is available for querying from this * database.

See Also:

AWS * API Reference

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

The name of the kdb database. When this parameter is specified in the * structure, S3 with the whole database is included by default.

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

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline const Aws::Vector& GetCacheConfigurations() const{ return m_cacheConfigurations; } /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline bool CacheConfigurationsHasBeenSet() const { return m_cacheConfigurationsHasBeenSet; } /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline void SetCacheConfigurations(const Aws::Vector& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations = value; } /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline void SetCacheConfigurations(Aws::Vector&& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations = std::move(value); } /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline KxDatabaseConfiguration& WithCacheConfigurations(const Aws::Vector& value) { SetCacheConfigurations(value); return *this;} /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline KxDatabaseConfiguration& WithCacheConfigurations(Aws::Vector&& value) { SetCacheConfigurations(std::move(value)); return *this;} /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline KxDatabaseConfiguration& AddCacheConfigurations(const KxDatabaseCacheConfiguration& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations.push_back(value); return *this; } /** *

Configuration details for the disk cache used to increase performance reading * from a kdb database mounted to the cluster.

*/ inline KxDatabaseConfiguration& AddCacheConfigurations(KxDatabaseCacheConfiguration&& value) { m_cacheConfigurationsHasBeenSet = true; m_cacheConfigurations.push_back(std::move(value)); return *this; } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline const Aws::String& GetChangesetId() const{ return m_changesetId; } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); } /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline KxDatabaseConfiguration& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;} /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline KxDatabaseConfiguration& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;} /** *

A unique identifier of the changeset that is associated with the cluster.

*/ inline KxDatabaseConfiguration& WithChangesetId(const char* value) { SetChangesetId(value); return *this;} private: Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::Vector m_cacheConfigurations; bool m_cacheConfigurationsHasBeenSet = false; Aws::String m_changesetId; bool m_changesetIdHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws