7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/AttributeKey.h>
10#include <aws/clouddirectory/model/ObjectReference.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace CloudDirectory {
42 template <
typename DirectoryArnT = Aws::String>
44 m_directoryArnHasBeenSet =
true;
45 m_directoryArn = std::forward<DirectoryArnT>(value);
47 template <
typename DirectoryArnT = Aws::String>
61 template <
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
63 m_orderedIndexedAttributeListHasBeenSet =
true;
64 m_orderedIndexedAttributeList = std::forward<OrderedIndexedAttributeListT>(value);
66 template <
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
71 template <
typename OrderedIndexedAttributeListT = AttributeKey>
73 m_orderedIndexedAttributeListHasBeenSet =
true;
74 m_orderedIndexedAttributeList.emplace_back(std::forward<OrderedIndexedAttributeListT>(value));
87 m_isUniqueHasBeenSet =
true;
102 template <
typename ParentReferenceT = ObjectReference>
104 m_parentReferenceHasBeenSet =
true;
105 m_parentReference = std::forward<ParentReferenceT>(value);
107 template <
typename ParentReferenceT = ObjectReference>
120 template <
typename LinkNameT = Aws::String>
122 m_linkNameHasBeenSet =
true;
123 m_linkName = std::forward<LinkNameT>(value);
125 template <
typename LinkNameT = Aws::String>
136 bool m_isUnique{
false};
138 ObjectReference m_parentReference;
141 bool m_directoryArnHasBeenSet =
false;
142 bool m_orderedIndexedAttributeListHasBeenSet =
false;
143 bool m_isUniqueHasBeenSet =
false;
144 bool m_parentReferenceHasBeenSet =
false;
145 bool m_linkNameHasBeenSet =
false;
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
bool IsUniqueHasBeenSet() const
AWS_CLOUDDIRECTORY_API CreateIndexRequest()=default
void SetIsUnique(bool value)
CreateIndexRequest & WithOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
const Aws::String & GetDirectoryArn() const
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIndexRequest & WithParentReference(ParentReferenceT &&value)
bool LinkNameHasBeenSet() const
const Aws::Vector< AttributeKey > & GetOrderedIndexedAttributeList() const
const ObjectReference & GetParentReference() const
CreateIndexRequest & WithDirectoryArn(DirectoryArnT &&value)
CreateIndexRequest & AddOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
void SetLinkName(LinkNameT &&value)
const Aws::String & GetLinkName() const
bool OrderedIndexedAttributeListHasBeenSet() const
void SetDirectoryArn(DirectoryArnT &&value)
virtual const char * GetServiceRequestName() const override
CreateIndexRequest & WithIsUnique(bool value)
bool ParentReferenceHasBeenSet() const
void SetParentReference(ParentReferenceT &&value)
bool DirectoryArnHasBeenSet() const
CreateIndexRequest & WithLinkName(LinkNameT &&value)
void SetOrderedIndexedAttributeList(OrderedIndexedAttributeListT &&value)
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