7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/clouddirectory/model/AttributeKey.h>
24namespace CloudDirectory
52 template<
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
53 void SetOrderedIndexedAttributeList(OrderedIndexedAttributeListT&& value) { m_orderedIndexedAttributeListHasBeenSet =
true; m_orderedIndexedAttributeList = std::forward<OrderedIndexedAttributeListT>(value); }
54 template<
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
56 template<
typename OrderedIndexedAttributeListT = AttributeKey>
57 BatchCreateIndex&
AddOrderedIndexedAttributeList(OrderedIndexedAttributeListT&& value) { m_orderedIndexedAttributeListHasBeenSet =
true; m_orderedIndexedAttributeList.emplace_back(std::forward<OrderedIndexedAttributeListT>(value));
return *
this; }
67 inline void SetIsUnique(
bool value) { m_isUniqueHasBeenSet =
true; m_isUnique = value; }
77 template<
typename ParentReferenceT = ObjectReference>
78 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
79 template<
typename ParentReferenceT = ObjectReference>
89 template<
typename LinkNameT = Aws::String>
90 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
91 template<
typename LinkNameT = Aws::String>
103 template<
typename BatchReferenceNameT = Aws::String>
104 void SetBatchReferenceName(BatchReferenceNameT&& value) { m_batchReferenceNameHasBeenSet =
true; m_batchReferenceName = std::forward<BatchReferenceNameT>(value); }
105 template<
typename BatchReferenceNameT = Aws::String>
111 bool m_orderedIndexedAttributeListHasBeenSet =
false;
113 bool m_isUnique{
false};
114 bool m_isUniqueHasBeenSet =
false;
116 ObjectReference m_parentReference;
117 bool m_parentReferenceHasBeenSet =
false;
120 bool m_linkNameHasBeenSet =
false;
123 bool m_batchReferenceNameHasBeenSet =
false;
BatchCreateIndex & WithBatchReferenceName(BatchReferenceNameT &&value)
const Aws::String & GetLinkName() const
void SetIsUnique(bool value)
void SetParentReference(ParentReferenceT &&value)
void SetOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
BatchCreateIndex & AddOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
bool BatchReferenceNameHasBeenSet() const
bool ParentReferenceHasBeenSet() const
BatchCreateIndex & WithIsUnique(bool value)
BatchCreateIndex & WithLinkName(LinkNameT &&value)
const Aws::String & GetBatchReferenceName() const
AWS_CLOUDDIRECTORY_API BatchCreateIndex()=default
const ObjectReference & GetParentReference() const
BatchCreateIndex & WithOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
AWS_CLOUDDIRECTORY_API BatchCreateIndex(Aws::Utils::Json::JsonView jsonValue)
bool IsUniqueHasBeenSet() const
AWS_CLOUDDIRECTORY_API BatchCreateIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AttributeKey > & GetOrderedIndexedAttributeList() const
void SetBatchReferenceName(BatchReferenceNameT &&value)
BatchCreateIndex & WithParentReference(ParentReferenceT &&value)
bool LinkNameHasBeenSet() const
bool OrderedIndexedAttributeListHasBeenSet() const
void SetLinkName(LinkNameT &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue