7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ThingNameT = Aws::String>
48 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
49 template<
typename ThingNameT = Aws::String>
61 template<
typename PrincipalT = Aws::String>
62 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
63 template<
typename PrincipalT = Aws::String>
69 bool m_thingNameHasBeenSet =
false;
72 bool m_principalHasBeenSet =
false;
bool ThingNameHasBeenSet() const
AWS_IOT_API Aws::String SerializePayload() const override
DetachThingPrincipalRequest & WithThingName(ThingNameT &&value)
const Aws::String & GetThingName() const
void SetThingName(ThingNameT &&value)
const Aws::String & GetPrincipal() const
void SetPrincipal(PrincipalT &&value)
AWS_IOT_API DetachThingPrincipalRequest()=default
virtual const char * GetServiceRequestName() const override
bool PrincipalHasBeenSet() const
AWS_IOT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DetachThingPrincipalRequest & WithPrincipal(PrincipalT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String