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); }
80 bool m_directoryArnHasBeenSet =
false;
83 bool m_policyReferenceHasBeenSet =
false;
86 bool m_objectReferenceHasBeenSet =
false;
AttachPolicyRequest & WithDirectoryArn(const Aws::String &value)
AttachPolicyRequest & WithObjectReference(const ObjectReference &value)
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDirectoryArn(Aws::String &&value)
bool DirectoryArnHasBeenSet() const
void SetDirectoryArn(const Aws::String &value)
void SetObjectReference(const ObjectReference &value)
AttachPolicyRequest & WithDirectoryArn(const char *value)
virtual const char * GetServiceRequestName() const override
void SetPolicyReference(const ObjectReference &value)
const ObjectReference & GetObjectReference() const
AWS_CLOUDDIRECTORY_API AttachPolicyRequest()
void SetObjectReference(ObjectReference &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
bool PolicyReferenceHasBeenSet() const
const Aws::String & GetDirectoryArn() const
AttachPolicyRequest & WithPolicyReference(const ObjectReference &value)
const ObjectReference & GetPolicyReference() const
AttachPolicyRequest & WithPolicyReference(ObjectReference &&value)
AttachPolicyRequest & WithObjectReference(ObjectReference &&value)
bool ObjectReferenceHasBeenSet() const
void SetPolicyReference(ObjectReference &&value)
void SetDirectoryArn(const char *value)
AttachPolicyRequest & WithDirectoryArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String