AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
78 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
79 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
80 inline DynamoDBv2Action& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
81 inline DynamoDBv2Action& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
82 inline DynamoDBv2Action& WithTableName(const char* value) { SetTableName(value); return *this;}
84
86
87 inline const Payload& GetPayload() const{ return m_payload; }
88 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
89 inline void SetPayload(const Payload& value) { m_payloadHasBeenSet = true; m_payload = value; }
90 inline void SetPayload(Payload&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
91 inline DynamoDBv2Action& WithPayload(const Payload& value) { SetPayload(value); return *this;}
92 inline DynamoDBv2Action& WithPayload(Payload&& value) { SetPayload(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_tableName;
97 bool m_tableNameHasBeenSet = false;
98
99 Payload m_payload;
100 bool m_payloadHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace IoTEvents
105} // namespace Aws
AWS_IOTEVENTS_API DynamoDBv2Action & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTableName(const Aws::String &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue)
DynamoDBv2Action & WithPayload(const Payload &value)
void SetPayload(const Payload &value)
DynamoDBv2Action & WithPayload(Payload &&value)
DynamoDBv2Action & WithTableName(Aws::String &&value)
DynamoDBv2Action & WithTableName(const char *value)
DynamoDBv2Action & WithTableName(const Aws::String &value)
const Aws::String & GetTableName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue