AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchCreateObject.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/clouddirectory/model/SchemaFacet.h>
12#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CloudDirectory
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLOUDDIRECTORY_API BatchCreateObject();
40 AWS_CLOUDDIRECTORY_API BatchCreateObject(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDDIRECTORY_API BatchCreateObject& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<SchemaFacet>& GetSchemaFacet() const{ return m_schemaFacet; }
51 inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; }
52 inline void SetSchemaFacet(const Aws::Vector<SchemaFacet>& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = value; }
53 inline void SetSchemaFacet(Aws::Vector<SchemaFacet>&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::move(value); }
54 inline BatchCreateObject& WithSchemaFacet(const Aws::Vector<SchemaFacet>& value) { SetSchemaFacet(value); return *this;}
55 inline BatchCreateObject& WithSchemaFacet(Aws::Vector<SchemaFacet>&& value) { SetSchemaFacet(std::move(value)); return *this;}
56 inline BatchCreateObject& AddSchemaFacet(const SchemaFacet& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet.push_back(value); return *this; }
57 inline BatchCreateObject& AddSchemaFacet(SchemaFacet&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet.push_back(std::move(value)); return *this; }
59
61
65 inline const Aws::Vector<AttributeKeyAndValue>& GetObjectAttributeList() const{ return m_objectAttributeList; }
66 inline bool ObjectAttributeListHasBeenSet() const { return m_objectAttributeListHasBeenSet; }
67 inline void SetObjectAttributeList(const Aws::Vector<AttributeKeyAndValue>& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList = value; }
68 inline void SetObjectAttributeList(Aws::Vector<AttributeKeyAndValue>&& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList = std::move(value); }
71 inline BatchCreateObject& AddObjectAttributeList(const AttributeKeyAndValue& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList.push_back(value); return *this; }
72 inline BatchCreateObject& AddObjectAttributeList(AttributeKeyAndValue&& value) { m_objectAttributeListHasBeenSet = true; m_objectAttributeList.push_back(std::move(value)); return *this; }
74
76
79 inline const ObjectReference& GetParentReference() const{ return m_parentReference; }
80 inline bool ParentReferenceHasBeenSet() const { return m_parentReferenceHasBeenSet; }
81 inline void SetParentReference(const ObjectReference& value) { m_parentReferenceHasBeenSet = true; m_parentReference = value; }
82 inline void SetParentReference(ObjectReference&& value) { m_parentReferenceHasBeenSet = true; m_parentReference = std::move(value); }
83 inline BatchCreateObject& WithParentReference(const ObjectReference& value) { SetParentReference(value); return *this;}
84 inline BatchCreateObject& WithParentReference(ObjectReference&& value) { SetParentReference(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetLinkName() const{ return m_linkName; }
92 inline bool LinkNameHasBeenSet() const { return m_linkNameHasBeenSet; }
93 inline void SetLinkName(const Aws::String& value) { m_linkNameHasBeenSet = true; m_linkName = value; }
94 inline void SetLinkName(Aws::String&& value) { m_linkNameHasBeenSet = true; m_linkName = std::move(value); }
95 inline void SetLinkName(const char* value) { m_linkNameHasBeenSet = true; m_linkName.assign(value); }
96 inline BatchCreateObject& WithLinkName(const Aws::String& value) { SetLinkName(value); return *this;}
97 inline BatchCreateObject& WithLinkName(Aws::String&& value) { SetLinkName(std::move(value)); return *this;}
98 inline BatchCreateObject& WithLinkName(const char* value) { SetLinkName(value); return *this;}
100
102
107 inline const Aws::String& GetBatchReferenceName() const{ return m_batchReferenceName; }
108 inline bool BatchReferenceNameHasBeenSet() const { return m_batchReferenceNameHasBeenSet; }
109 inline void SetBatchReferenceName(const Aws::String& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = value; }
110 inline void SetBatchReferenceName(Aws::String&& value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName = std::move(value); }
111 inline void SetBatchReferenceName(const char* value) { m_batchReferenceNameHasBeenSet = true; m_batchReferenceName.assign(value); }
112 inline BatchCreateObject& WithBatchReferenceName(const Aws::String& value) { SetBatchReferenceName(value); return *this;}
113 inline BatchCreateObject& WithBatchReferenceName(Aws::String&& value) { SetBatchReferenceName(std::move(value)); return *this;}
114 inline BatchCreateObject& WithBatchReferenceName(const char* value) { SetBatchReferenceName(value); return *this;}
116 private:
117
118 Aws::Vector<SchemaFacet> m_schemaFacet;
119 bool m_schemaFacetHasBeenSet = false;
120
121 Aws::Vector<AttributeKeyAndValue> m_objectAttributeList;
122 bool m_objectAttributeListHasBeenSet = false;
123
124 ObjectReference m_parentReference;
125 bool m_parentReferenceHasBeenSet = false;
126
127 Aws::String m_linkName;
128 bool m_linkNameHasBeenSet = false;
129
130 Aws::String m_batchReferenceName;
131 bool m_batchReferenceNameHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace CloudDirectory
136} // namespace Aws
BatchCreateObject & WithLinkName(const Aws::String &value)
const ObjectReference & GetParentReference() const
AWS_CLOUDDIRECTORY_API BatchCreateObject(Aws::Utils::Json::JsonView jsonValue)
BatchCreateObject & WithSchemaFacet(Aws::Vector< SchemaFacet > &&value)
void SetObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
BatchCreateObject & WithBatchReferenceName(const char *value)
const Aws::Vector< SchemaFacet > & GetSchemaFacet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemaFacet(const Aws::Vector< SchemaFacet > &value)
BatchCreateObject & WithLinkName(Aws::String &&value)
BatchCreateObject & AddObjectAttributeList(const AttributeKeyAndValue &value)
BatchCreateObject & AddObjectAttributeList(AttributeKeyAndValue &&value)
void SetObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
void SetParentReference(ObjectReference &&value)
BatchCreateObject & WithLinkName(const char *value)
BatchCreateObject & WithParentReference(const ObjectReference &value)
const Aws::Vector< AttributeKeyAndValue > & GetObjectAttributeList() const
BatchCreateObject & WithObjectAttributeList(Aws::Vector< AttributeKeyAndValue > &&value)
BatchCreateObject & WithBatchReferenceName(const Aws::String &value)
void SetSchemaFacet(Aws::Vector< SchemaFacet > &&value)
BatchCreateObject & WithObjectAttributeList(const Aws::Vector< AttributeKeyAndValue > &value)
BatchCreateObject & WithBatchReferenceName(Aws::String &&value)
BatchCreateObject & WithParentReference(ObjectReference &&value)
void SetParentReference(const ObjectReference &value)
void SetBatchReferenceName(const Aws::String &value)
BatchCreateObject & AddSchemaFacet(const SchemaFacet &value)
BatchCreateObject & WithSchemaFacet(const Aws::Vector< SchemaFacet > &value)
AWS_CLOUDDIRECTORY_API BatchCreateObject & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchCreateObject & AddSchemaFacet(SchemaFacet &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue