AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDataParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchEvents
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters();
37 AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetSecretManagerArn() const{ return m_secretManagerArn; }
48 inline bool SecretManagerArnHasBeenSet() const { return m_secretManagerArnHasBeenSet; }
49 inline void SetSecretManagerArn(const Aws::String& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = value; }
50 inline void SetSecretManagerArn(Aws::String&& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = std::move(value); }
51 inline void SetSecretManagerArn(const char* value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn.assign(value); }
52 inline RedshiftDataParameters& WithSecretManagerArn(const Aws::String& value) { SetSecretManagerArn(value); return *this;}
53 inline RedshiftDataParameters& WithSecretManagerArn(Aws::String&& value) { SetSecretManagerArn(std::move(value)); return *this;}
54 inline RedshiftDataParameters& WithSecretManagerArn(const char* value) { SetSecretManagerArn(value); return *this;}
56
58
62 inline const Aws::String& GetDatabase() const{ return m_database; }
63 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
64 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
65 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
66 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
67 inline RedshiftDataParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
68 inline RedshiftDataParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
69 inline RedshiftDataParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
71
73
77 inline const Aws::String& GetDbUser() const{ return m_dbUser; }
78 inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
79 inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
80 inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
81 inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
82 inline RedshiftDataParameters& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
83 inline RedshiftDataParameters& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
84 inline RedshiftDataParameters& WithDbUser(const char* value) { SetDbUser(value); return *this;}
86
88
91 inline const Aws::String& GetSql() const{ return m_sql; }
92 inline bool SqlHasBeenSet() const { return m_sqlHasBeenSet; }
93 inline void SetSql(const Aws::String& value) { m_sqlHasBeenSet = true; m_sql = 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); }
96 inline RedshiftDataParameters& WithSql(const Aws::String& value) { SetSql(value); return *this;}
97 inline RedshiftDataParameters& WithSql(Aws::String&& value) { SetSql(std::move(value)); return *this;}
98 inline RedshiftDataParameters& WithSql(const char* value) { SetSql(value); return *this;}
100
102
106 inline const Aws::String& GetStatementName() const{ return m_statementName; }
107 inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
108 inline void SetStatementName(const Aws::String& value) { m_statementNameHasBeenSet = true; m_statementName = value; }
109 inline void SetStatementName(Aws::String&& value) { m_statementNameHasBeenSet = true; m_statementName = std::move(value); }
110 inline void SetStatementName(const char* value) { m_statementNameHasBeenSet = true; m_statementName.assign(value); }
111 inline RedshiftDataParameters& WithStatementName(const Aws::String& value) { SetStatementName(value); return *this;}
112 inline RedshiftDataParameters& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;}
113 inline RedshiftDataParameters& WithStatementName(const char* value) { SetStatementName(value); return *this;}
115
117
121 inline bool GetWithEvent() const{ return m_withEvent; }
122 inline bool WithEventHasBeenSet() const { return m_withEventHasBeenSet; }
123 inline void SetWithEvent(bool value) { m_withEventHasBeenSet = true; m_withEvent = value; }
124 inline RedshiftDataParameters& WithWithEvent(bool value) { SetWithEvent(value); return *this;}
126 private:
127
128 Aws::String m_secretManagerArn;
129 bool m_secretManagerArnHasBeenSet = false;
130
131 Aws::String m_database;
132 bool m_databaseHasBeenSet = false;
133
134 Aws::String m_dbUser;
135 bool m_dbUserHasBeenSet = false;
136
137 Aws::String m_sql;
138 bool m_sqlHasBeenSet = false;
139
140 Aws::String m_statementName;
141 bool m_statementNameHasBeenSet = false;
142
143 bool m_withEvent;
144 bool m_withEventHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace CloudWatchEvents
149} // namespace Aws
RedshiftDataParameters & WithStatementName(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDataParameters & WithSecretManagerArn(const Aws::String &value)
RedshiftDataParameters & WithStatementName(const Aws::String &value)
RedshiftDataParameters & WithSecretManagerArn(Aws::String &&value)
RedshiftDataParameters & WithStatementName(Aws::String &&value)
RedshiftDataParameters & WithSql(Aws::String &&value)
RedshiftDataParameters & WithDbUser(Aws::String &&value)
RedshiftDataParameters & WithDbUser(const Aws::String &value)
RedshiftDataParameters & WithDatabase(Aws::String &&value)
RedshiftDataParameters & WithDbUser(const char *value)
RedshiftDataParameters & WithDatabase(const Aws::String &value)
RedshiftDataParameters & WithDatabase(const char *value)
RedshiftDataParameters & WithSecretManagerArn(const char *value)
RedshiftDataParameters & WithSql(const char *value)
AWS_CLOUDWATCHEVENTS_API RedshiftDataParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
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