7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/CloudDirectoryRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/clouddirectory/model/ObjectReference.h>
12#include <aws/clouddirectory/model/AttributeKey.h>
17namespace CloudDirectory
46 template<
typename DirectoryArnT = Aws::String>
47 void SetDirectoryArn(DirectoryArnT&& value) { m_directoryArnHasBeenSet =
true; m_directoryArn = std::forward<DirectoryArnT>(value); }
48 template<
typename DirectoryArnT = Aws::String>
59 template<
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
60 void SetOrderedIndexedAttributeList(OrderedIndexedAttributeListT&& value) { m_orderedIndexedAttributeListHasBeenSet =
true; m_orderedIndexedAttributeList = std::forward<OrderedIndexedAttributeListT>(value); }
61 template<
typename OrderedIndexedAttributeListT = Aws::Vector<AttributeKey>>
63 template<
typename OrderedIndexedAttributeListT = AttributeKey>
64 CreateIndexRequest&
AddOrderedIndexedAttributeList(OrderedIndexedAttributeListT&& value) { m_orderedIndexedAttributeListHasBeenSet =
true; m_orderedIndexedAttributeList.emplace_back(std::forward<OrderedIndexedAttributeListT>(value));
return *
this; }
74 inline void SetIsUnique(
bool value) { m_isUniqueHasBeenSet =
true; m_isUnique = value; }
84 template<
typename ParentReferenceT = ObjectReference>
85 void SetParentReference(ParentReferenceT&& value) { m_parentReferenceHasBeenSet =
true; m_parentReference = std::forward<ParentReferenceT>(value); }
86 template<
typename ParentReferenceT = ObjectReference>
96 template<
typename LinkNameT = Aws::String>
97 void SetLinkName(LinkNameT&& value) { m_linkNameHasBeenSet =
true; m_linkName = std::forward<LinkNameT>(value); }
98 template<
typename LinkNameT = Aws::String>
104 bool m_directoryArnHasBeenSet =
false;
107 bool m_orderedIndexedAttributeListHasBeenSet =
false;
109 bool m_isUnique{
false};
110 bool m_isUniqueHasBeenSet =
false;
112 ObjectReference m_parentReference;
113 bool m_parentReferenceHasBeenSet =
false;
116 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