AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DynamoDBAction.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/Payload.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 IoTEvents
23{
24namespace Model
25{
26
64 {
65 public:
66 AWS_IOTEVENTS_API DynamoDBAction();
67 AWS_IOTEVENTS_API DynamoDBAction(Aws::Utils::Json::JsonView jsonValue);
69 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
70
71
73
80 inline const Aws::String& GetHashKeyType() const{ return m_hashKeyType; }
81 inline bool HashKeyTypeHasBeenSet() const { return m_hashKeyTypeHasBeenSet; }
82 inline void SetHashKeyType(const Aws::String& value) { m_hashKeyTypeHasBeenSet = true; m_hashKeyType = value; }
83 inline void SetHashKeyType(Aws::String&& value) { m_hashKeyTypeHasBeenSet = true; m_hashKeyType = std::move(value); }
84 inline void SetHashKeyType(const char* value) { m_hashKeyTypeHasBeenSet = true; m_hashKeyType.assign(value); }
85 inline DynamoDBAction& WithHashKeyType(const Aws::String& value) { SetHashKeyType(value); return *this;}
86 inline DynamoDBAction& WithHashKeyType(Aws::String&& value) { SetHashKeyType(std::move(value)); return *this;}
87 inline DynamoDBAction& WithHashKeyType(const char* value) { SetHashKeyType(value); return *this;}
89
91
96 inline const Aws::String& GetHashKeyField() const{ return m_hashKeyField; }
97 inline bool HashKeyFieldHasBeenSet() const { return m_hashKeyFieldHasBeenSet; }
98 inline void SetHashKeyField(const Aws::String& value) { m_hashKeyFieldHasBeenSet = true; m_hashKeyField = value; }
99 inline void SetHashKeyField(Aws::String&& value) { m_hashKeyFieldHasBeenSet = true; m_hashKeyField = std::move(value); }
100 inline void SetHashKeyField(const char* value) { m_hashKeyFieldHasBeenSet = true; m_hashKeyField.assign(value); }
101 inline DynamoDBAction& WithHashKeyField(const Aws::String& value) { SetHashKeyField(value); return *this;}
102 inline DynamoDBAction& WithHashKeyField(Aws::String&& value) { SetHashKeyField(std::move(value)); return *this;}
103 inline DynamoDBAction& WithHashKeyField(const char* value) { SetHashKeyField(value); return *this;}
105
107
110 inline const Aws::String& GetHashKeyValue() const{ return m_hashKeyValue; }
111 inline bool HashKeyValueHasBeenSet() const { return m_hashKeyValueHasBeenSet; }
112 inline void SetHashKeyValue(const Aws::String& value) { m_hashKeyValueHasBeenSet = true; m_hashKeyValue = value; }
113 inline void SetHashKeyValue(Aws::String&& value) { m_hashKeyValueHasBeenSet = true; m_hashKeyValue = std::move(value); }
114 inline void SetHashKeyValue(const char* value) { m_hashKeyValueHasBeenSet = true; m_hashKeyValue.assign(value); }
115 inline DynamoDBAction& WithHashKeyValue(const Aws::String& value) { SetHashKeyValue(value); return *this;}
116 inline DynamoDBAction& WithHashKeyValue(Aws::String&& value) { SetHashKeyValue(std::move(value)); return *this;}
117 inline DynamoDBAction& WithHashKeyValue(const char* value) { SetHashKeyValue(value); return *this;}
119
121
128 inline const Aws::String& GetRangeKeyType() const{ return m_rangeKeyType; }
129 inline bool RangeKeyTypeHasBeenSet() const { return m_rangeKeyTypeHasBeenSet; }
130 inline void SetRangeKeyType(const Aws::String& value) { m_rangeKeyTypeHasBeenSet = true; m_rangeKeyType = value; }
131 inline void SetRangeKeyType(Aws::String&& value) { m_rangeKeyTypeHasBeenSet = true; m_rangeKeyType = std::move(value); }
132 inline void SetRangeKeyType(const char* value) { m_rangeKeyTypeHasBeenSet = true; m_rangeKeyType.assign(value); }
133 inline DynamoDBAction& WithRangeKeyType(const Aws::String& value) { SetRangeKeyType(value); return *this;}
134 inline DynamoDBAction& WithRangeKeyType(Aws::String&& value) { SetRangeKeyType(std::move(value)); return *this;}
135 inline DynamoDBAction& WithRangeKeyType(const char* value) { SetRangeKeyType(value); return *this;}
137
139
144 inline const Aws::String& GetRangeKeyField() const{ return m_rangeKeyField; }
145 inline bool RangeKeyFieldHasBeenSet() const { return m_rangeKeyFieldHasBeenSet; }
146 inline void SetRangeKeyField(const Aws::String& value) { m_rangeKeyFieldHasBeenSet = true; m_rangeKeyField = value; }
147 inline void SetRangeKeyField(Aws::String&& value) { m_rangeKeyFieldHasBeenSet = true; m_rangeKeyField = std::move(value); }
148 inline void SetRangeKeyField(const char* value) { m_rangeKeyFieldHasBeenSet = true; m_rangeKeyField.assign(value); }
149 inline DynamoDBAction& WithRangeKeyField(const Aws::String& value) { SetRangeKeyField(value); return *this;}
150 inline DynamoDBAction& WithRangeKeyField(Aws::String&& value) { SetRangeKeyField(std::move(value)); return *this;}
151 inline DynamoDBAction& WithRangeKeyField(const char* value) { SetRangeKeyField(value); return *this;}
153
155
158 inline const Aws::String& GetRangeKeyValue() const{ return m_rangeKeyValue; }
159 inline bool RangeKeyValueHasBeenSet() const { return m_rangeKeyValueHasBeenSet; }
160 inline void SetRangeKeyValue(const Aws::String& value) { m_rangeKeyValueHasBeenSet = true; m_rangeKeyValue = value; }
161 inline void SetRangeKeyValue(Aws::String&& value) { m_rangeKeyValueHasBeenSet = true; m_rangeKeyValue = std::move(value); }
162 inline void SetRangeKeyValue(const char* value) { m_rangeKeyValueHasBeenSet = true; m_rangeKeyValue.assign(value); }
163 inline DynamoDBAction& WithRangeKeyValue(const Aws::String& value) { SetRangeKeyValue(value); return *this;}
164 inline DynamoDBAction& WithRangeKeyValue(Aws::String&& value) { SetRangeKeyValue(std::move(value)); return *this;}
165 inline DynamoDBAction& WithRangeKeyValue(const char* value) { SetRangeKeyValue(value); return *this;}
167
169
183 inline const Aws::String& GetOperation() const{ return m_operation; }
184 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
185 inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; }
186 inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
187 inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); }
188 inline DynamoDBAction& WithOperation(const Aws::String& value) { SetOperation(value); return *this;}
189 inline DynamoDBAction& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;}
190 inline DynamoDBAction& WithOperation(const char* value) { SetOperation(value); return *this;}
192
194
199 inline const Aws::String& GetPayloadField() const{ return m_payloadField; }
200 inline bool PayloadFieldHasBeenSet() const { return m_payloadFieldHasBeenSet; }
201 inline void SetPayloadField(const Aws::String& value) { m_payloadFieldHasBeenSet = true; m_payloadField = value; }
202 inline void SetPayloadField(Aws::String&& value) { m_payloadFieldHasBeenSet = true; m_payloadField = std::move(value); }
203 inline void SetPayloadField(const char* value) { m_payloadFieldHasBeenSet = true; m_payloadField.assign(value); }
204 inline DynamoDBAction& WithPayloadField(const Aws::String& value) { SetPayloadField(value); return *this;}
205 inline DynamoDBAction& WithPayloadField(Aws::String&& value) { SetPayloadField(std::move(value)); return *this;}
206 inline DynamoDBAction& WithPayloadField(const char* value) { SetPayloadField(value); return *this;}
208
210
214 inline const Aws::String& GetTableName() const{ return m_tableName; }
215 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
216 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
217 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
218 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
219 inline DynamoDBAction& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
220 inline DynamoDBAction& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
221 inline DynamoDBAction& WithTableName(const char* value) { SetTableName(value); return *this;}
223
225
226 inline const Payload& GetPayload() const{ return m_payload; }
227 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
228 inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; }
229 inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
230 inline DynamoDBAction& WithPayload(const Payload& value) { SetPayload(value); return *this;}
231 inline DynamoDBAction& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;}
233 private:
234
235 Aws::String m_hashKeyType;
236 bool m_hashKeyTypeHasBeenSet = false;
237
238 Aws::String m_hashKeyField;
239 bool m_hashKeyFieldHasBeenSet = false;
240
241 Aws::String m_hashKeyValue;
242 bool m_hashKeyValueHasBeenSet = false;
243
244 Aws::String m_rangeKeyType;
245 bool m_rangeKeyTypeHasBeenSet = false;
246
247 Aws::String m_rangeKeyField;
248 bool m_rangeKeyFieldHasBeenSet = false;
249
250 Aws::String m_rangeKeyValue;
251 bool m_rangeKeyValueHasBeenSet = false;
252
253 Aws::String m_operation;
254 bool m_operationHasBeenSet = false;
255
256 Aws::String m_payloadField;
257 bool m_payloadFieldHasBeenSet = false;
258
259 Aws::String m_tableName;
260 bool m_tableNameHasBeenSet = false;
261
262 Payload m_payload;
263 bool m_payloadHasBeenSet = false;
264 };
265
266} // namespace Model
267} // namespace IoTEvents
268} // namespace Aws
void SetPayloadField(const Aws::String &value)
void SetRangeKeyField(Aws::String &&value)
DynamoDBAction & WithPayload(const Payload &value)
AWS_IOTEVENTS_API DynamoDBAction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHashKeyType() const
void SetHashKeyField(const char *value)
DynamoDBAction & WithHashKeyField(Aws::String &&value)
void SetPayloadField(const char *value)
DynamoDBAction & WithRangeKeyValue(const char *value)
void SetRangeKeyValue(const char *value)
const Aws::String & GetTableName() const
DynamoDBAction & WithHashKeyType(Aws::String &&value)
void SetOperation(Aws::String &&value)
void SetRangeKeyType(Aws::String &&value)
void SetHashKeyValue(const char *value)
DynamoDBAction & WithRangeKeyType(const Aws::String &value)
DynamoDBAction & WithHashKeyValue(Aws::String &&value)
void SetHashKeyValue(Aws::String &&value)
DynamoDBAction & WithRangeKeyValue(const Aws::String &value)
void SetHashKeyValue(const Aws::String &value)
void SetTableName(Aws::String &&value)
DynamoDBAction & WithRangeKeyField(Aws::String &&value)
DynamoDBAction & WithPayloadField(const char *value)
void SetRangeKeyField(const Aws::String &value)
DynamoDBAction & WithTableName(const Aws::String &value)
void SetRangeKeyType(const Aws::String &value)
DynamoDBAction & WithOperation(const Aws::String &value)
void SetRangeKeyType(const char *value)
DynamoDBAction & WithHashKeyField(const Aws::String &value)
const Aws::String & GetOperation() const
DynamoDBAction & WithOperation(const char *value)
const Aws::String & GetRangeKeyValue() const
void SetRangeKeyValue(Aws::String &&value)
DynamoDBAction & WithHashKeyType(const Aws::String &value)
DynamoDBAction & WithPayload(Payload &&value)
DynamoDBAction & WithHashKeyField(const char *value)
void SetPayloadField(Aws::String &&value)
DynamoDBAction & WithRangeKeyType(Aws::String &&value)
void SetRangeKeyField(const char *value)
const Aws::String & GetHashKeyValue() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOperation(const Aws::String &value)
DynamoDBAction & WithRangeKeyField(const Aws::String &value)
void SetHashKeyField(const Aws::String &value)
const Aws::String & GetHashKeyField() const
const Aws::String & GetRangeKeyField() const
AWS_IOTEVENTS_API DynamoDBAction(Aws::Utils::Json::JsonView jsonValue)
DynamoDBAction & WithTableName(Aws::String &&value)
DynamoDBAction & WithOperation(Aws::String &&value)
DynamoDBAction & WithHashKeyValue(const Aws::String &value)
void SetHashKeyType(Aws::String &&value)
void SetHashKeyType(const char *value)
DynamoDBAction & WithRangeKeyValue(Aws::String &&value)
DynamoDBAction & WithRangeKeyField(const char *value)
DynamoDBAction & WithTableName(const char *value)
void SetHashKeyType(const Aws::String &value)
DynamoDBAction & WithHashKeyType(const char *value)
DynamoDBAction & WithRangeKeyType(const char *value)
void SetPayload(const Payload &value)
void SetRangeKeyValue(const Aws::String &value)
void SetHashKeyField(Aws::String &&value)
const Aws::String & GetPayloadField() const
const Aws::String & GetRangeKeyType() const
DynamoDBAction & WithPayloadField(const Aws::String &value)
DynamoDBAction & WithHashKeyValue(const char *value)
void SetTableName(const Aws::String &value)
DynamoDBAction & WithPayloadField(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue