AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteThingShadowRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoTDataPlane
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_IOTDATAPLANE_API DeleteThingShadowRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "DeleteThingShadow"; }
38
39 AWS_IOTDATAPLANE_API Aws::String SerializePayload() const override;
40
41 AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetThingName() const{ return m_thingName; }
49 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
50 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
51 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
52 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
53 inline DeleteThingShadowRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
54 inline DeleteThingShadowRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
55 inline DeleteThingShadowRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
57
59
62 inline const Aws::String& GetShadowName() const{ return m_shadowName; }
63 inline bool ShadowNameHasBeenSet() const { return m_shadowNameHasBeenSet; }
64 inline void SetShadowName(const Aws::String& value) { m_shadowNameHasBeenSet = true; m_shadowName = value; }
65 inline void SetShadowName(Aws::String&& value) { m_shadowNameHasBeenSet = true; m_shadowName = std::move(value); }
66 inline void SetShadowName(const char* value) { m_shadowNameHasBeenSet = true; m_shadowName.assign(value); }
67 inline DeleteThingShadowRequest& WithShadowName(const Aws::String& value) { SetShadowName(value); return *this;}
68 inline DeleteThingShadowRequest& WithShadowName(Aws::String&& value) { SetShadowName(std::move(value)); return *this;}
69 inline DeleteThingShadowRequest& WithShadowName(const char* value) { SetShadowName(value); return *this;}
71 private:
72
73 Aws::String m_thingName;
74 bool m_thingNameHasBeenSet = false;
75
76 Aws::String m_shadowName;
77 bool m_shadowNameHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTDataPlane
82} // namespace Aws
DeleteThingShadowRequest & WithShadowName(const Aws::String &value)
AWS_IOTDATAPLANE_API Aws::String SerializePayload() const override
DeleteThingShadowRequest & WithThingName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteThingShadowRequest & WithShadowName(Aws::String &&value)
DeleteThingShadowRequest & WithThingName(const char *value)
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteThingShadowRequest & WithShadowName(const char *value)
DeleteThingShadowRequest & WithThingName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String