AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.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
38 {
39 public:
40 AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes() = default;
41 AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const ObjectReference& GetObjectReference() const { return m_objectReference; }
51 inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; }
52 template<typename ObjectReferenceT = ObjectReference>
53 void SetObjectReference(ObjectReferenceT&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::forward<ObjectReferenceT>(value); }
54 template<typename ObjectReferenceT = ObjectReference>
55 BatchGetObjectAttributes& WithObjectReference(ObjectReferenceT&& value) { SetObjectReference(std::forward<ObjectReferenceT>(value)); return *this;}
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) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::forward<SchemaFacetT>(value); }
67 template<typename SchemaFacetT = SchemaFacet>
68 BatchGetObjectAttributes& WithSchemaFacet(SchemaFacetT&& value) { SetSchemaFacet(std::forward<SchemaFacetT>(value)); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetAttributeNames() const { return m_attributeNames; }
76 inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; }
77 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
78 void SetAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::forward<AttributeNamesT>(value); }
79 template<typename AttributeNamesT = Aws::Vector<Aws::String>>
80 BatchGetObjectAttributes& WithAttributeNames(AttributeNamesT&& value) { SetAttributeNames(std::forward<AttributeNamesT>(value)); return *this;}
81 template<typename AttributeNamesT = Aws::String>
82 BatchGetObjectAttributes& AddAttributeNames(AttributeNamesT&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value)); return *this; }
84 private:
85
86 ObjectReference m_objectReference;
87 bool m_objectReferenceHasBeenSet = false;
88
89 SchemaFacet m_schemaFacet;
90 bool m_schemaFacetHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_attributeNames;
93 bool m_attributeNamesHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudDirectory
98} // 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