AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AddThingToBillingGroupRequest.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 AddThingToBillingGroupRequest() = 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 "AddThingToBillingGroup"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetBillingGroupName() const { return m_billingGroupName; }
41 inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
42 template<typename BillingGroupNameT = Aws::String>
43 void SetBillingGroupName(BillingGroupNameT&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::forward<BillingGroupNameT>(value); }
44 template<typename BillingGroupNameT = Aws::String>
45 AddThingToBillingGroupRequest& WithBillingGroupName(BillingGroupNameT&& value) { SetBillingGroupName(std::forward<BillingGroupNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetBillingGroupArn() const { return m_billingGroupArn; }
53 inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
54 template<typename BillingGroupArnT = Aws::String>
55 void SetBillingGroupArn(BillingGroupArnT&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::forward<BillingGroupArnT>(value); }
56 template<typename BillingGroupArnT = Aws::String>
57 AddThingToBillingGroupRequest& WithBillingGroupArn(BillingGroupArnT&& value) { SetBillingGroupArn(std::forward<BillingGroupArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetThingName() const { return m_thingName; }
65 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
66 template<typename ThingNameT = Aws::String>
67 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
68 template<typename ThingNameT = Aws::String>
69 AddThingToBillingGroupRequest& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetThingArn() const { return m_thingArn; }
77 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
78 template<typename ThingArnT = Aws::String>
79 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
80 template<typename ThingArnT = Aws::String>
81 AddThingToBillingGroupRequest& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
83 private:
84
85 Aws::String m_billingGroupName;
86 bool m_billingGroupNameHasBeenSet = false;
87
88 Aws::String m_billingGroupArn;
89 bool m_billingGroupArnHasBeenSet = false;
90
91 Aws::String m_thingName;
92 bool m_thingNameHasBeenSet = false;
93
94 Aws::String m_thingArn;
95 bool m_thingArnHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoT
100} // namespace Aws
AddThingToBillingGroupRequest & WithThingName(ThingNameT &&value)
AddThingToBillingGroupRequest & WithBillingGroupName(BillingGroupNameT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
AddThingToBillingGroupRequest & WithThingArn(ThingArnT &&value)
AddThingToBillingGroupRequest & WithBillingGroupArn(BillingGroupArnT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String