AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KinesisSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/MessageFormatValue.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 DatabaseMigrationService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings();
39 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
50 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
51 inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
52 inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
53 inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
54 inline KinesisSettings& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
55 inline KinesisSettings& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
56 inline KinesisSettings& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
58
60
65 inline const MessageFormatValue& GetMessageFormat() const{ return m_messageFormat; }
66 inline bool MessageFormatHasBeenSet() const { return m_messageFormatHasBeenSet; }
67 inline void SetMessageFormat(const MessageFormatValue& value) { m_messageFormatHasBeenSet = true; m_messageFormat = value; }
68 inline void SetMessageFormat(MessageFormatValue&& value) { m_messageFormatHasBeenSet = true; m_messageFormat = std::move(value); }
69 inline KinesisSettings& WithMessageFormat(const MessageFormatValue& value) { SetMessageFormat(value); return *this;}
70 inline KinesisSettings& WithMessageFormat(MessageFormatValue&& value) { SetMessageFormat(std::move(value)); return *this;}
72
74
79 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
80 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
81 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
82 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
83 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
84 inline KinesisSettings& WithServiceAccessRoleArn(const Aws::String& value) { SetServiceAccessRoleArn(value); return *this;}
85 inline KinesisSettings& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
86 inline KinesisSettings& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
88
90
97 inline bool GetIncludeTransactionDetails() const{ return m_includeTransactionDetails; }
98 inline bool IncludeTransactionDetailsHasBeenSet() const { return m_includeTransactionDetailsHasBeenSet; }
99 inline void SetIncludeTransactionDetails(bool value) { m_includeTransactionDetailsHasBeenSet = true; m_includeTransactionDetails = value; }
102
104
109 inline bool GetIncludePartitionValue() const{ return m_includePartitionValue; }
110 inline bool IncludePartitionValueHasBeenSet() const { return m_includePartitionValueHasBeenSet; }
111 inline void SetIncludePartitionValue(bool value) { m_includePartitionValueHasBeenSet = true; m_includePartitionValue = value; }
112 inline KinesisSettings& WithIncludePartitionValue(bool value) { SetIncludePartitionValue(value); return *this;}
114
116
124 inline bool GetPartitionIncludeSchemaTable() const{ return m_partitionIncludeSchemaTable; }
125 inline bool PartitionIncludeSchemaTableHasBeenSet() const { return m_partitionIncludeSchemaTableHasBeenSet; }
126 inline void SetPartitionIncludeSchemaTable(bool value) { m_partitionIncludeSchemaTableHasBeenSet = true; m_partitionIncludeSchemaTable = value; }
129
131
137 inline bool GetIncludeTableAlterOperations() const{ return m_includeTableAlterOperations; }
138 inline bool IncludeTableAlterOperationsHasBeenSet() const { return m_includeTableAlterOperationsHasBeenSet; }
139 inline void SetIncludeTableAlterOperations(bool value) { m_includeTableAlterOperationsHasBeenSet = true; m_includeTableAlterOperations = value; }
142
144
149 inline bool GetIncludeControlDetails() const{ return m_includeControlDetails; }
150 inline bool IncludeControlDetailsHasBeenSet() const { return m_includeControlDetailsHasBeenSet; }
151 inline void SetIncludeControlDetails(bool value) { m_includeControlDetailsHasBeenSet = true; m_includeControlDetails = value; }
152 inline KinesisSettings& WithIncludeControlDetails(bool value) { SetIncludeControlDetails(value); return *this;}
154
156
160 inline bool GetIncludeNullAndEmpty() const{ return m_includeNullAndEmpty; }
161 inline bool IncludeNullAndEmptyHasBeenSet() const { return m_includeNullAndEmptyHasBeenSet; }
162 inline void SetIncludeNullAndEmpty(bool value) { m_includeNullAndEmptyHasBeenSet = true; m_includeNullAndEmpty = value; }
163 inline KinesisSettings& WithIncludeNullAndEmpty(bool value) { SetIncludeNullAndEmpty(value); return *this;}
165
167
175 inline bool GetNoHexPrefix() const{ return m_noHexPrefix; }
176 inline bool NoHexPrefixHasBeenSet() const { return m_noHexPrefixHasBeenSet; }
177 inline void SetNoHexPrefix(bool value) { m_noHexPrefixHasBeenSet = true; m_noHexPrefix = value; }
178 inline KinesisSettings& WithNoHexPrefix(bool value) { SetNoHexPrefix(value); return *this;}
180 private:
181
182 Aws::String m_streamArn;
183 bool m_streamArnHasBeenSet = false;
184
185 MessageFormatValue m_messageFormat;
186 bool m_messageFormatHasBeenSet = false;
187
188 Aws::String m_serviceAccessRoleArn;
189 bool m_serviceAccessRoleArnHasBeenSet = false;
190
191 bool m_includeTransactionDetails;
192 bool m_includeTransactionDetailsHasBeenSet = false;
193
194 bool m_includePartitionValue;
195 bool m_includePartitionValueHasBeenSet = false;
196
197 bool m_partitionIncludeSchemaTable;
198 bool m_partitionIncludeSchemaTableHasBeenSet = false;
199
200 bool m_includeTableAlterOperations;
201 bool m_includeTableAlterOperationsHasBeenSet = false;
202
203 bool m_includeControlDetails;
204 bool m_includeControlDetailsHasBeenSet = false;
205
206 bool m_includeNullAndEmpty;
207 bool m_includeNullAndEmptyHasBeenSet = false;
208
209 bool m_noHexPrefix;
210 bool m_noHexPrefixHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace DatabaseMigrationService
215} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
KinesisSettings & WithStreamArn(const char *value)
KinesisSettings & WithServiceAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessageFormat(const MessageFormatValue &value)
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings(Aws::Utils::Json::JsonView jsonValue)
KinesisSettings & WithStreamArn(Aws::String &&value)
KinesisSettings & WithIncludeTransactionDetails(bool value)
AWS_DATABASEMIGRATIONSERVICE_API KinesisSettings()
KinesisSettings & WithPartitionIncludeSchemaTable(bool value)
KinesisSettings & WithServiceAccessRoleArn(const char *value)
KinesisSettings & WithStreamArn(const Aws::String &value)
KinesisSettings & WithIncludeTableAlterOperations(bool value)
const MessageFormatValue & GetMessageFormat() const
KinesisSettings & WithServiceAccessRoleArn(Aws::String &&value)
KinesisSettings & WithMessageFormat(MessageFormatValue &&value)
KinesisSettings & WithMessageFormat(const MessageFormatValue &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue