7#include <aws/clouddirectory/CloudDirectoryRequest.h>
8#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
9#include <aws/clouddirectory/model/ObjectReference.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CloudDirectory {
41 template <
typename DirectoryArnT = Aws::String>
43 m_directoryArnHasBeenSet =
true;
44 m_directoryArn = std::forward<DirectoryArnT>(value);
46 template <
typename DirectoryArnT = Aws::String>
59 template <
typename PolicyReferenceT = ObjectReference>
61 m_policyReferenceHasBeenSet =
true;
62 m_policyReference = std::forward<PolicyReferenceT>(value);
64 template <
typename PolicyReferenceT = ObjectReference>
78 template <
typename ObjectReferenceT = ObjectReference>
80 m_objectReferenceHasBeenSet =
true;
81 m_objectReference = std::forward<ObjectReferenceT>(value);
83 template <
typename ObjectReferenceT = ObjectReference>
95 bool m_directoryArnHasBeenSet =
false;
96 bool m_policyReferenceHasBeenSet =
false;
97 bool m_objectReferenceHasBeenSet =
false;
const ObjectReference & GetPolicyReference() const
AWS_CLOUDDIRECTORY_API DetachPolicyRequest()=default
AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool DirectoryArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDirectoryArn(DirectoryArnT &&value)
void SetObjectReference(ObjectReferenceT &&value)
bool ObjectReferenceHasBeenSet() const
void SetPolicyReference(PolicyReferenceT &&value)
const ObjectReference & GetObjectReference() const
bool PolicyReferenceHasBeenSet() const
const Aws::String & GetDirectoryArn() const
DetachPolicyRequest & WithObjectReference(ObjectReferenceT &&value)
DetachPolicyRequest & WithPolicyReference(PolicyReferenceT &&value)
DetachPolicyRequest & WithDirectoryArn(DirectoryArnT &&value)
AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String