7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
23namespace CloudDirectory
48 template<
typename IndexedAttributesT = Aws::Vector<AttributeKeyAndValue>>
49 void SetIndexedAttributes(IndexedAttributesT&& value) { m_indexedAttributesHasBeenSet =
true; m_indexedAttributes = std::forward<IndexedAttributesT>(value); }
50 template<
typename IndexedAttributesT = Aws::Vector<AttributeKeyAndValue>>
52 template<
typename IndexedAttributesT = AttributeKeyAndValue>
53 IndexAttachment&
AddIndexedAttributes(IndexedAttributesT&& value) { m_indexedAttributesHasBeenSet =
true; m_indexedAttributes.emplace_back(std::forward<IndexedAttributesT>(value));
return *
this; }
66 template<
typename ObjectIdentifierT = Aws::String>
67 void SetObjectIdentifier(ObjectIdentifierT&& value) { m_objectIdentifierHasBeenSet =
true; m_objectIdentifier = std::forward<ObjectIdentifierT>(value); }
68 template<
typename ObjectIdentifierT = Aws::String>
74 bool m_indexedAttributesHasBeenSet =
false;
77 bool m_objectIdentifierHasBeenSet =
false;
AWS_CLOUDDIRECTORY_API IndexAttachment()=default
const Aws::Vector< AttributeKeyAndValue > & GetIndexedAttributes() const
IndexAttachment & WithObjectIdentifier(ObjectIdentifierT &&value)
IndexAttachment & AddIndexedAttributes(IndexedAttributesT &&value)
bool ObjectIdentifierHasBeenSet() const
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
IndexAttachment & WithIndexedAttributes(IndexedAttributesT &&value)
AWS_CLOUDDIRECTORY_API IndexAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetObjectIdentifier(ObjectIdentifierT &&value)
AWS_CLOUDDIRECTORY_API IndexAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IndexedAttributesHasBeenSet() const
const Aws::String & GetObjectIdentifier() const
void SetIndexedAttributes(IndexedAttributesT &&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