AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemoveThingFromBillingGroupRequest.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 RemoveThingFromBillingGroupRequest() = 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 "RemoveThingFromBillingGroup"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetBillingGroupName() const { return m_billingGroupName; }
40 inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
41 template<typename BillingGroupNameT = Aws::String>
42 void SetBillingGroupName(BillingGroupNameT&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::forward<BillingGroupNameT>(value); }
43 template<typename BillingGroupNameT = Aws::String>
44 RemoveThingFromBillingGroupRequest& WithBillingGroupName(BillingGroupNameT&& value) { SetBillingGroupName(std::forward<BillingGroupNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetBillingGroupArn() const { return m_billingGroupArn; }
52 inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
53 template<typename BillingGroupArnT = Aws::String>
54 void SetBillingGroupArn(BillingGroupArnT&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::forward<BillingGroupArnT>(value); }
55 template<typename BillingGroupArnT = Aws::String>
56 RemoveThingFromBillingGroupRequest& WithBillingGroupArn(BillingGroupArnT&& value) { SetBillingGroupArn(std::forward<BillingGroupArnT>(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 RemoveThingFromBillingGroupRequest& 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 RemoveThingFromBillingGroupRequest& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
82 private:
83
84 Aws::String m_billingGroupName;
85 bool m_billingGroupNameHasBeenSet = false;
86
87 Aws::String m_billingGroupArn;
88 bool m_billingGroupArnHasBeenSet = 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
RemoveThingFromBillingGroupRequest & WithThingArn(ThingArnT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
RemoveThingFromBillingGroupRequest & WithBillingGroupArn(BillingGroupArnT &&value)
RemoveThingFromBillingGroupRequest & WithThingName(ThingNameT &&value)
RemoveThingFromBillingGroupRequest & WithBillingGroupName(BillingGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String