7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/ObjectReference.h>
19namespace CloudDirectory {
42 template <
typename PolicyReferenceT = ObjectReference>
44 m_policyReferenceHasBeenSet =
true;
45 m_policyReference = std::forward<PolicyReferenceT>(value);
47 template <
typename PolicyReferenceT = ObjectReference>
61 template <
typename ObjectReferenceT = ObjectReference>
63 m_objectReferenceHasBeenSet =
true;
64 m_objectReference = std::forward<ObjectReferenceT>(value);
66 template <
typename ObjectReferenceT = ObjectReference>
76 bool m_policyReferenceHasBeenSet =
false;
77 bool m_objectReferenceHasBeenSet =
false;
AWS_CLOUDDIRECTORY_API BatchDetachPolicy(Aws::Utils::Json::JsonView jsonValue)
BatchDetachPolicy & WithObjectReference(ObjectReferenceT &&value)
bool PolicyReferenceHasBeenSet() const
const ObjectReference & GetPolicyReference() const
const ObjectReference & GetObjectReference() const
AWS_CLOUDDIRECTORY_API BatchDetachPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectReference(ObjectReferenceT &&value)
bool ObjectReferenceHasBeenSet() const
BatchDetachPolicy & WithPolicyReference(PolicyReferenceT &&value)
void SetPolicyReference(PolicyReferenceT &&value)
AWS_CLOUDDIRECTORY_API BatchDetachPolicy()=default
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue