7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
37 template <
typename PolicyNameT = Aws::String>
39 m_policyNameHasBeenSet =
true;
40 m_policyName = std::forward<PolicyNameT>(value);
42 template <
typename PolicyNameT = Aws::String>
55 template <
typename TargetT = Aws::String>
57 m_targetHasBeenSet =
true;
58 m_target = std::forward<TargetT>(value);
60 template <
typename TargetT = Aws::String>
68 bool m_policyNameHasBeenSet =
false;
71 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