7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/ConsistencyLevel.h>
10#include <aws/clouddirectory/model/ObjectReference.h>
11#include <aws/clouddirectory/model/SchemaFacet.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace CloudDirectory {
44 template <
typename DirectoryArnT = Aws::String>
46 m_directoryArnHasBeenSet =
true;
47 m_directoryArn = std::forward<DirectoryArnT>(value);
49 template <
typename DirectoryArnT = Aws::String>
62 template <
typename ObjectReferenceT = ObjectReference>
64 m_objectReferenceHasBeenSet =
true;
65 m_objectReference = std::forward<ObjectReferenceT>(value);
67 template <
typename ObjectReferenceT = ObjectReference>
81 m_consistencyLevelHasBeenSet =
true;
82 m_consistencyLevel = value;
97 template <
typename SchemaFacetT = SchemaFacet>
99 m_schemaFacetHasBeenSet =
true;
100 m_schemaFacet = std::forward<SchemaFacetT>(value);
102 template <
typename SchemaFacetT = SchemaFacet>
115 template <
typename AttributeNamesT = Aws::Vector<Aws::String>>
117 m_attributeNamesHasBeenSet =
true;
118 m_attributeNames = std::forward<AttributeNamesT>(value);
120 template <
typename AttributeNamesT = Aws::Vector<Aws::String>>
125 template <
typename AttributeNamesT = Aws::String>
127 m_attributeNamesHasBeenSet =
true;
128 m_attributeNames.emplace_back(std::forward<AttributeNamesT>(value));
139 SchemaFacet m_schemaFacet;
142 bool m_directoryArnHasBeenSet =
false;
143 bool m_objectReferenceHasBeenSet =
false;
144 bool m_consistencyLevelHasBeenSet =
false;
145 bool m_schemaFacetHasBeenSet =
false;
146 bool m_attributeNamesHasBeenSet =
false;
bool ConsistencyLevelHasBeenSet() const
const Aws::String & GetDirectoryArn() const
virtual const char * GetServiceRequestName() const override
AWS_CLOUDDIRECTORY_API GetObjectAttributesRequest()=default
void SetDirectoryArn(DirectoryArnT &&value)
void SetConsistencyLevel(ConsistencyLevel value)
bool AttributeNamesHasBeenSet() const
GetObjectAttributesRequest & AddAttributeNames(AttributeNamesT &&value)
GetObjectAttributesRequest & WithAttributeNames(AttributeNamesT &&value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetAttributeNames() const
const SchemaFacet & GetSchemaFacet() const
const ObjectReference & GetObjectReference() const
GetObjectAttributesRequest & WithConsistencyLevel(ConsistencyLevel value)
bool ObjectReferenceHasBeenSet() const
bool SchemaFacetHasBeenSet() const
void SetObjectReference(ObjectReferenceT &&value)
GetObjectAttributesRequest & WithDirectoryArn(DirectoryArnT &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
GetObjectAttributesRequest & WithObjectReference(ObjectReferenceT &&value)
void SetAttributeNames(AttributeNamesT &&value)
bool DirectoryArnHasBeenSet() const
GetObjectAttributesRequest & WithSchemaFacet(SchemaFacetT &&value)
void SetSchemaFacet(SchemaFacetT &&value)
ConsistencyLevel GetConsistencyLevel() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector