AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LinkAttributeUpdate.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKey.h>
9#include <aws/clouddirectory/model/LinkAttributeAction.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
34 {
35 public:
36 AWS_CLOUDDIRECTORY_API LinkAttributeUpdate();
37 AWS_CLOUDDIRECTORY_API LinkAttributeUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API LinkAttributeUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AttributeKey& GetAttributeKey() const{ return m_attributeKey; }
47 inline bool AttributeKeyHasBeenSet() const { return m_attributeKeyHasBeenSet; }
48 inline void SetAttributeKey(const AttributeKey& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = value; }
49 inline void SetAttributeKey(AttributeKey&& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = std::move(value); }
50 inline LinkAttributeUpdate& WithAttributeKey(const AttributeKey& value) { SetAttributeKey(value); return *this;}
51 inline LinkAttributeUpdate& WithAttributeKey(AttributeKey&& value) { SetAttributeKey(std::move(value)); return *this;}
53
55
58 inline const LinkAttributeAction& GetAttributeAction() const{ return m_attributeAction; }
59 inline bool AttributeActionHasBeenSet() const { return m_attributeActionHasBeenSet; }
60 inline void SetAttributeAction(const LinkAttributeAction& value) { m_attributeActionHasBeenSet = true; m_attributeAction = value; }
61 inline void SetAttributeAction(LinkAttributeAction&& value) { m_attributeActionHasBeenSet = true; m_attributeAction = std::move(value); }
63 inline LinkAttributeUpdate& WithAttributeAction(LinkAttributeAction&& value) { SetAttributeAction(std::move(value)); return *this;}
65 private:
66
67 AttributeKey m_attributeKey;
68 bool m_attributeKeyHasBeenSet = false;
69
70 LinkAttributeAction m_attributeAction;
71 bool m_attributeActionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudDirectory
76} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue