AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DynamoDBv2Action.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotevents/IoTEvents_EXPORTS.h>
9#include <aws/iotevents/model/Payload.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTEvents {
21namespace Model {
22
59 public:
60 AWS_IOTEVENTS_API DynamoDBv2Action() = default;
61 AWS_IOTEVENTS_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue);
63 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
64
66
69 inline const Aws::String& GetTableName() const { return m_tableName; }
70 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
71 template <typename TableNameT = Aws::String>
72 void SetTableName(TableNameT&& value) {
73 m_tableNameHasBeenSet = true;
74 m_tableName = std::forward<TableNameT>(value);
75 }
76 template <typename TableNameT = Aws::String>
77 DynamoDBv2Action& WithTableName(TableNameT&& value) {
78 SetTableName(std::forward<TableNameT>(value));
79 return *this;
80 }
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) {
89 m_payloadHasBeenSet = true;
90 m_payload = std::forward<PayloadT>(value);
91 }
92 template <typename PayloadT = Payload>
93 DynamoDBv2Action& WithPayload(PayloadT&& value) {
94 SetPayload(std::forward<PayloadT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_tableName;
100
101 Payload m_payload;
102 bool m_tableNameHasBeenSet = false;
103 bool m_payloadHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace IoTEvents
108} // 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