AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBillingGroupRequest.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 <aws/iot/model/BillingGroupProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateBillingGroup"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
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 UpdateBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
47 inline UpdateBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
49
51
54 inline const BillingGroupProperties& GetBillingGroupProperties() const{ return m_billingGroupProperties; }
55 inline bool BillingGroupPropertiesHasBeenSet() const { return m_billingGroupPropertiesHasBeenSet; }
56 inline void SetBillingGroupProperties(const BillingGroupProperties& value) { m_billingGroupPropertiesHasBeenSet = true; m_billingGroupProperties = value; }
57 inline void SetBillingGroupProperties(BillingGroupProperties&& value) { m_billingGroupPropertiesHasBeenSet = true; m_billingGroupProperties = std::move(value); }
61
63
69 inline long long GetExpectedVersion() const{ return m_expectedVersion; }
70 inline bool ExpectedVersionHasBeenSet() const { return m_expectedVersionHasBeenSet; }
71 inline void SetExpectedVersion(long long value) { m_expectedVersionHasBeenSet = true; m_expectedVersion = value; }
72 inline UpdateBillingGroupRequest& WithExpectedVersion(long long value) { SetExpectedVersion(value); return *this;}
74 private:
75
76 Aws::String m_billingGroupName;
77 bool m_billingGroupNameHasBeenSet = false;
78
79 BillingGroupProperties m_billingGroupProperties;
80 bool m_billingGroupPropertiesHasBeenSet = false;
81
82 long long m_expectedVersion;
83 bool m_expectedVersionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IoT
88} // namespace Aws
UpdateBillingGroupRequest & WithBillingGroupProperties(BillingGroupProperties &&value)
UpdateBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
void SetBillingGroupProperties(BillingGroupProperties &&value)
virtual const char * GetServiceRequestName() const override
void SetBillingGroupProperties(const BillingGroupProperties &value)
UpdateBillingGroupRequest & WithBillingGroupProperties(const BillingGroupProperties &value)
UpdateBillingGroupRequest & WithExpectedVersion(long long value)
const BillingGroupProperties & GetBillingGroupProperties() const
UpdateBillingGroupRequest & WithBillingGroupName(const char *value)
UpdateBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String