AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
47 inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
48 inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
49 inline PrestoParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
50 inline PrestoParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
51 inline PrestoParameters& WithHost(const char* value) { SetHost(value); return *this;}
53
55
58 inline int GetPort() const{ return m_port; }
59 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
60 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
61 inline PrestoParameters& WithPort(int value) { SetPort(value); return *this;}
63
65
68 inline const Aws::String& GetCatalog() const{ return m_catalog; }
69 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
70 inline void SetCatalog(const Aws::String& value) { m_catalogHasBeenSet = true; m_catalog = value; }
71 inline void SetCatalog(Aws::String&& value) { m_catalogHasBeenSet = true; m_catalog = std::move(value); }
72 inline void SetCatalog(const char* value) { m_catalogHasBeenSet = true; m_catalog.assign(value); }
73 inline PrestoParameters& WithCatalog(const Aws::String& value) { SetCatalog(value); return *this;}
74 inline PrestoParameters& WithCatalog(Aws::String&& value) { SetCatalog(std::move(value)); return *this;}
75 inline PrestoParameters& WithCatalog(const char* value) { SetCatalog(value); return *this;}
77 private:
78
79 Aws::String m_host;
80 bool m_hostHasBeenSet = false;
81
82 int m_port;
83 bool m_portHasBeenSet = false;
84
85 Aws::String m_catalog;
86 bool m_catalogHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
PrestoParameters & WithHost(const char *value)
void SetCatalog(const Aws::String &value)
PrestoParameters & WithPort(int value)
PrestoParameters & WithHost(const Aws::String &value)
PrestoParameters & WithHost(Aws::String &&value)
AWS_QUICKSIGHT_API PrestoParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCatalog() const
PrestoParameters & WithCatalog(Aws::String &&value)
void SetHost(const Aws::String &value)
AWS_QUICKSIGHT_API PrestoParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PrestoParameters & WithCatalog(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PrestoParameters & WithCatalog(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue