AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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