AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectAttributeUpdate.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKey.h>
9#include <aws/clouddirectory/model/ObjectAttributeAction.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 ObjectAttributeUpdate();
37 AWS_CLOUDDIRECTORY_API ObjectAttributeUpdate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AttributeKey& GetObjectAttributeKey() const{ return m_objectAttributeKey; }
47 inline bool ObjectAttributeKeyHasBeenSet() const { return m_objectAttributeKeyHasBeenSet; }
48 inline void SetObjectAttributeKey(const AttributeKey& value) { m_objectAttributeKeyHasBeenSet = true; m_objectAttributeKey = value; }
49 inline void SetObjectAttributeKey(AttributeKey&& value) { m_objectAttributeKeyHasBeenSet = true; m_objectAttributeKey = std::move(value); }
51 inline ObjectAttributeUpdate& WithObjectAttributeKey(AttributeKey&& value) { SetObjectAttributeKey(std::move(value)); return *this;}
53
55
58 inline const ObjectAttributeAction& GetObjectAttributeAction() const{ return m_objectAttributeAction; }
59 inline bool ObjectAttributeActionHasBeenSet() const { return m_objectAttributeActionHasBeenSet; }
60 inline void SetObjectAttributeAction(const ObjectAttributeAction& value) { m_objectAttributeActionHasBeenSet = true; m_objectAttributeAction = value; }
61 inline void SetObjectAttributeAction(ObjectAttributeAction&& value) { m_objectAttributeActionHasBeenSet = true; m_objectAttributeAction = std::move(value); }
65 private:
66
67 AttributeKey m_objectAttributeKey;
68 bool m_objectAttributeKeyHasBeenSet = false;
69
70 ObjectAttributeAction m_objectAttributeAction;
71 bool m_objectAttributeActionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudDirectory
76} // namespace Aws
AWS_CLOUDDIRECTORY_API ObjectAttributeUpdate(Aws::Utils::Json::JsonView jsonValue)
ObjectAttributeUpdate & WithObjectAttributeAction(const ObjectAttributeAction &value)
void SetObjectAttributeAction(ObjectAttributeAction &&value)
void SetObjectAttributeAction(const ObjectAttributeAction &value)
const ObjectAttributeAction & GetObjectAttributeAction() const
ObjectAttributeUpdate & WithObjectAttributeAction(ObjectAttributeAction &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
ObjectAttributeUpdate & WithObjectAttributeKey(AttributeKey &&value)
ObjectAttributeUpdate & WithObjectAttributeKey(const AttributeKey &value)
AWS_CLOUDDIRECTORY_API ObjectAttributeUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue