AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemoveThingFromThingGroupRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoT
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOT_API RemoveThingFromThingGroupRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RemoveThingFromThingGroup"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetThingGroupName() const { return m_thingGroupName; }
40 inline bool ThingGroupNameHasBeenSet() const { return m_thingGroupNameHasBeenSet; }
41 template<typename ThingGroupNameT = Aws::String>
42 void SetThingGroupName(ThingGroupNameT&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::forward<ThingGroupNameT>(value); }
43 template<typename ThingGroupNameT = Aws::String>
44 RemoveThingFromThingGroupRequest& WithThingGroupName(ThingGroupNameT&& value) { SetThingGroupName(std::forward<ThingGroupNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetThingGroupArn() const { return m_thingGroupArn; }
52 inline bool ThingGroupArnHasBeenSet() const { return m_thingGroupArnHasBeenSet; }
53 template<typename ThingGroupArnT = Aws::String>
54 void SetThingGroupArn(ThingGroupArnT&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::forward<ThingGroupArnT>(value); }
55 template<typename ThingGroupArnT = Aws::String>
56 RemoveThingFromThingGroupRequest& WithThingGroupArn(ThingGroupArnT&& value) { SetThingGroupArn(std::forward<ThingGroupArnT>(value)); return *this;}
58
60
63 inline const Aws::String& GetThingName() const { return m_thingName; }
64 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
65 template<typename ThingNameT = Aws::String>
66 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
67 template<typename ThingNameT = Aws::String>
68 RemoveThingFromThingGroupRequest& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetThingArn() const { return m_thingArn; }
76 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
77 template<typename ThingArnT = Aws::String>
78 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
79 template<typename ThingArnT = Aws::String>
80 RemoveThingFromThingGroupRequest& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
82 private:
83
84 Aws::String m_thingGroupName;
85 bool m_thingGroupNameHasBeenSet = false;
86
87 Aws::String m_thingGroupArn;
88 bool m_thingGroupArnHasBeenSet = false;
89
90 Aws::String m_thingName;
91 bool m_thingNameHasBeenSet = false;
92
93 Aws::String m_thingArn;
94 bool m_thingArnHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace IoT
99} // namespace Aws
RemoveThingFromThingGroupRequest & WithThingArn(ThingArnT &&value)
RemoveThingFromThingGroupRequest & WithThingGroupArn(ThingGroupArnT &&value)
RemoveThingFromThingGroupRequest & WithThingGroupName(ThingGroupNameT &&value)
RemoveThingFromThingGroupRequest & WithThingName(ThingNameT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String