7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace Organizations
49 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
73 inline void SetTargetId(
const char* value) { m_targetIdHasBeenSet =
true; m_targetId.assign(value); }
81 bool m_policyIdHasBeenSet =
false;
84 bool m_targetIdHasBeenSet =
false;
AttachPolicyRequest & WithTargetId(const Aws::String &value)
const Aws::String & GetPolicyId() const
const Aws::String & GetTargetId() const
AttachPolicyRequest & WithPolicyId(Aws::String &&value)
AttachPolicyRequest & WithTargetId(const char *value)
AttachPolicyRequest & WithPolicyId(const char *value)
void SetTargetId(const char *value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AttachPolicyRequest & WithTargetId(Aws::String &&value)
void SetPolicyId(Aws::String &&value)
void SetTargetId(const Aws::String &value)
AWS_ORGANIZATIONS_API AttachPolicyRequest()
void SetTargetId(Aws::String &&value)
void SetPolicyId(const char *value)
bool PolicyIdHasBeenSet() const
void SetPolicyId(const Aws::String &value)
AttachPolicyRequest & WithPolicyId(const Aws::String &value)
bool TargetIdHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String