7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
20namespace EventBridge {
44 template <
typename SecretManagerArnT = Aws::String>
46 m_secretManagerArnHasBeenSet =
true;
47 m_secretManagerArn = std::forward<SecretManagerArnT>(value);
49 template <
typename SecretManagerArnT = Aws::String>
63 template <
typename DatabaseT = Aws::String>
65 m_databaseHasBeenSet =
true;
66 m_database = std::forward<DatabaseT>(value);
68 template <
typename DatabaseT = Aws::String>
82 template <
typename DbUserT = Aws::String>
84 m_dbUserHasBeenSet =
true;
85 m_dbUser = std::forward<DbUserT>(value);
87 template <
typename DbUserT = Aws::String>
100 template <
typename SqlT = Aws::String>
102 m_sqlHasBeenSet =
true;
103 m_sql = std::forward<SqlT>(value);
105 template <
typename SqlT = Aws::String>
107 SetSql(std::forward<SqlT>(value));
119 template <
typename StatementNameT = Aws::String>
121 m_statementNameHasBeenSet =
true;
122 m_statementName = std::forward<StatementNameT>(value);
124 template <
typename StatementNameT = Aws::String>
139 m_withEventHasBeenSet =
true;
158 template <
typename SqlsT = Aws::Vector<Aws::String>>
160 m_sqlsHasBeenSet =
true;
161 m_sqls = std::forward<SqlsT>(value);
163 template <
typename SqlsT = Aws::Vector<Aws::String>>
165 SetSqls(std::forward<SqlsT>(value));
168 template <
typename SqlsT = Aws::String>
170 m_sqlsHasBeenSet =
true;
171 m_sqls.emplace_back(std::forward<SqlsT>(value));
186 bool m_withEvent{
false};
189 bool m_secretManagerArnHasBeenSet =
false;
190 bool m_databaseHasBeenSet =
false;
191 bool m_dbUserHasBeenSet =
false;
192 bool m_sqlHasBeenSet =
false;
193 bool m_statementNameHasBeenSet =
false;
194 bool m_withEventHasBeenSet =
false;
195 bool m_sqlsHasBeenSet =
false;
void SetStatementName(StatementNameT &&value)
void SetDatabase(DatabaseT &&value)
void SetSql(SqlT &&value)
AWS_EVENTBRIDGE_API RedshiftDataParameters()=default
bool StatementNameHasBeenSet() const
void SetSqls(SqlsT &&value)
const Aws::Vector< Aws::String > & GetSqls() const
void SetWithEvent(bool value)
RedshiftDataParameters & WithDbUser(DbUserT &&value)
bool DbUserHasBeenSet() const
const Aws::String & GetDatabase() const
bool SecretManagerArnHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API RedshiftDataParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WithEventHasBeenSet() const
RedshiftDataParameters & WithDatabase(DatabaseT &&value)
const Aws::String & GetStatementName() const
bool SqlHasBeenSet() const
const Aws::String & GetSecretManagerArn() const
AWS_EVENTBRIDGE_API RedshiftDataParameters(Aws::Utils::Json::JsonView jsonValue)
bool DatabaseHasBeenSet() const
RedshiftDataParameters & WithSqls(SqlsT &&value)
bool SqlsHasBeenSet() const
bool GetWithEvent() const
RedshiftDataParameters & AddSqls(SqlsT &&value)
RedshiftDataParameters & WithWithEvent(bool value)
void SetDbUser(DbUserT &&value)
void SetSecretManagerArn(SecretManagerArnT &&value)
const Aws::String & GetSql() const
RedshiftDataParameters & WithStatementName(StatementNameT &&value)
RedshiftDataParameters & WithSql(SqlT &&value)
RedshiftDataParameters & WithSecretManagerArn(SecretManagerArnT &&value)
const Aws::String & GetDbUser() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue