AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StarburstParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/StarburstProductType.h>
10#include <aws/quicksight/model/AuthenticationType.h>
11#include <aws/quicksight/model/OAuthParameters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API StarburstParameters() = default;
39 AWS_QUICKSIGHT_API StarburstParameters(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetHost() const { return m_host; }
49 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
50 template<typename HostT = Aws::String>
51 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
52 template<typename HostT = Aws::String>
53 StarburstParameters& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
55
57
60 inline int GetPort() const { return m_port; }
61 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
62 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
63 inline StarburstParameters& WithPort(int value) { SetPort(value); return *this;}
65
67
70 inline const Aws::String& GetCatalog() const { return m_catalog; }
71 inline bool CatalogHasBeenSet() const { return m_catalogHasBeenSet; }
72 template<typename CatalogT = Aws::String>
73 void SetCatalog(CatalogT&& value) { m_catalogHasBeenSet = true; m_catalog = std::forward<CatalogT>(value); }
74 template<typename CatalogT = Aws::String>
75 StarburstParameters& WithCatalog(CatalogT&& value) { SetCatalog(std::forward<CatalogT>(value)); return *this;}
77
79
82 inline StarburstProductType GetProductType() const { return m_productType; }
83 inline bool ProductTypeHasBeenSet() const { return m_productTypeHasBeenSet; }
84 inline void SetProductType(StarburstProductType value) { m_productTypeHasBeenSet = true; m_productType = value; }
87
89
92 inline const Aws::String& GetDatabaseAccessControlRole() const { return m_databaseAccessControlRole; }
93 inline bool DatabaseAccessControlRoleHasBeenSet() const { return m_databaseAccessControlRoleHasBeenSet; }
94 template<typename DatabaseAccessControlRoleT = Aws::String>
95 void SetDatabaseAccessControlRole(DatabaseAccessControlRoleT&& value) { m_databaseAccessControlRoleHasBeenSet = true; m_databaseAccessControlRole = std::forward<DatabaseAccessControlRoleT>(value); }
96 template<typename DatabaseAccessControlRoleT = Aws::String>
97 StarburstParameters& WithDatabaseAccessControlRole(DatabaseAccessControlRoleT&& value) { SetDatabaseAccessControlRole(std::forward<DatabaseAccessControlRoleT>(value)); return *this;}
99
101
105 inline AuthenticationType GetAuthenticationType() const { return m_authenticationType; }
106 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
107 inline void SetAuthenticationType(AuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
110
112
116 inline const OAuthParameters& GetOAuthParameters() const { return m_oAuthParameters; }
117 inline bool OAuthParametersHasBeenSet() const { return m_oAuthParametersHasBeenSet; }
118 template<typename OAuthParametersT = OAuthParameters>
119 void SetOAuthParameters(OAuthParametersT&& value) { m_oAuthParametersHasBeenSet = true; m_oAuthParameters = std::forward<OAuthParametersT>(value); }
120 template<typename OAuthParametersT = OAuthParameters>
121 StarburstParameters& WithOAuthParameters(OAuthParametersT&& value) { SetOAuthParameters(std::forward<OAuthParametersT>(value)); return *this;}
123 private:
124
125 Aws::String m_host;
126 bool m_hostHasBeenSet = false;
127
128 int m_port{0};
129 bool m_portHasBeenSet = false;
130
131 Aws::String m_catalog;
132 bool m_catalogHasBeenSet = false;
133
135 bool m_productTypeHasBeenSet = false;
136
137 Aws::String m_databaseAccessControlRole;
138 bool m_databaseAccessControlRoleHasBeenSet = false;
139
141 bool m_authenticationTypeHasBeenSet = false;
142
143 OAuthParameters m_oAuthParameters;
144 bool m_oAuthParametersHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace QuickSight
149} // 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