7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
51 inline void SetSecretManagerArn(
const char* value) { m_secretManagerArnHasBeenSet =
true; m_secretManagerArn.assign(value); }
66 inline void SetDatabase(
const char* value) { m_databaseHasBeenSet =
true; m_database.assign(value); }
81 inline void SetDbUser(
const char* value) { m_dbUserHasBeenSet =
true; m_dbUser.assign(value); }
94 inline void SetSql(
Aws::String&& value) { m_sqlHasBeenSet =
true; m_sql = std::move(value); }
95 inline void SetSql(
const char* value) { m_sqlHasBeenSet =
true; m_sql.assign(value); }
110 inline void SetStatementName(
const char* value) { m_statementNameHasBeenSet =
true; m_statementName.assign(value); }
123 inline void SetWithEvent(
bool value) { m_withEventHasBeenSet =
true; m_withEvent = value; }
129 bool m_secretManagerArnHasBeenSet =
false;
132 bool m_databaseHasBeenSet =
false;
135 bool m_dbUserHasBeenSet =
false;
138 bool m_sqlHasBeenSet =
false;
141 bool m_statementNameHasBeenSet =
false;
144 bool m_withEventHasBeenSet =
false;
RedshiftDataParameters & WithStatementName(const char *value)
bool SecretManagerArnHasBeenSet() const
void SetDbUser(Aws::String &&value)
const Aws::String & GetDbUser() const
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSql(const char *value)
void SetStatementName(Aws::String &&value)
bool SqlHasBeenSet() const
void SetDatabase(const char *value)
RedshiftDataParameters & WithSecretManagerArn(const Aws::String &value)
RedshiftDataParameters & WithStatementName(const Aws::String &value)
void SetDbUser(const char *value)
void SetStatementName(const char *value)
const Aws::String & GetSecretManagerArn() const
RedshiftDataParameters & WithWithEvent(bool value)
void SetSecretManagerArn(const char *value)
RedshiftDataParameters & WithSecretManagerArn(Aws::String &&value)
bool GetWithEvent() const
void SetSql(const Aws::String &value)
void SetSecretManagerArn(Aws::String &&value)
const Aws::String & GetSql() const
RedshiftDataParameters & WithStatementName(Aws::String &&value)
RedshiftDataParameters & WithSql(Aws::String &&value)
const Aws::String & GetStatementName() const
void SetStatementName(const Aws::String &value)
bool DbUserHasBeenSet() const
void SetDatabase(const Aws::String &value)
RedshiftDataParameters & WithDbUser(Aws::String &&value)
bool DatabaseHasBeenSet() const
bool WithEventHasBeenSet() const
RedshiftDataParameters & WithDbUser(const Aws::String &value)
RedshiftDataParameters & WithDatabase(Aws::String &&value)
void SetDbUser(const Aws::String &value)
void SetSecretManagerArn(const Aws::String &value)
RedshiftDataParameters & WithDbUser(const char *value)
RedshiftDataParameters & WithDatabase(const Aws::String &value)
void SetWithEvent(bool value)
void SetSql(Aws::String &&value)
const Aws::String & GetDatabase() const
RedshiftDataParameters & WithDatabase(const char *value)
RedshiftDataParameters & WithSecretManagerArn(const char *value)
void SetDatabase(Aws::String &&value)
RedshiftDataParameters & WithSql(const char *value)
AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters()
AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatementNameHasBeenSet() const
RedshiftDataParameters & WithSql(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue