7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetThingName(
const char* value) { m_thingNameHasBeenSet =
true; m_thingName.assign(value); }
64 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
72 bool m_thingNameHasBeenSet =
false;
75 bool m_principalHasBeenSet =
false;
void SetThingName(const Aws::String &value)
AttachThingPrincipalRequest & WithThingName(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetPrincipal(const char *value)
void SetThingName(const char *value)
AttachThingPrincipalRequest & WithPrincipal(const Aws::String &value)
bool PrincipalHasBeenSet() const
AttachThingPrincipalRequest & WithThingName(Aws::String &&value)
bool ThingNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetThingName(Aws::String &&value)
AttachThingPrincipalRequest & WithPrincipal(Aws::String &&value)
const Aws::String & GetPrincipal() const
void SetPrincipal(const Aws::String &value)
AWS_IOT_API AttachThingPrincipalRequest()
const Aws::String & GetThingName() const
AttachThingPrincipalRequest & WithPrincipal(const char *value)
AttachThingPrincipalRequest & WithThingName(const char *value)
AWS_IOT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPrincipal(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String