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/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/PutItemInput.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 IoT
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOT_API DynamoDBv2Action();
41
42
44
47 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
50 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
51 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
52 inline DynamoDBv2Action& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
53 inline DynamoDBv2Action& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
54 inline DynamoDBv2Action& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
56
58
65 inline const PutItemInput& GetPutItem() const{ return m_putItem; }
66 inline bool PutItemHasBeenSet() const { return m_putItemHasBeenSet; }
67 inline void SetPutItem(const PutItemInput& value) { m_putItemHasBeenSet = true; m_putItem = value; }
68 inline void SetPutItem(PutItemInput&& value) { m_putItemHasBeenSet = true; m_putItem = std::move(value); }
69 inline DynamoDBv2Action& WithPutItem(const PutItemInput& value) { SetPutItem(value); return *this;}
70 inline DynamoDBv2Action& WithPutItem(PutItemInput&& value) { SetPutItem(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_roleArn;
75 bool m_roleArnHasBeenSet = false;
76
77 PutItemInput m_putItem;
78 bool m_putItemHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoT
83} // namespace Aws
void SetRoleArn(const char *value)
const PutItemInput & GetPutItem() const
void SetRoleArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API DynamoDBv2Action & operator=(Aws::Utils::Json::JsonView jsonValue)
DynamoDBv2Action & WithPutItem(const PutItemInput &value)
DynamoDBv2Action & WithRoleArn(const char *value)
DynamoDBv2Action & WithPutItem(PutItemInput &&value)
void SetRoleArn(const Aws::String &value)
void SetPutItem(const PutItemInput &value)
const Aws::String & GetRoleArn() const
DynamoDBv2Action & WithRoleArn(Aws::String &&value)
AWS_IOT_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue)
void SetPutItem(PutItemInput &&value)
DynamoDBv2Action & WithRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue