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;
AWS_ORGANIZATIONS_API AttachPolicyRequest()=default
const Aws::String & GetPolicyId() const
AttachPolicyRequest & WithTargetId(TargetIdT &&value)
const Aws::String & GetTargetId() const
AttachPolicyRequest & WithPolicyId(PolicyIdT &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetTargetId(TargetIdT &&value)
void SetPolicyId(PolicyIdT &&value)
bool PolicyIdHasBeenSet() const
bool TargetIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String