/** * 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 required parameters for connecting to an Exasol data * source.

See Also:

AWS * API Reference

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The hostname or IP address of the Exasol data source.

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

The port for the Exasol data source.

*/ inline int GetPort() const{ return m_port; } /** *

The port for the Exasol data source.

*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *

The port for the Exasol data source.

*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *

The port for the Exasol data source.

*/ inline ExasolParameters& WithPort(int value) { SetPort(value); return *this;} private: Aws::String m_host; bool m_hostHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws