AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StarburstParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/AuthenticationType.h>
10#include <aws/quicksight/model/OAuthParameters.h>
11#include <aws/quicksight/model/StarburstProductType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API StarburstParameters() = default;
34 AWS_QUICKSIGHT_API StarburstParameters(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetHost() const { return m_host; }
43 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
44 template <typename HostT = Aws::String>
45 void SetHost(HostT&& value) {
46 m_hostHasBeenSet = true;
47 m_host = std::forward<HostT>(value);
48 }
49 template <typename HostT = Aws::String>
50 StarburstParameters& WithHost(HostT&& value) {
51 SetHost(std::forward<HostT>(value));
52 return *this;
53 }
55
57
60 inline int GetPort() const { return m_port; }
61 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
62 inline void SetPort(int value) {
63 m_portHasBeenSet = true;
64 m_port = value;
65 }
66 inline StarburstParameters& WithPort(int value) {
67 SetPort(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetCatalog() const { return m_catalog; }
77 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
78 template <typename CatalogT = Aws::String>
79 void SetCatalog(CatalogT&& value) {
80 m_catalogHasBeenSet = true;
81 m_catalog = std::forward<CatalogT>(value);
82 }
83 template <typename CatalogT = Aws::String>
84 StarburstParameters& WithCatalog(CatalogT&& value) {
85 SetCatalog(std::forward<CatalogT>(value));
86 return *this;
87 }
89
91
94 inline StarburstProductType GetProductType() const { return m_productType; }
95 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
97 m_productTypeHasBeenSet = true;
98 m_productType = value;
99 }
101 SetProductType(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetDatabaseAccessControlRole() const { return m_databaseAccessControlRole; }
111 inline bool DatabaseAccessControlRoleHasBeenSet() const { return m_databaseAccessControlRoleHasBeenSet; }
112 template <typename DatabaseAccessControlRoleT = Aws::String>
113 void SetDatabaseAccessControlRole(DatabaseAccessControlRoleT&& value) {
114 m_databaseAccessControlRoleHasBeenSet = true;
115 m_databaseAccessControlRole = std::forward<DatabaseAccessControlRoleT>(value);
116 }
117 template <typename DatabaseAccessControlRoleT = Aws::String>
118 StarburstParameters& WithDatabaseAccessControlRole(DatabaseAccessControlRoleT&& value) {
119 SetDatabaseAccessControlRole(std::forward<DatabaseAccessControlRoleT>(value));
120 return *this;
121 }
123
125
129 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
130 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
132 m_authenticationTypeHasBeenSet = true;
133 m_authenticationType = value;
134 }
137 return *this;
138 }
140
142
146 inline const OAuthParameters& GetOAuthParameters() const { return m_oAuthParameters; }
147 inline bool OAuthParametersHasBeenSet() const { return m_oAuthParametersHasBeenSet; }
148 template <typename OAuthParametersT = OAuthParameters>
149 void SetOAuthParameters(OAuthParametersT&& value) {
150 m_oAuthParametersHasBeenSet = true;
151 m_oAuthParameters = std::forward<OAuthParametersT>(value);
152 }
153 template <typename OAuthParametersT = OAuthParameters>
154 StarburstParameters& WithOAuthParameters(OAuthParametersT&& value) {
155 SetOAuthParameters(std::forward<OAuthParametersT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_host;
161
162 int m_port{0};
163
164 Aws::String m_catalog;
165
167
168 Aws::String m_databaseAccessControlRole;
169
171
172 OAuthParameters m_oAuthParameters;
173 bool m_hostHasBeenSet = false;
174 bool m_portHasBeenSet = false;
175 bool m_catalogHasBeenSet = false;
176 bool m_productTypeHasBeenSet = false;
177 bool m_databaseAccessControlRoleHasBeenSet = false;
178 bool m_authenticationTypeHasBeenSet = false;
179 bool m_oAuthParametersHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace QuickSight
184} // namespace Aws
StarburstParameters & WithDatabaseAccessControlRole(DatabaseAccessControlRoleT &&value)
StarburstParameters & WithHost(HostT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProductType(StarburstProductType value)
void SetAuthenticationType(AuthenticationType value)
void SetOAuthParameters(OAuthParametersT &&value)
StarburstParameters & WithProductType(StarburstProductType value)
const OAuthParameters & GetOAuthParameters() const
void SetDatabaseAccessControlRole(DatabaseAccessControlRoleT &&value)
AWS_QUICKSIGHT_API StarburstParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabaseAccessControlRole() const
AWS_QUICKSIGHT_API StarburstParameters()=default
StarburstParameters & WithPort(int value)
AWS_QUICKSIGHT_API StarburstParameters(Aws::Utils::Json::JsonView jsonValue)
StarburstParameters & WithCatalog(CatalogT &&value)
StarburstParameters & WithOAuthParameters(OAuthParametersT &&value)
StarburstParameters & WithAuthenticationType(AuthenticationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue