7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template<
typename PolicyNameT = Aws::String>
42 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
43 template<
typename PolicyNameT = Aws::String>
53 template<
typename TargetT = Aws::String>
54 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
55 template<
typename TargetT = Aws::String>
61 bool m_policyNameHasBeenSet =
false;
64 bool m_targetHasBeenSet =
false;
bool TargetHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::String & GetPolicyName() const
AWS_IOT_API DetachPolicyRequest()=default
void SetTarget(TargetT &&value)
void SetPolicyName(PolicyNameT &&value)
bool PolicyNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTarget() const
DetachPolicyRequest & WithTarget(TargetT &&value)
DetachPolicyRequest & WithPolicyName(PolicyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String