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/clouddirectory/model/ObjectReference.h>
15namespace CloudDirectory
47 inline void SetDirectoryArn(
const char* value) { m_directoryArnHasBeenSet =
true; m_directoryArn.assign(value); }
79 bool m_directoryArnHasBeenSet =
false;
82 bool m_indexReferenceHasBeenSet =
false;
85 bool m_targetReferenceHasBeenSet =
false;
AttachToIndexRequest & WithTargetReference(const ObjectReference &value)
AttachToIndexRequest & WithIndexReference(ObjectReference &&value)
void SetDirectoryArn(Aws::String &&value)
AttachToIndexRequest & WithDirectoryArn(const Aws::String &value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
AttachToIndexRequest & WithTargetReference(ObjectReference &&value)
bool TargetReferenceHasBeenSet() const
AttachToIndexRequest & WithDirectoryArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTargetReference(ObjectReference &&value)
const ObjectReference & GetTargetReference() const
bool DirectoryArnHasBeenSet() const
void SetDirectoryArn(const Aws::String &value)
void SetTargetReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool IndexReferenceHasBeenSet() const
AttachToIndexRequest & WithDirectoryArn(const char *value)
void SetIndexReference(ObjectReference &&value)
void SetDirectoryArn(const char *value)
AttachToIndexRequest & WithIndexReference(const ObjectReference &value)
void SetIndexReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API AttachToIndexRequest()
const Aws::String & GetDirectoryArn() const
const ObjectReference & GetIndexReference() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String