7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/AttributeKey.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CloudDirectory {
46 template <
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
48 m_orderedIndexedAttributeListHasBeenSet =
true;
49 m_orderedIndexedAttributeList = std::forward<OrderedIndexedAttributeListT>(value);
51 template <
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
56 template <
typename OrderedIndexedAttributeListT = AttributeKey>
58 m_orderedIndexedAttributeListHasBeenSet =
true;
59 m_orderedIndexedAttributeList.emplace_back(std::forward<OrderedIndexedAttributeListT>(value));
72 m_isUniqueHasBeenSet =
true;
87 template <
typename ParentReferenceT = ObjectReference>
89 m_parentReferenceHasBeenSet =
true;
90 m_parentReference = std::forward<ParentReferenceT>(value);
92 template <
typename ParentReferenceT = ObjectReference>
105 template <
typename LinkNameT = Aws::String>
107 m_linkNameHasBeenSet =
true;
108 m_linkName = std::forward<LinkNameT>(value);
110 template <
typename LinkNameT = Aws::String>
125 template <
typename BatchReferenceNameT = Aws::String>
127 m_batchReferenceNameHasBeenSet =
true;
128 m_batchReferenceName = std::forward<BatchReferenceNameT>(value);
130 template <
typename BatchReferenceNameT = Aws::String>
139 bool m_isUnique{
false};
141 ObjectReference m_parentReference;
146 bool m_orderedIndexedAttributeListHasBeenSet =
false;
147 bool m_isUniqueHasBeenSet =
false;
148 bool m_parentReferenceHasBeenSet =
false;
149 bool m_linkNameHasBeenSet =
false;
150 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