AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; }
53 inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); }
55 inline BatchGetObjectAttributes& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;}
57
59
63 inline const SchemaFacet& GetSchemaFacet() const{ return m_schemaFacet; }
64 inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; }
65 inline void SetSchemaFacet(const SchemaFacet& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = value; }
66 inline void SetSchemaFacet(SchemaFacet&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::move(value); }
67 inline BatchGetObjectAttributes& WithSchemaFacet(const SchemaFacet& value) { SetSchemaFacet(value); return *this;}
68 inline BatchGetObjectAttributes& WithSchemaFacet(SchemaFacet&& value) { SetSchemaFacet(std::move(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 inline void SetAttributeNames(const Aws::Vector<Aws::String>& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = value; }
78 inline void SetAttributeNames(Aws::Vector<Aws::String>&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames = std::move(value); }
81 inline BatchGetObjectAttributes& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
82 inline BatchGetObjectAttributes& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; }
83 inline BatchGetObjectAttributes& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; }
85 private:
86
87 ObjectReference m_objectReference;
88 bool m_objectReferenceHasBeenSet = false;
89
90 SchemaFacet m_schemaFacet;
91 bool m_schemaFacetHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_attributeNames;
94 bool m_attributeNamesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudDirectory
99} // namespace Aws
BatchGetObjectAttributes & WithAttributeNames(Aws::Vector< Aws::String > &&value)
BatchGetObjectAttributes & AddAttributeNames(const Aws::String &value)
BatchGetObjectAttributes & WithSchemaFacet(SchemaFacet &&value)
BatchGetObjectAttributes & AddAttributeNames(Aws::String &&value)
BatchGetObjectAttributes & WithObjectReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetAttributeNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAttributeNames() const
void SetAttributeNames(Aws::Vector< Aws::String > &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API BatchGetObjectAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetObjectAttributes & WithSchemaFacet(const SchemaFacet &value)
BatchGetObjectAttributes & WithObjectReference(ObjectReference &&value)
BatchGetObjectAttributes & AddAttributeNames(const char *value)
BatchGetObjectAttributes & WithAttributeNames(const Aws::Vector< Aws::String > &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