AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectAttributeAction.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/UpdateActionType.h>
9#include <aws/clouddirectory/model/TypedAttributeValue.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 CloudDirectory
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDDIRECTORY_API ObjectAttributeAction();
36 AWS_CLOUDDIRECTORY_API ObjectAttributeAction(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const UpdateActionType& GetObjectAttributeActionType() const{ return m_objectAttributeActionType; }
46 inline bool ObjectAttributeActionTypeHasBeenSet() const { return m_objectAttributeActionTypeHasBeenSet; }
47 inline void SetObjectAttributeActionType(const UpdateActionType& value) { m_objectAttributeActionTypeHasBeenSet = true; m_objectAttributeActionType = value; }
48 inline void SetObjectAttributeActionType(UpdateActionType&& value) { m_objectAttributeActionTypeHasBeenSet = true; m_objectAttributeActionType = std::move(value); }
52
54
57 inline const TypedAttributeValue& GetObjectAttributeUpdateValue() const{ return m_objectAttributeUpdateValue; }
58 inline bool ObjectAttributeUpdateValueHasBeenSet() const { return m_objectAttributeUpdateValueHasBeenSet; }
59 inline void SetObjectAttributeUpdateValue(const TypedAttributeValue& value) { m_objectAttributeUpdateValueHasBeenSet = true; m_objectAttributeUpdateValue = value; }
60 inline void SetObjectAttributeUpdateValue(TypedAttributeValue&& value) { m_objectAttributeUpdateValueHasBeenSet = true; m_objectAttributeUpdateValue = std::move(value); }
64 private:
65
66 UpdateActionType m_objectAttributeActionType;
67 bool m_objectAttributeActionTypeHasBeenSet = false;
68
69 TypedAttributeValue m_objectAttributeUpdateValue;
70 bool m_objectAttributeUpdateValueHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudDirectory
75} // namespace Aws
ObjectAttributeAction & WithObjectAttributeUpdateValue(TypedAttributeValue &&value)
ObjectAttributeAction & WithObjectAttributeActionType(UpdateActionType &&value)
void SetObjectAttributeUpdateValue(const TypedAttributeValue &value)
void SetObjectAttributeActionType(const UpdateActionType &value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
ObjectAttributeAction & WithObjectAttributeUpdateValue(const TypedAttributeValue &value)
void SetObjectAttributeActionType(UpdateActionType &&value)
void SetObjectAttributeUpdateValue(TypedAttributeValue &&value)
const UpdateActionType & GetObjectAttributeActionType() const
ObjectAttributeAction & WithObjectAttributeActionType(const UpdateActionType &value)
const TypedAttributeValue & GetObjectAttributeUpdateValue() const
AWS_CLOUDDIRECTORY_API ObjectAttributeAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API ObjectAttributeAction(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue