AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetThingGroupName(const Aws::String& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = value; }
42 inline void SetThingGroupName(Aws::String&& value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName = std::move(value); }
43 inline void SetThingGroupName(const char* value) { m_thingGroupNameHasBeenSet = true; m_thingGroupName.assign(value); }
45 inline RemoveThingFromThingGroupRequest& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;}
46 inline RemoveThingFromThingGroupRequest& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;}
48
50
53 inline const Aws::String& GetThingGroupArn() const{ return m_thingGroupArn; }
54 inline bool ThingGroupArnHasBeenSet() const { return m_thingGroupArnHasBeenSet; }
55 inline void SetThingGroupArn(const Aws::String& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = value; }
56 inline void SetThingGroupArn(Aws::String&& value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn = std::move(value); }
57 inline void SetThingGroupArn(const char* value) { m_thingGroupArnHasBeenSet = true; m_thingGroupArn.assign(value); }
59 inline RemoveThingFromThingGroupRequest& WithThingGroupArn(Aws::String&& value) { SetThingGroupArn(std::move(value)); return *this;}
60 inline RemoveThingFromThingGroupRequest& WithThingGroupArn(const char* value) { SetThingGroupArn(value); return *this;}
62
64
67 inline const Aws::String& GetThingName() const{ return m_thingName; }
68 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
69 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
70 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
71 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
72 inline RemoveThingFromThingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
73 inline RemoveThingFromThingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
74 inline RemoveThingFromThingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
76
78
81 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
82 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
83 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
84 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
85 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
86 inline RemoveThingFromThingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
87 inline RemoveThingFromThingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
88 inline RemoveThingFromThingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
90 private:
91
92 Aws::String m_thingGroupName;
93 bool m_thingGroupNameHasBeenSet = false;
94
95 Aws::String m_thingGroupArn;
96 bool m_thingGroupArnHasBeenSet = false;
97
98 Aws::String m_thingName;
99 bool m_thingNameHasBeenSet = false;
100
101 Aws::String m_thingArn;
102 bool m_thingArnHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoT
107} // namespace Aws
RemoveThingFromThingGroupRequest & WithThingGroupArn(const Aws::String &value)
RemoveThingFromThingGroupRequest & WithThingName(Aws::String &&value)
RemoveThingFromThingGroupRequest & WithThingArn(const char *value)
RemoveThingFromThingGroupRequest & WithThingGroupArn(const char *value)
RemoveThingFromThingGroupRequest & WithThingGroupName(const char *value)
RemoveThingFromThingGroupRequest & WithThingArn(Aws::String &&value)
RemoveThingFromThingGroupRequest & WithThingGroupName(Aws::String &&value)
RemoveThingFromThingGroupRequest & WithThingGroupName(const Aws::String &value)
RemoveThingFromThingGroupRequest & WithThingName(const Aws::String &value)
RemoveThingFromThingGroupRequest & WithThingName(const char *value)
RemoveThingFromThingGroupRequest & WithThingArn(const Aws::String &value)
RemoveThingFromThingGroupRequest & WithThingGroupArn(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String