AWS SDK for C++

AWS SDK for C++ Version 1.11.636

Loading...
Searching...
No Matches
ImpalaParameters.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 ImpalaParameters() = default;
36 AWS_QUICKSIGHT_API ImpalaParameters(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 ImpalaParameters& 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 ImpalaParameters& WithPort(int value) { SetPort(value); return *this;}
62
64
67 inline const Aws::String& GetDatabase() const { return m_database; }
68 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
69 template<typename DatabaseT = Aws::String>
70 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet = true; m_database = std::forward<DatabaseT>(value); }
71 template<typename DatabaseT = Aws::String>
72 ImpalaParameters& WithDatabase(DatabaseT&& value) { SetDatabase(std::forward<DatabaseT>(value)); return *this;}
74
76
79 inline const Aws::String& GetSqlEndpointPath() const { return m_sqlEndpointPath; }
80 inline bool SqlEndpointPathHasBeenSet() const { return m_sqlEndpointPathHasBeenSet; }
81 template<typename SqlEndpointPathT = Aws::String>
82 void SetSqlEndpointPath(SqlEndpointPathT&& value) { m_sqlEndpointPathHasBeenSet = true; m_sqlEndpointPath = std::forward<SqlEndpointPathT>(value); }
83 template<typename SqlEndpointPathT = Aws::String>
84 ImpalaParameters& WithSqlEndpointPath(SqlEndpointPathT&& value) { SetSqlEndpointPath(std::forward<SqlEndpointPathT>(value)); return *this;}
86 private:
87
88 Aws::String m_host;
89 bool m_hostHasBeenSet = false;
90
91 int m_port{0};
92 bool m_portHasBeenSet = false;
93
94 Aws::String m_database;
95 bool m_databaseHasBeenSet = false;
96
97 Aws::String m_sqlEndpointPath;
98 bool m_sqlEndpointPathHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
AWS_QUICKSIGHT_API ImpalaParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
ImpalaParameters & WithHost(HostT &&value)
const Aws::String & GetDatabase() const
AWS_QUICKSIGHT_API ImpalaParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSqlEndpointPath() const
ImpalaParameters & WithPort(int value)
void SetSqlEndpointPath(SqlEndpointPathT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ImpalaParameters & WithDatabase(DatabaseT &&value)
AWS_QUICKSIGHT_API ImpalaParameters()=default
ImpalaParameters & WithSqlEndpointPath(SqlEndpointPathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue