AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
50 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
51 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
52 inline UpdateThingShadowRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
53 inline UpdateThingShadowRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
54 inline UpdateThingShadowRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
56
58
61 inline const Aws::String& GetShadowName() const{ return m_shadowName; }
62 inline bool ShadowNameHasBeenSet() const { return m_shadowNameHasBeenSet; }
63 inline void SetShadowName(const Aws::String& value) { m_shadowNameHasBeenSet = true; m_shadowName = value; }
64 inline void SetShadowName(Aws::String&& value) { m_shadowNameHasBeenSet = true; m_shadowName = std::move(value); }
65 inline void SetShadowName(const char* value) { m_shadowNameHasBeenSet = true; m_shadowName.assign(value); }
66 inline UpdateThingShadowRequest& WithShadowName(const Aws::String& value) { SetShadowName(value); return *this;}
67 inline UpdateThingShadowRequest& WithShadowName(Aws::String&& value) { SetShadowName(std::move(value)); return *this;}
68 inline UpdateThingShadowRequest& WithShadowName(const char* value) { SetShadowName(value); return *this;}
70 private:
71
72 Aws::String m_thingName;
73 bool m_thingNameHasBeenSet = false;
74
75 Aws::String m_shadowName;
76 bool m_shadowNameHasBeenSet = false;
77
78 };
79
80} // namespace Model
81} // namespace IoTDataPlane
82} // namespace Aws
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateThingShadowRequest & WithThingName(const char *value)
UpdateThingShadowRequest & WithShadowName(Aws::String &&value)
UpdateThingShadowRequest & WithShadowName(const char *value)
UpdateThingShadowRequest & WithShadowName(const Aws::String &value)
UpdateThingShadowRequest & WithThingName(Aws::String &&value)
UpdateThingShadowRequest & WithThingName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String