AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchAddFacetToObject.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/SchemaFacet.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/clouddirectory/model/ObjectReference.h>
11#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CloudDirectory
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDDIRECTORY_API BatchAddFacetToObject();
39 AWS_CLOUDDIRECTORY_API BatchAddFacetToObject(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const SchemaFacet& GetSchemaFacet() const{ return m_schemaFacet; }
49 inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; }
50 inline void SetSchemaFacet(const SchemaFacet& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = value; }
51 inline void SetSchemaFacet(SchemaFacet&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::move(value); }
52 inline BatchAddFacetToObject& WithSchemaFacet(const SchemaFacet& value) { SetSchemaFacet(value); return *this;}
53 inline BatchAddFacetToObject& WithSchemaFacet(SchemaFacet&& value) { SetSchemaFacet(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<AttributeKeyAndValue>& GetObjectAttributeList() const{ return m_objectAttributeList; }
61 inline bool ObjectAttributeListHasBeenSet() const { return m_objectAttributeListHasBeenSet; }
62 inline void SetObjectAttributeList(const Aws::Vector<AttributeKeyAndValue>& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList = value; }
63 inline void SetObjectAttributeList(Aws::Vector<AttributeKeyAndValue>&& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList = std::move(value); }
66 inline BatchAddFacetToObject& AddObjectAttributeList(const AttributeKeyAndValue& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList.push_back(value); return *this; }
67 inline BatchAddFacetToObject& AddObjectAttributeList(AttributeKeyAndValue&& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList.push_back(std::move(value)); return *this; }
69
71
74 inline const ObjectReference& GetObjectReference() const{ return m_objectReference; }
75 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
76 inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; }
77 inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); }
78 inline BatchAddFacetToObject& WithObjectReference(const ObjectReference& value) { SetObjectReference(value); return *this;}
79 inline BatchAddFacetToObject& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
81 private:
82
83 SchemaFacet m_schemaFacet;
84 bool m_schemaFacetHasBeenSet = false;
85
86 Aws::Vector<AttributeKeyAndValue> m_objectAttributeList;
87 bool m_objectAttributeListHasBeenSet = false;
88
89 ObjectReference m_objectReference;
90 bool m_objectReferenceHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CloudDirectory
95} // namespace Aws
BatchAddFacetToObject & WithObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
BatchAddFacetToObject & WithObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
void SetObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchAddFacetToObject & WithObjectReference(ObjectReference &&value)
BatchAddFacetToObject & AddObjectAttributeList(AttributeKeyAndValue &&value)
void SetObjectReference(const ObjectReference &value)
BatchAddFacetToObject & WithSchemaFacet(const SchemaFacet &value)
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
void SetObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
AWS_CLOUDDIRECTORY_API BatchAddFacetToObject(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDDIRECTORY_API BatchAddFacetToObject & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchAddFacetToObject & AddObjectAttributeList(const AttributeKeyAndValue &value)
BatchAddFacetToObject & WithSchemaFacet(SchemaFacet &&value)
BatchAddFacetToObject & WithObjectReference(const ObjectReference &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue