AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DynamoDBv2Action.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
63 {
64 public:
65 AWS_IOTEVENTS_API DynamoDBv2Action() = default;
66 AWS_IOTEVENTS_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue);
68 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
69
70
72
75 inline const Aws::String& GetTableName() const { return m_tableName; }
76 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
77 template<typename TableNameT = Aws::String>
78 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
79 template<typename TableNameT = Aws::String>
80 DynamoDBv2Action& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
82
84
85 inline const Payload& GetPayload() const { return m_payload; }
86 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
87 template<typename PayloadT = Payload>
88 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
89 template<typename PayloadT = Payload>
90 DynamoDBv2Action& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
92 private:
93
94 Aws::String m_tableName;
95 bool m_tableNameHasBeenSet = false;
96
97 Payload m_payload;
98 bool m_payloadHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace IoTEvents
103} // namespace Aws
AWS_IOTEVENTS_API DynamoDBv2Action & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API DynamoDBv2Action()=default
AWS_IOTEVENTS_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue)
DynamoDBv2Action & WithPayload(PayloadT &&value)
DynamoDBv2Action & WithTableName(TableNameT &&value)
const Aws::String & GetTableName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue