AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RedshiftParameters.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/IdentityCenterConfiguration.h>
10#include <aws/quicksight/model/RedshiftIAMParameters.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
33 public:
34 AWS_QUICKSIGHT_API RedshiftParameters() = default;
35 AWS_QUICKSIGHT_API RedshiftParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetHost() const { return m_host; }
44 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
45 template <typename HostT = Aws::String>
46 void SetHost(HostT&& value) {
47 m_hostHasBeenSet = true;
48 m_host = std::forward<HostT>(value);
49 }
50 template <typename HostT = Aws::String>
51 RedshiftParameters& WithHost(HostT&& value) {
52 SetHost(std::forward<HostT>(value));
53 return *this;
54 }
56
58
61 inline int GetPort() const { return m_port; }
62 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
63 inline void SetPort(int value) {
64 m_portHasBeenSet = true;
65 m_port = value;
66 }
67 inline RedshiftParameters& WithPort(int value) {
68 SetPort(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDatabase() const { return m_database; }
78 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
79 template <typename DatabaseT = Aws::String>
80 void SetDatabase(DatabaseT&& value) {
81 m_databaseHasBeenSet = true;
82 m_database = std::forward<DatabaseT>(value);
83 }
84 template <typename DatabaseT = Aws::String>
85 RedshiftParameters& WithDatabase(DatabaseT&& value) {
86 SetDatabase(std::forward<DatabaseT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetClusterId() const { return m_clusterId; }
97 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
98 template <typename ClusterIdT = Aws::String>
99 void SetClusterId(ClusterIdT&& value) {
100 m_clusterIdHasBeenSet = true;
101 m_clusterId = std::forward<ClusterIdT>(value);
102 }
103 template <typename ClusterIdT = Aws::String>
104 RedshiftParameters& WithClusterId(ClusterIdT&& value) {
105 SetClusterId(std::forward<ClusterIdT>(value));
106 return *this;
107 }
109
111
116 inline const RedshiftIAMParameters& GetIAMParameters() const { return m_iAMParameters; }
117 inline bool IAMParametersHasBeenSet() const { return m_iAMParametersHasBeenSet; }
118 template <typename IAMParametersT = RedshiftIAMParameters>
119 void SetIAMParameters(IAMParametersT&& value) {
120 m_iAMParametersHasBeenSet = true;
121 m_iAMParameters = std::forward<IAMParametersT>(value);
122 }
123 template <typename IAMParametersT = RedshiftIAMParameters>
124 RedshiftParameters& WithIAMParameters(IAMParametersT&& value) {
125 SetIAMParameters(std::forward<IAMParametersT>(value));
126 return *this;
127 }
129
131
137 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
138 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
139 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
140 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
141 m_identityCenterConfigurationHasBeenSet = true;
142 m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value);
143 }
144 template <typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
145 RedshiftParameters& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) {
146 SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_host;
152
153 int m_port{0};
154
155 Aws::String m_database;
156
157 Aws::String m_clusterId;
158
159 RedshiftIAMParameters m_iAMParameters;
160
161 IdentityCenterConfiguration m_identityCenterConfiguration;
162 bool m_hostHasBeenSet = false;
163 bool m_portHasBeenSet = false;
164 bool m_databaseHasBeenSet = false;
165 bool m_clusterIdHasBeenSet = false;
166 bool m_iAMParametersHasBeenSet = false;
167 bool m_identityCenterConfigurationHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace QuickSight
172} // namespace Aws
RedshiftParameters & WithIAMParameters(IAMParametersT &&value)
AWS_QUICKSIGHT_API RedshiftParameters()=default
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
RedshiftParameters & WithDatabase(DatabaseT &&value)
AWS_QUICKSIGHT_API RedshiftParameters(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
void SetIAMParameters(IAMParametersT &&value)
RedshiftParameters & WithClusterId(ClusterIdT &&value)
RedshiftParameters & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
RedshiftParameters & WithPort(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const RedshiftIAMParameters & GetIAMParameters() const
RedshiftParameters & WithHost(HostT &&value)
AWS_QUICKSIGHT_API RedshiftParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue