AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PrestoParameters.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
32 {
33 public:
34 AWS_QUICKSIGHT_API PrestoParameters() = default;
35 AWS_QUICKSIGHT_API PrestoParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetHost() const { return m_host; }
45 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
46 template<typename HostT = Aws::String>
47 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
48 template<typename HostT = Aws::String>
49 PrestoParameters& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
51
53
56 inline int GetPort() const { return m_port; }
57 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
58 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
59 inline PrestoParameters& WithPort(int value) { SetPort(value); return *this;}
61
63
66 inline const Aws::String& GetCatalog() const { return m_catalog; }
67 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
68 template<typename CatalogT = Aws::String>
69 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
70 template<typename CatalogT = Aws::String>
71 PrestoParameters& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
73 private:
74
75 Aws::String m_host;
76 bool m_hostHasBeenSet = false;
77
78 int m_port{0};
79 bool m_portHasBeenSet = false;
80
81 Aws::String m_catalog;
82 bool m_catalogHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace QuickSight
87} // namespace Aws
PrestoParameters & WithHost(HostT &&value)
AWS_QUICKSIGHT_API PrestoParameters()=default
PrestoParameters & WithPort(int value)
PrestoParameters & WithCatalog(CatalogT &&value)
AWS_QUICKSIGHT_API PrestoParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalog() const
AWS_QUICKSIGHT_API PrestoParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue