AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeValueUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/AttributeValue.h>
9#include <aws/dynamodb/model/AttributeAction.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 DynamoDB
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_DYNAMODB_API AttributeValueUpdate();
46 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
57 inline const AttributeValue& GetValue() const{ return m_value; }
58 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
59 inline void SetValue(const AttributeValue& value) { m_valueHasBeenSet = true; m_value = value; }
60 inline void SetValue(AttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
61 inline AttributeValueUpdate& WithValue(const AttributeValue& value) { SetValue(value); return *this;}
62 inline AttributeValueUpdate& WithValue(AttributeValue&& value) { SetValue(std::move(value)); return *this;}
64
66
118 inline const AttributeAction& GetAction() const{ return m_action; }
119 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
120 inline void SetAction(const AttributeAction& value) { m_actionHasBeenSet = true; m_action = value; }
121 inline void SetAction(AttributeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
122 inline AttributeValueUpdate& WithAction(const AttributeAction& value) { SetAction(value); return *this;}
123 inline AttributeValueUpdate& WithAction(AttributeAction&& value) { SetAction(std::move(value)); return *this;}
125 private:
126
127 AttributeValue m_value;
128 bool m_valueHasBeenSet = false;
129
130 AttributeAction m_action;
131 bool m_actionHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace DynamoDB
136} // namespace Aws
http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html
AWS_DYNAMODB_API AttributeValueUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const AttributeAction &value)
AttributeValueUpdate & WithAction(AttributeAction &&value)
AttributeValueUpdate & WithAction(const AttributeAction &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API AttributeValueUpdate(Aws::Utils::Json::JsonView jsonValue)
AttributeValueUpdate & WithValue(const AttributeValue &value)
void SetValue(const AttributeValue &value)
AttributeValueUpdate & WithValue(AttributeValue &&value)
Aws::Utils::Json::JsonValue JsonValue