7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
14namespace Organizations {
43 template <
typename PolicyIdT = Aws::String>
45 m_policyIdHasBeenSet =
true;
46 m_policyId = std::forward<PolicyIdT>(value);
48 template <
typename PolicyIdT = Aws::String>
71 template <
typename TargetIdT = Aws::String>
73 m_targetIdHasBeenSet =
true;
74 m_targetId = std::forward<TargetIdT>(value);
76 template <
typename TargetIdT = Aws::String>
86 bool m_policyIdHasBeenSet =
false;
87 bool m_targetIdHasBeenSet =
false;
const Aws::String & GetTargetId() const
void SetTargetId(TargetIdT &&value)
AWS_ORGANIZATIONS_API DetachPolicyRequest()=default
bool TargetIdHasBeenSet() const
DetachPolicyRequest & WithTargetId(TargetIdT &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyId() const
bool PolicyIdHasBeenSet() const
DetachPolicyRequest & WithPolicyId(PolicyIdT &&value)
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String