7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKeyAndValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace CloudDirectory {
42 template <
typename IndexedAttributesT = Aws::Vector<AttributeKeyAndValue>>
44 m_indexedAttributesHasBeenSet =
true;
45 m_indexedAttributes = std::forward<IndexedAttributesT>(value);
47 template <
typename IndexedAttributesT = Aws::Vector<AttributeKeyAndValue>>
52 template <
typename IndexedAttributesT = AttributeKeyAndValue>
54 m_indexedAttributesHasBeenSet =
true;
55 m_indexedAttributes.emplace_back(std::forward<IndexedAttributesT>(value));
70 template <
typename ObjectIdentifierT = Aws::String>
72 m_objectIdentifierHasBeenSet =
true;
73 m_objectIdentifier = std::forward<ObjectIdentifierT>(value);
75 template <
typename ObjectIdentifierT = Aws::String>
85 bool m_indexedAttributesHasBeenSet =
false;
86 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