AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
KinesisSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/MessageFormatValue.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DatabaseMigrationService {
21namespace Model {
22
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings() = default;
34 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetStreamArn() const { return m_streamArn; }
44 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
45 template <typename StreamArnT = Aws::String>
46 void SetStreamArn(StreamArnT&& value) {
47 m_streamArnHasBeenSet = true;
48 m_streamArn = std::forward<StreamArnT>(value);
49 }
50 template <typename StreamArnT = Aws::String>
51 KinesisSettings& WithStreamArn(StreamArnT&& value) {
52 SetStreamArn(std::forward<StreamArnT>(value));
53 return *this;
54 }
56
58
63 inline MessageFormatValue GetMessageFormat() const { return m_messageFormat; }
64 inline bool MessageFormatHasBeenSet() const { return m_messageFormatHasBeenSet; }
66 m_messageFormatHasBeenSet = true;
67 m_messageFormat = value;
68 }
70 SetMessageFormat(value);
71 return *this;
72 }
74
76
81 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
82 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
83 template <typename ServiceAccessRoleArnT = Aws::String>
84 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
85 m_serviceAccessRoleArnHasBeenSet = true;
86 m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value);
87 }
88 template <typename ServiceAccessRoleArnT = Aws::String>
89 KinesisSettings& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
90 SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value));
91 return *this;
92 }
94
96
103 inline bool GetIncludeTransactionDetails() const { return m_includeTransactionDetails; }
104 inline bool IncludeTransactionDetailsHasBeenSet() const { return m_includeTransactionDetailsHasBeenSet; }
105 inline void SetIncludeTransactionDetails(bool value) {
106 m_includeTransactionDetailsHasBeenSet = true;
107 m_includeTransactionDetails = value;
108 }
111 return *this;
112 }
114
116
121 inline bool GetIncludePartitionValue() const { return m_includePartitionValue; }
122 inline bool IncludePartitionValueHasBeenSet() const { return m_includePartitionValueHasBeenSet; }
123 inline void SetIncludePartitionValue(bool value) {
124 m_includePartitionValueHasBeenSet = true;
125 m_includePartitionValue = value;
126 }
129 return *this;
130 }
132
134
142 inline bool GetPartitionIncludeSchemaTable() const { return m_partitionIncludeSchemaTable; }
143 inline bool PartitionIncludeSchemaTableHasBeenSet() const { return m_partitionIncludeSchemaTableHasBeenSet; }
144 inline void SetPartitionIncludeSchemaTable(bool value) {
145 m_partitionIncludeSchemaTableHasBeenSet = true;
146 m_partitionIncludeSchemaTable = value;
147 }
150 return *this;
151 }
153
155
161 inline bool GetIncludeTableAlterOperations() const { return m_includeTableAlterOperations; }
162 inline bool IncludeTableAlterOperationsHasBeenSet() const { return m_includeTableAlterOperationsHasBeenSet; }
163 inline void SetIncludeTableAlterOperations(bool value) {
164 m_includeTableAlterOperationsHasBeenSet = true;
165 m_includeTableAlterOperations = value;
166 }
169 return *this;
170 }
172
174
179 inline bool GetIncludeControlDetails() const { return m_includeControlDetails; }
180 inline bool IncludeControlDetailsHasBeenSet() const { return m_includeControlDetailsHasBeenSet; }
181 inline void SetIncludeControlDetails(bool value) {
182 m_includeControlDetailsHasBeenSet = true;
183 m_includeControlDetails = value;
184 }
187 return *this;
188 }
190
192
196 inline bool GetIncludeNullAndEmpty() const { return m_includeNullAndEmpty; }
197 inline bool IncludeNullAndEmptyHasBeenSet() const { return m_includeNullAndEmptyHasBeenSet; }
198 inline void SetIncludeNullAndEmpty(bool value) {
199 m_includeNullAndEmptyHasBeenSet = true;
200 m_includeNullAndEmpty = value;
201 }
204 return *this;
205 }
207
209
217 inline bool GetNoHexPrefix() const { return m_noHexPrefix; }
218 inline bool NoHexPrefixHasBeenSet() const { return m_noHexPrefixHasBeenSet; }
219 inline void SetNoHexPrefix(bool value) {
220 m_noHexPrefixHasBeenSet = true;
221 m_noHexPrefix = value;
222 }
223 inline KinesisSettings& WithNoHexPrefix(bool value) {
224 SetNoHexPrefix(value);
225 return *this;
226 }
228
230
233 inline bool GetUseLargeIntegerValue() const { return m_useLargeIntegerValue; }
234 inline bool UseLargeIntegerValueHasBeenSet() const { return m_useLargeIntegerValueHasBeenSet; }
235 inline void SetUseLargeIntegerValue(bool value) {
236 m_useLargeIntegerValueHasBeenSet = true;
237 m_useLargeIntegerValue = value;
238 }
241 return *this;
242 }
244 private:
245 Aws::String m_streamArn;
246
248
249 Aws::String m_serviceAccessRoleArn;
250
251 bool m_includeTransactionDetails{false};
252
253 bool m_includePartitionValue{false};
254
255 bool m_partitionIncludeSchemaTable{false};
256
257 bool m_includeTableAlterOperations{false};
258
259 bool m_includeControlDetails{false};
260
261 bool m_includeNullAndEmpty{false};
262
263 bool m_noHexPrefix{false};
264
265 bool m_useLargeIntegerValue{false};
266 bool m_streamArnHasBeenSet = false;
267 bool m_messageFormatHasBeenSet = false;
268 bool m_serviceAccessRoleArnHasBeenSet = false;
269 bool m_includeTransactionDetailsHasBeenSet = false;
270 bool m_includePartitionValueHasBeenSet = false;
271 bool m_partitionIncludeSchemaTableHasBeenSet = false;
272 bool m_includeTableAlterOperationsHasBeenSet = false;
273 bool m_includeControlDetailsHasBeenSet = false;
274 bool m_includeNullAndEmptyHasBeenSet = false;
275 bool m_noHexPrefixHasBeenSet = false;
276 bool m_useLargeIntegerValueHasBeenSet = false;
277};
278
279} // namespace Model
280} // namespace DatabaseMigrationService
281} // namespace Aws
KinesisSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
KinesisSettings & WithStreamArn(StreamArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings()=default
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings(Aws::Utils::Json::JsonView jsonValue)
KinesisSettings & WithMessageFormat(MessageFormatValue value)
KinesisSettings & WithIncludeTransactionDetails(bool value)
KinesisSettings & WithPartitionIncludeSchemaTable(bool value)
KinesisSettings & WithIncludeTableAlterOperations(bool value)
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue