AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateThingShadowRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-data/IoTDataPlaneRequest.h>
10#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace IoTDataPlane {
19namespace Model {
20
27 public:
28 AWS_IOTDATAPLANE_API UpdateThingShadowRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateThingShadow"; }
35
36 AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
37
39
42 inline const Aws::String& GetThingName() const { return m_thingName; }
43 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
44 template <typename ThingNameT = Aws::String>
45 void SetThingName(ThingNameT&& value) {
46 m_thingNameHasBeenSet = true;
47 m_thingName = std::forward<ThingNameT>(value);
48 }
49 template <typename ThingNameT = Aws::String>
51 SetThingName(std::forward<ThingNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetShadowName() const { return m_shadowName; }
61 inline bool ShadowNameHasBeenSet() const { return m_shadowNameHasBeenSet; }
62 template <typename ShadowNameT = Aws::String>
63 void SetShadowName(ShadowNameT&& value) {
64 m_shadowNameHasBeenSet = true;
65 m_shadowName = std::forward<ShadowNameT>(value);
66 }
67 template <typename ShadowNameT = Aws::String>
69 SetShadowName(std::forward<ShadowNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_thingName;
75
76 Aws::String m_shadowName;
77
78 bool m_thingNameHasBeenSet = false;
79 bool m_shadowNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace IoTDataPlane
84} // namespace Aws
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_IOTDATAPLANE_API UpdateThingShadowRequest()=default
UpdateThingShadowRequest & WithThingName(ThingNameT &&value)
UpdateThingShadowRequest & WithShadowName(ShadowNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String