/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The required parameters that are needed to connect to a Databricks data
* source.See Also:
AWS
* API Reference
The host name of the Databricks data source.
*/ inline const Aws::String& GetHost() const{ return m_host; } /** *The host name of the Databricks data source.
*/ inline bool HostHasBeenSet() const { return m_hostHasBeenSet; } /** *The host name of the Databricks data source.
*/ inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; } /** *The host name of the Databricks data source.
*/ inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); } /** *The host name of the Databricks data source.
*/ inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); } /** *The host name of the Databricks data source.
*/ inline DatabricksParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;} /** *The host name of the Databricks data source.
*/ inline DatabricksParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;} /** *The host name of the Databricks data source.
*/ inline DatabricksParameters& WithHost(const char* value) { SetHost(value); return *this;} /** *The port for the Databricks data source.
*/ inline int GetPort() const{ return m_port; } /** *The port for the Databricks data source.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port for the Databricks data source.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port for the Databricks data source.
*/ inline DatabricksParameters& WithPort(int value) { SetPort(value); return *this;} /** *The HTTP path of the Databricks data source.
*/ inline const Aws::String& GetSqlEndpointPath() const{ return m_sqlEndpointPath; } /** *The HTTP path of the Databricks data source.
*/ inline bool SqlEndpointPathHasBeenSet() const { return m_sqlEndpointPathHasBeenSet; } /** *The HTTP path of the Databricks data source.
*/ inline void SetSqlEndpointPath(const Aws::String& value) { m_sqlEndpointPathHasBeenSet = true; m_sqlEndpointPath = value; } /** *The HTTP path of the Databricks data source.
*/ inline void SetSqlEndpointPath(Aws::String&& value) { m_sqlEndpointPathHasBeenSet = true; m_sqlEndpointPath = std::move(value); } /** *The HTTP path of the Databricks data source.
*/ inline void SetSqlEndpointPath(const char* value) { m_sqlEndpointPathHasBeenSet = true; m_sqlEndpointPath.assign(value); } /** *The HTTP path of the Databricks data source.
*/ inline DatabricksParameters& WithSqlEndpointPath(const Aws::String& value) { SetSqlEndpointPath(value); return *this;} /** *The HTTP path of the Databricks data source.
*/ inline DatabricksParameters& WithSqlEndpointPath(Aws::String&& value) { SetSqlEndpointPath(std::move(value)); return *this;} /** *The HTTP path of the Databricks data source.
*/ inline DatabricksParameters& WithSqlEndpointPath(const char* value) { SetSqlEndpointPath(value); return *this;} private: Aws::String m_host; bool m_hostHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_sqlEndpointPath; bool m_sqlEndpointPathHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws