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
48 inline void SetDirectoryArn(
const char* value) { m_directoryArnHasBeenSet =
true; m_directoryArn.assign(value); }
76 inline void SetIsUnique(
bool value) { m_isUniqueHasBeenSet =
true; m_isUnique = value; }
100 inline void SetLinkName(
const char* value) { m_linkNameHasBeenSet =
true; m_linkName.assign(value); }
108 bool m_directoryArnHasBeenSet =
false;
111 bool m_orderedIndexedAttributeListHasBeenSet =
false;
114 bool m_isUniqueHasBeenSet =
false;
117 bool m_parentReferenceHasBeenSet =
false;
120 bool m_linkNameHasBeenSet =
false;
CreateIndexRequest & WithOrderedIndexedAttributeList(const Aws::Vector< AttributeKey > &value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
bool IsUniqueHasBeenSet() const
void SetIsUnique(bool value)
AWS_CLOUDDIRECTORY_API CreateIndexRequest()
void SetDirectoryArn(Aws::String &&value)
CreateIndexRequest & WithOrderedIndexedAttributeList(Aws::Vector< AttributeKey > &&value)
void SetLinkName(const char *value)
const Aws::String & GetDirectoryArn() const
CreateIndexRequest & WithDirectoryArn(const char *value)
CreateIndexRequest & WithLinkName(const Aws::String &value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIndexRequest & WithLinkName(Aws::String &&value)
CreateIndexRequest & WithLinkName(const char *value)
CreateIndexRequest & AddOrderedIndexedAttributeList(AttributeKey &&value)
void SetLinkName(Aws::String &&value)
void SetLinkName(const Aws::String &value)
CreateIndexRequest & WithDirectoryArn(Aws::String &&value)
bool LinkNameHasBeenSet() const
const Aws::Vector< AttributeKey > & GetOrderedIndexedAttributeList() const
const ObjectReference & GetParentReference() const
const Aws::String & GetLinkName() const
void SetOrderedIndexedAttributeList(Aws::Vector< AttributeKey > &&value)
CreateIndexRequest & WithParentReference(const ObjectReference &value)
void SetOrderedIndexedAttributeList(const Aws::Vector< AttributeKey > &value)
bool OrderedIndexedAttributeListHasBeenSet() const
void SetParentReference(const ObjectReference &value)
virtual const char * GetServiceRequestName() const override
void SetDirectoryArn(const Aws::String &value)
CreateIndexRequest & WithParentReference(ObjectReference &&value)
CreateIndexRequest & WithIsUnique(bool value)
bool ParentReferenceHasBeenSet() const
bool DirectoryArnHasBeenSet() const
void SetParentReference(ObjectReference &&value)
CreateIndexRequest & AddOrderedIndexedAttributeList(const AttributeKey &value)
CreateIndexRequest & WithDirectoryArn(const Aws::String &value)
void SetDirectoryArn(const char *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