AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LinkAttributeAction.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
35 {
36 public:
37 AWS_CLOUDDIRECTORY_API LinkAttributeAction();
38 AWS_CLOUDDIRECTORY_API LinkAttributeAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API LinkAttributeAction& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const UpdateActionType& GetAttributeActionType() const{ return m_attributeActionType; }
49 inline bool AttributeActionTypeHasBeenSet() const { return m_attributeActionTypeHasBeenSet; }
50 inline void SetAttributeActionType(const UpdateActionType& value) { m_attributeActionTypeHasBeenSet = true; m_attributeActionType = value; }
51 inline void SetAttributeActionType(UpdateActionType&& value) { m_attributeActionTypeHasBeenSet = true; m_attributeActionType = std::move(value); }
53 inline LinkAttributeAction& WithAttributeActionType(UpdateActionType&& value) { SetAttributeActionType(std::move(value)); return *this;}
55
57
60 inline const TypedAttributeValue& GetAttributeUpdateValue() const{ return m_attributeUpdateValue; }
61 inline bool AttributeUpdateValueHasBeenSet() const { return m_attributeUpdateValueHasBeenSet; }
62 inline void SetAttributeUpdateValue(const TypedAttributeValue& value) { m_attributeUpdateValueHasBeenSet = true; m_attributeUpdateValue = value; }
63 inline void SetAttributeUpdateValue(TypedAttributeValue&& value) { m_attributeUpdateValueHasBeenSet = true; m_attributeUpdateValue = std::move(value); }
67 private:
68
69 UpdateActionType m_attributeActionType;
70 bool m_attributeActionTypeHasBeenSet = false;
71
72 TypedAttributeValue m_attributeUpdateValue;
73 bool m_attributeUpdateValueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CloudDirectory
78} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue