AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeTargetRedshiftDataParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pipes
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetSecretManagerArn() const{ return m_secretManagerArn; }
49 inline bool SecretManagerArnHasBeenSet() const { return m_secretManagerArnHasBeenSet; }
50 inline void SetSecretManagerArn(const Aws::String& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = value; }
51 inline void SetSecretManagerArn(Aws::String&& value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn = std::move(value); }
52 inline void SetSecretManagerArn(const char* value) { m_secretManagerArnHasBeenSet = true; m_secretManagerArn.assign(value); }
54 inline PipeTargetRedshiftDataParameters& WithSecretManagerArn(Aws::String&& value) { SetSecretManagerArn(std::move(value)); return *this;}
55 inline PipeTargetRedshiftDataParameters& WithSecretManagerArn(const char* value) { SetSecretManagerArn(value); return *this;}
57
59
63 inline const Aws::String& GetDatabase() const{ return m_database; }
64 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
65 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
66 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
67 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
68 inline PipeTargetRedshiftDataParameters& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
69 inline PipeTargetRedshiftDataParameters& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
70 inline PipeTargetRedshiftDataParameters& WithDatabase(const char* value) { SetDatabase(value); return *this;}
72
74
78 inline const Aws::String& GetDbUser() const{ return m_dbUser; }
79 inline bool DbUserHasBeenSet() const { return m_dbUserHasBeenSet; }
80 inline void SetDbUser(const Aws::String& value) { m_dbUserHasBeenSet = true; m_dbUser = value; }
81 inline void SetDbUser(Aws::String&& value) { m_dbUserHasBeenSet = true; m_dbUser = std::move(value); }
82 inline void SetDbUser(const char* value) { m_dbUserHasBeenSet = true; m_dbUser.assign(value); }
83 inline PipeTargetRedshiftDataParameters& WithDbUser(const Aws::String& value) { SetDbUser(value); return *this;}
84 inline PipeTargetRedshiftDataParameters& WithDbUser(Aws::String&& value) { SetDbUser(std::move(value)); return *this;}
85 inline PipeTargetRedshiftDataParameters& WithDbUser(const char* value) { SetDbUser(value); return *this;}
87
89
93 inline const Aws::String& GetStatementName() const{ return m_statementName; }
94 inline bool StatementNameHasBeenSet() const { return m_statementNameHasBeenSet; }
95 inline void SetStatementName(const Aws::String& value) { m_statementNameHasBeenSet = true; m_statementName = value; }
96 inline void SetStatementName(Aws::String&& value) { m_statementNameHasBeenSet = true; m_statementName = std::move(value); }
97 inline void SetStatementName(const char* value) { m_statementNameHasBeenSet = true; m_statementName.assign(value); }
99 inline PipeTargetRedshiftDataParameters& WithStatementName(Aws::String&& value) { SetStatementName(std::move(value)); return *this;}
100 inline PipeTargetRedshiftDataParameters& WithStatementName(const char* value) { SetStatementName(value); return *this;}
102
104
108 inline bool GetWithEvent() const{ return m_withEvent; }
109 inline bool WithEventHasBeenSet() const { return m_withEventHasBeenSet; }
110 inline void SetWithEvent(bool value) { m_withEventHasBeenSet = true; m_withEvent = value; }
111 inline PipeTargetRedshiftDataParameters& WithWithEvent(bool value) { SetWithEvent(value); return *this;}
113
115
118 inline const Aws::Vector<Aws::String>& GetSqls() const{ return m_sqls; }
119 inline bool SqlsHasBeenSet() const { return m_sqlsHasBeenSet; }
120 inline void SetSqls(const Aws::Vector<Aws::String>& value) { m_sqlsHasBeenSet = true; m_sqls = value; }
121 inline void SetSqls(Aws::Vector<Aws::String>&& value) { m_sqlsHasBeenSet = true; m_sqls = std::move(value); }
122 inline PipeTargetRedshiftDataParameters& WithSqls(const Aws::Vector<Aws::String>& value) { SetSqls(value); return *this;}
123 inline PipeTargetRedshiftDataParameters& WithSqls(Aws::Vector<Aws::String>&& value) { SetSqls(std::move(value)); return *this;}
124 inline PipeTargetRedshiftDataParameters& AddSqls(const Aws::String& value) { m_sqlsHasBeenSet = true; m_sqls.push_back(value); return *this; }
125 inline PipeTargetRedshiftDataParameters& AddSqls(Aws::String&& value) { m_sqlsHasBeenSet = true; m_sqls.push_back(std::move(value)); return *this; }
126 inline PipeTargetRedshiftDataParameters& AddSqls(const char* value) { m_sqlsHasBeenSet = true; m_sqls.push_back(value); return *this; }
128 private:
129
130 Aws::String m_secretManagerArn;
131 bool m_secretManagerArnHasBeenSet = false;
132
133 Aws::String m_database;
134 bool m_databaseHasBeenSet = false;
135
136 Aws::String m_dbUser;
137 bool m_dbUserHasBeenSet = false;
138
139 Aws::String m_statementName;
140 bool m_statementNameHasBeenSet = false;
141
142 bool m_withEvent;
143 bool m_withEventHasBeenSet = false;
144
146 bool m_sqlsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Pipes
151} // namespace Aws
PipeTargetRedshiftDataParameters & WithDatabase(const Aws::String &value)
PipeTargetRedshiftDataParameters & WithStatementName(const Aws::String &value)
PipeTargetRedshiftDataParameters & WithSecretManagerArn(Aws::String &&value)
PipeTargetRedshiftDataParameters & WithSqls(const Aws::Vector< Aws::String > &value)
PipeTargetRedshiftDataParameters & AddSqls(const Aws::String &value)
AWS_PIPES_API PipeTargetRedshiftDataParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetRedshiftDataParameters & WithDatabase(const char *value)
PipeTargetRedshiftDataParameters & AddSqls(const char *value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetRedshiftDataParameters & WithStatementName(Aws::String &&value)
PipeTargetRedshiftDataParameters & WithDbUser(Aws::String &&value)
PipeTargetRedshiftDataParameters & WithStatementName(const char *value)
AWS_PIPES_API PipeTargetRedshiftDataParameters(Aws::Utils::Json::JsonView jsonValue)
PipeTargetRedshiftDataParameters & WithDbUser(const char *value)
PipeTargetRedshiftDataParameters & WithSecretManagerArn(const Aws::String &value)
PipeTargetRedshiftDataParameters & AddSqls(Aws::String &&value)
PipeTargetRedshiftDataParameters & WithDatabase(Aws::String &&value)
PipeTargetRedshiftDataParameters & WithSqls(Aws::Vector< Aws::String > &&value)
PipeTargetRedshiftDataParameters & WithSecretManagerArn(const char *value)
PipeTargetRedshiftDataParameters & WithWithEvent(bool value)
PipeTargetRedshiftDataParameters & WithDbUser(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue