7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ThingPrincipalType.h>
54 template<
typename ThingNameT = Aws::String>
55 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet =
true; m_thingName = std::forward<ThingNameT>(value); }
56 template<
typename ThingNameT = Aws::String>
67 template<
typename PrincipalT = Aws::String>
68 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
69 template<
typename PrincipalT = Aws::String>
91 bool m_thingNameHasBeenSet =
false;
94 bool m_principalHasBeenSet =
false;
97 bool m_thingPrincipalTypeHasBeenSet =
false;
AWS_IOT_API Aws::String SerializePayload() const override
AttachThingPrincipalRequest & WithThingPrincipalType(ThingPrincipalType value)
AttachThingPrincipalRequest & WithPrincipal(PrincipalT &&value)
bool PrincipalHasBeenSet() const
void SetThingPrincipalType(ThingPrincipalType value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AttachThingPrincipalRequest & WithThingName(ThingNameT &&value)
bool ThingPrincipalTypeHasBeenSet() const
void SetThingName(ThingNameT &&value)
bool ThingNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetPrincipal(PrincipalT &&value)
const Aws::String & GetPrincipal() const
const Aws::String & GetThingName() const
ThingPrincipalType GetThingPrincipalType() const
AWS_IOT_API AttachThingPrincipalRequest()=default
AWS_IOT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String