AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DatabricksParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API DatabricksParameters() = default;
36 AWS_QUICKSIGHT_API DatabricksParameters(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetHost() const { return m_host; }
46 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
47 template<typename HostT = Aws::String>
48 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
49 template<typename HostT = Aws::String>
50 DatabricksParameters& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
52
54
57 inline int GetPort() const { return m_port; }
58 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
59 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
60 inline DatabricksParameters& WithPort(int value) { SetPort(value); return *this;}
62
64
67 inline const Aws::String& GetSqlEndpointPath() const { return m_sqlEndpointPath; }
68 inline bool SqlEndpointPathHasBeenSet() const { return m_sqlEndpointPathHasBeenSet; }
69 template<typename SqlEndpointPathT = Aws::String>
70 void SetSqlEndpointPath(SqlEndpointPathT&& value) { m_sqlEndpointPathHasBeenSet = true; m_sqlEndpointPath = std::forward<SqlEndpointPathT>(value); }
71 template<typename SqlEndpointPathT = Aws::String>
72 DatabricksParameters& WithSqlEndpointPath(SqlEndpointPathT&& value) { SetSqlEndpointPath(std::forward<SqlEndpointPathT>(value)); return *this;}
74 private:
75
76 Aws::String m_host;
77 bool m_hostHasBeenSet = false;
78
79 int m_port{0};
80 bool m_portHasBeenSet = false;
81
82 Aws::String m_sqlEndpointPath;
83 bool m_sqlEndpointPathHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace QuickSight
88} // namespace Aws
void SetSqlEndpointPath(SqlEndpointPathT &&value)
AWS_QUICKSIGHT_API DatabricksParameters(Aws::Utils::Json::JsonView jsonValue)
DatabricksParameters & WithSqlEndpointPath(SqlEndpointPathT &&value)
DatabricksParameters & WithHost(HostT &&value)
AWS_QUICKSIGHT_API DatabricksParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
DatabricksParameters & WithPort(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DatabricksParameters()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue