AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
41
42
44
47 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
48 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
49 template<typename RoleArnT = Aws::String>
50 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
51 template<typename RoleArnT = Aws::String>
52 DynamoDBv2Action& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
54
56
63 inline const PutItemInput& GetPutItem() const { return m_putItem; }
64 inline bool PutItemHasBeenSet() const { return m_putItemHasBeenSet; }
65 template<typename PutItemT = PutItemInput>
66 void SetPutItem(PutItemT&& value) { m_putItemHasBeenSet = true; m_putItem = std::forward<PutItemT>(value); }
67 template<typename PutItemT = PutItemInput>
68 DynamoDBv2Action& WithPutItem(PutItemT&& value) { SetPutItem(std::forward<PutItemT>(value)); return *this;}
70 private:
71
72 Aws::String m_roleArn;
73 bool m_roleArnHasBeenSet = false;
74
75 PutItemInput m_putItem;
76 bool m_putItemHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoT
81} // namespace Aws
DynamoDBv2Action & WithRoleArn(RoleArnT &&value)
const PutItemInput & GetPutItem() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API DynamoDBv2Action & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPutItem(PutItemT &&value)
DynamoDBv2Action & WithPutItem(PutItemT &&value)
const Aws::String & GetRoleArn() const
AWS_IOT_API DynamoDBv2Action(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
AWS_IOT_API DynamoDBv2Action()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue