/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The parameters for Snowflake.

See Also:

AWS * API Reference

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

Host.

*/ inline const Aws::String& GetHost() const{ return m_host; } /** *

Host.

*/ inline bool HostHasBeenSet() const { return m_hostHasBeenSet; } /** *

Host.

*/ inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; } /** *

Host.

*/ inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); } /** *

Host.

*/ inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); } /** *

Host.

*/ inline SnowflakeParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;} /** *

Host.

*/ inline SnowflakeParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;} /** *

Host.

*/ inline SnowflakeParameters& WithHost(const char* value) { SetHost(value); return *this;} /** *

Database.

*/ inline const Aws::String& GetDatabase() const{ return m_database; } /** *

Database.

*/ inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; } /** *

Database.

*/ inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; } /** *

Database.

*/ inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); } /** *

Database.

*/ inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); } /** *

Database.

*/ inline SnowflakeParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;} /** *

Database.

*/ inline SnowflakeParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;} /** *

Database.

*/ inline SnowflakeParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;} /** *

Warehouse.

*/ inline const Aws::String& GetWarehouse() const{ return m_warehouse; } /** *

Warehouse.

*/ inline bool WarehouseHasBeenSet() const { return m_warehouseHasBeenSet; } /** *

Warehouse.

*/ inline void SetWarehouse(const Aws::String& value) { m_warehouseHasBeenSet = true; m_warehouse = value; } /** *

Warehouse.

*/ inline void SetWarehouse(Aws::String&& value) { m_warehouseHasBeenSet = true; m_warehouse = std::move(value); } /** *

Warehouse.

*/ inline void SetWarehouse(const char* value) { m_warehouseHasBeenSet = true; m_warehouse.assign(value); } /** *

Warehouse.

*/ inline SnowflakeParameters& WithWarehouse(const Aws::String& value) { SetWarehouse(value); return *this;} /** *

Warehouse.

*/ inline SnowflakeParameters& WithWarehouse(Aws::String&& value) { SetWarehouse(std::move(value)); return *this;} /** *

Warehouse.

*/ inline SnowflakeParameters& WithWarehouse(const char* value) { SetWarehouse(value); return *this;} private: Aws::String m_host; bool m_hostHasBeenSet = false; Aws::String m_database; bool m_databaseHasBeenSet = false; Aws::String m_warehouse; bool m_warehouseHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws