7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
60 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
68 bool m_policyNameHasBeenSet =
false;
71 bool m_targetHasBeenSet =
false;
const Aws::String & GetPolicyName() const
void SetTarget(Aws::String &&value)
void SetTarget(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
AttachPolicyRequest & WithPolicyName(const Aws::String &value)
AWS_IOT_API AttachPolicyRequest()
AttachPolicyRequest & WithTarget(const Aws::String &value)
AttachPolicyRequest & WithPolicyName(const char *value)
bool TargetHasBeenSet() const
void SetPolicyName(Aws::String &&value)
AttachPolicyRequest & WithTarget(Aws::String &&value)
const Aws::String & GetTarget() const
bool PolicyNameHasBeenSet() const
void SetPolicyName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AttachPolicyRequest & WithPolicyName(Aws::String &&value)
AttachPolicyRequest & WithTarget(const char *value)
void SetPolicyName(const char *value)
void SetTarget(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String