AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftParameters.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/RedshiftIAMParameters.h>
10#include <aws/quicksight/model/IdentityCenterConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_QUICKSIGHT_API RedshiftParameters();
40 AWS_QUICKSIGHT_API RedshiftParameters(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetHost() const{ return m_host; }
50 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
51 inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
52 inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
53 inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
54 inline RedshiftParameters& WithHost(const Aws::String& value) { SetHost(value); return *this;}
55 inline RedshiftParameters& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
56 inline RedshiftParameters& WithHost(const char* value) { SetHost(value); return *this;}
58
60
63 inline int GetPort() const{ return m_port; }
64 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
65 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
66 inline RedshiftParameters& WithPort(int value) { SetPort(value); return *this;}
68
70
73 inline const Aws::String& GetDatabase() const{ return m_database; }
74 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
75 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
76 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
77 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
78 inline RedshiftParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
79 inline RedshiftParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
80 inline RedshiftParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
82
84
88 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
89 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
90 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
91 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
92 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
93 inline RedshiftParameters& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
94 inline RedshiftParameters& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
95 inline RedshiftParameters& WithClusterId(const char* value) { SetClusterId(value); return *this;}
97
99
104 inline const RedshiftIAMParameters& GetIAMParameters() const{ return m_iAMParameters; }
105 inline bool IAMParametersHasBeenSet() const { return m_iAMParametersHasBeenSet; }
106 inline void SetIAMParameters(const RedshiftIAMParameters& value) { m_iAMParametersHasBeenSet = true; m_iAMParameters = value; }
107 inline void SetIAMParameters(RedshiftIAMParameters&& value) { m_iAMParametersHasBeenSet = true; m_iAMParameters = std::move(value); }
108 inline RedshiftParameters& WithIAMParameters(const RedshiftIAMParameters& value) { SetIAMParameters(value); return *this;}
109 inline RedshiftParameters& WithIAMParameters(RedshiftIAMParameters&& value) { SetIAMParameters(std::move(value)); return *this;}
111
113
119 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const{ return m_identityCenterConfiguration; }
120 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
121 inline void SetIdentityCenterConfiguration(const IdentityCenterConfiguration& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = value; }
122 inline void SetIdentityCenterConfiguration(IdentityCenterConfiguration&& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = std::move(value); }
126 private:
127
128 Aws::String m_host;
129 bool m_hostHasBeenSet = false;
130
131 int m_port;
132 bool m_portHasBeenSet = false;
133
134 Aws::String m_database;
135 bool m_databaseHasBeenSet = false;
136
137 Aws::String m_clusterId;
138 bool m_clusterIdHasBeenSet = false;
139
140 RedshiftIAMParameters m_iAMParameters;
141 bool m_iAMParametersHasBeenSet = false;
142
143 IdentityCenterConfiguration m_identityCenterConfiguration;
144 bool m_identityCenterConfigurationHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace QuickSight
149} // namespace Aws
RedshiftParameters & WithIdentityCenterConfiguration(IdentityCenterConfiguration &&value)
void SetIAMParameters(const RedshiftIAMParameters &value)
RedshiftParameters & WithIAMParameters(RedshiftIAMParameters &&value)
RedshiftParameters & WithIAMParameters(const RedshiftIAMParameters &value)
RedshiftParameters & WithHost(const char *value)
void SetDatabase(const Aws::String &value)
RedshiftParameters & WithClusterId(const Aws::String &value)
RedshiftParameters & WithHost(Aws::String &&value)
RedshiftParameters & WithClusterId(const char *value)
void SetClusterId(const Aws::String &value)
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
RedshiftParameters & WithDatabase(Aws::String &&value)
AWS_QUICKSIGHT_API RedshiftParameters(Aws::Utils::Json::JsonView jsonValue)
void SetIAMParameters(RedshiftIAMParameters &&value)
RedshiftParameters & WithDatabase(const char *value)
RedshiftParameters & WithIdentityCenterConfiguration(const IdentityCenterConfiguration &value)
RedshiftParameters & WithPort(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const RedshiftIAMParameters & GetIAMParameters() const
void SetIdentityCenterConfiguration(IdentityCenterConfiguration &&value)
RedshiftParameters & WithDatabase(const Aws::String &value)
RedshiftParameters & WithClusterId(Aws::String &&value)
AWS_QUICKSIGHT_API RedshiftParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityCenterConfiguration(const IdentityCenterConfiguration &value)
RedshiftParameters & WithHost(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue