AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBillingGroupRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/iot/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoT
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateBillingGroup"; }
34
35 AWS_IOT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
43 inline bool BillingGroupNameHasBeenSet() const { return m_billingGroupNameHasBeenSet; }
44 inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = value; }
45 inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName = std::move(value); }
46 inline void SetBillingGroupName(const char* value) { m_billingGroupNameHasBeenSet = true; m_billingGroupName.assign(value); }
48 inline CreateBillingGroupRequest& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
49 inline CreateBillingGroupRequest& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
51
53
56 inline const BillingGroupProperties& GetBillingGroupProperties() const{ return m_billingGroupProperties; }
57 inline bool BillingGroupPropertiesHasBeenSet() const { return m_billingGroupPropertiesHasBeenSet; }
58 inline void SetBillingGroupProperties(const BillingGroupProperties& value) { m_billingGroupPropertiesHasBeenSet = true; m_billingGroupProperties = value; }
59 inline void SetBillingGroupProperties(BillingGroupProperties&& value) { m_billingGroupPropertiesHasBeenSet = true; m_billingGroupProperties = std::move(value); }
63
65
68 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
69 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
70 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
71 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
72 inline CreateBillingGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
73 inline CreateBillingGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
74 inline CreateBillingGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
75 inline CreateBillingGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
77 private:
78
79 Aws::String m_billingGroupName;
80 bool m_billingGroupNameHasBeenSet = false;
81
82 BillingGroupProperties m_billingGroupProperties;
83 bool m_billingGroupPropertiesHasBeenSet = false;
84
85 Aws::Vector<Tag> m_tags;
86 bool m_tagsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoT
91} // namespace Aws
void SetBillingGroupProperties(const BillingGroupProperties &value)
CreateBillingGroupRequest & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
const BillingGroupProperties & GetBillingGroupProperties() const
virtual const char * GetServiceRequestName() const override
CreateBillingGroupRequest & WithBillingGroupProperties(BillingGroupProperties &&value)
CreateBillingGroupRequest & AddTags(const Tag &value)
CreateBillingGroupRequest & AddTags(Tag &&value)
CreateBillingGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateBillingGroupRequest & WithBillingGroupName(Aws::String &&value)
CreateBillingGroupRequest & WithBillingGroupProperties(const BillingGroupProperties &value)
CreateBillingGroupRequest & WithBillingGroupName(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetBillingGroupProperties(BillingGroupProperties &&value)
CreateBillingGroupRequest & WithBillingGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector