AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ImpalaParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API ImpalaParameters() = default;
31 AWS_QUICKSIGHT_API ImpalaParameters(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetHost() const { return m_host; }
40 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
41 template <typename HostT = Aws::String>
42 void SetHost(HostT&& value) {
43 m_hostHasBeenSet = true;
44 m_host = std::forward<HostT>(value);
45 }
46 template <typename HostT = Aws::String>
47 ImpalaParameters& WithHost(HostT&& value) {
48 SetHost(std::forward<HostT>(value));
49 return *this;
50 }
52
54
57 inline int GetPort() const { return m_port; }
58 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
59 inline void SetPort(int value) {
60 m_portHasBeenSet = true;
61 m_port = value;
62 }
63 inline ImpalaParameters& WithPort(int value) {
64 SetPort(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDatabase() const { return m_database; }
74 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
75 template <typename DatabaseT = Aws::String>
76 void SetDatabase(DatabaseT&& value) {
77 m_databaseHasBeenSet = true;
78 m_database = std::forward<DatabaseT>(value);
79 }
80 template <typename DatabaseT = Aws::String>
81 ImpalaParameters& WithDatabase(DatabaseT&& value) {
82 SetDatabase(std::forward<DatabaseT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetSqlEndpointPath() const { return m_sqlEndpointPath; }
92 inline bool SqlEndpointPathHasBeenSet() const { return m_sqlEndpointPathHasBeenSet; }
93 template <typename SqlEndpointPathT = Aws::String>
94 void SetSqlEndpointPath(SqlEndpointPathT&& value) {
95 m_sqlEndpointPathHasBeenSet = true;
96 m_sqlEndpointPath = std::forward<SqlEndpointPathT>(value);
97 }
98 template <typename SqlEndpointPathT = Aws::String>
99 ImpalaParameters& WithSqlEndpointPath(SqlEndpointPathT&& value) {
100 SetSqlEndpointPath(std::forward<SqlEndpointPathT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_host;
106
107 int m_port{0};
108
109 Aws::String m_database;
110
111 Aws::String m_sqlEndpointPath;
112 bool m_hostHasBeenSet = false;
113 bool m_portHasBeenSet = false;
114 bool m_databaseHasBeenSet = false;
115 bool m_sqlEndpointPathHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace QuickSight
120} // 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