AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
43 inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
44 inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
46 inline AddThingToBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
47 inline AddThingToBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
49
51
54 inline const Aws::String& GetBillingGroupArn() const{ return m_billingGroupArn; }
55 inline bool BillingGroupArnHasBeenSet() const { return m_billingGroupArnHasBeenSet; }
56 inline void SetBillingGroupArn(const Aws::String& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = value; }
57 inline void SetBillingGroupArn(Aws::String&& value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn = std::move(value); }
58 inline void SetBillingGroupArn(const char* value) { m_billingGroupArnHasBeenSet = true; m_billingGroupArn.assign(value); }
60 inline AddThingToBillingGroupRequest& WithBillingGroupArn(Aws::String&& value) { SetBillingGroupArn(std::move(value)); return *this;}
61 inline AddThingToBillingGroupRequest& WithBillingGroupArn(const char* value) { SetBillingGroupArn(value); return *this;}
63
65
68 inline const Aws::String& GetThingName() const{ return m_thingName; }
69 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
70 inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
71 inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
72 inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
73 inline AddThingToBillingGroupRequest& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
74 inline AddThingToBillingGroupRequest& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
75 inline AddThingToBillingGroupRequest& WithThingName(const char* value) { SetThingName(value); return *this;}
77
79
82 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
83 inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; }
84 inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; }
85 inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); }
86 inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); }
87 inline AddThingToBillingGroupRequest& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
88 inline AddThingToBillingGroupRequest& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
89 inline AddThingToBillingGroupRequest& WithThingArn(const char* value) { SetThingArn(value); return *this;}
91 private:
92
93 Aws::String m_billingGroupName;
94 bool m_billingGroupNameHasBeenSet = false;
95
96 Aws::String m_billingGroupArn;
97 bool m_billingGroupArnHasBeenSet = false;
98
99 Aws::String m_thingName;
100 bool m_thingNameHasBeenSet = false;
101
102 Aws::String m_thingArn;
103 bool m_thingArnHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoT
108} // namespace Aws
AddThingToBillingGroupRequest & WithThingArn(Aws::String &&value)
AddThingToBillingGroupRequest & WithThingName(Aws::String &&value)
AddThingToBillingGroupRequest & WithBillingGroupArn(const char *value)
AddThingToBillingGroupRequest & WithBillingGroupName(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
AddThingToBillingGroupRequest & WithBillingGroupArn(Aws::String &&value)
AddThingToBillingGroupRequest & WithThingArn(const Aws::String &value)
AddThingToBillingGroupRequest & WithThingArn(const char *value)
AddThingToBillingGroupRequest & WithBillingGroupArn(const Aws::String &value)
AddThingToBillingGroupRequest & WithThingName(const char *value)
AddThingToBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
AddThingToBillingGroupRequest & WithThingName(const Aws::String &value)
AddThingToBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String