AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
BatchGetObjectAttributes.h
1
6#pragma once
7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
9#include <aws/clouddirectory/model/SchemaFacet.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudDirectory {
23namespace Model {
24
34 public:
35 AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes() = default;
36 AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const ObjectReference& GetObjectReference() const { return m_objectReference; }
45 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
46 template <typename ObjectReferenceT = ObjectReference>
47 void SetObjectReference(ObjectReferenceT&& value) {
48 m_objectReferenceHasBeenSet = true;
49 m_objectReference = std::forward<ObjectReferenceT>(value);
50 }
51 template <typename ObjectReferenceT = ObjectReference>
52 BatchGetObjectAttributes& WithObjectReference(ObjectReferenceT&& value) {
53 SetObjectReference(std::forward<ObjectReferenceT>(value));
54 return *this;
55 }
57
59
63 inline const SchemaFacet& GetSchemaFacet() const { return m_schemaFacet; }
64 inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; }
65 template <typename SchemaFacetT = SchemaFacet>
66 void SetSchemaFacet(SchemaFacetT&& value) {
67 m_schemaFacetHasBeenSet = true;
68 m_schemaFacet = std::forward<SchemaFacetT>(value);
69 }
70 template <typename SchemaFacetT = SchemaFacet>
72 SetSchemaFacet(std::forward<SchemaFacetT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
82 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
83 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
84 void SetAttributeNames(AttributeNamesT&& value) {
85 m_attributeNamesHasBeenSet = true;
86 m_attributeNames = std::forward<AttributeNamesT>(value);
87 }
88 template <typename AttributeNamesT = Aws::Vector<Aws::String>>
89 BatchGetObjectAttributes& WithAttributeNames(AttributeNamesT&& value) {
90 SetAttributeNames(std::forward<AttributeNamesT>(value));
91 return *this;
92 }
93 template <typename AttributeNamesT = Aws::String>
94 BatchGetObjectAttributes& AddAttributeNames(AttributeNamesT&& value) {
95 m_attributeNamesHasBeenSet = true;
96 m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value));
97 return *this;
98 }
100 private:
101 ObjectReference m_objectReference;
102
103 SchemaFacet m_schemaFacet;
104
105 Aws::Vector<Aws::String> m_attributeNames;
106 bool m_objectReferenceHasBeenSet = false;
107 bool m_schemaFacetHasBeenSet = false;
108 bool m_attributeNamesHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace CloudDirectory
113} // namespace Aws
BatchGetObjectAttributes & WithObjectReference(ObjectReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes(Aws::Utils::Json::JsonView jsonValue)
BatchGetObjectAttributes & AddAttributeNames(AttributeNamesT &&value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes()=default
BatchGetObjectAttributes & WithSchemaFacet(SchemaFacetT &&value)
BatchGetObjectAttributes & WithAttributeNames(AttributeNamesT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue