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/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/BillingConductorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/billingconductor/model/BillingGroupStatus.h>
11#include <aws/billingconductor/model/ComputationPreference.h>
12#include <aws/billingconductor/model/UpdateBillingGroupAccountGrouping.h>
13#include <utility>
14
15namespace Aws
16{
17namespace BillingConductor
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BILLINGCONDUCTOR_API UpdateBillingGroupRequest();
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 "UpdateBillingGroup"; }
34
35 AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetArn() const{ return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
47 inline UpdateBillingGroupRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline UpdateBillingGroupRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline UpdateBillingGroupRequest& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateBillingGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateBillingGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateBillingGroupRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
72 inline const BillingGroupStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const BillingGroupStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(BillingGroupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline UpdateBillingGroupRequest& WithStatus(const BillingGroupStatus& value) { SetStatus(value); return *this;}
77 inline UpdateBillingGroupRequest& WithStatus(BillingGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
79
81
85 inline const ComputationPreference& GetComputationPreference() const{ return m_computationPreference; }
86 inline bool ComputationPreferenceHasBeenSet() const { return m_computationPreferenceHasBeenSet; }
87 inline void SetComputationPreference(const ComputationPreference& value) { m_computationPreferenceHasBeenSet = true; m_computationPreference = value; }
88 inline void SetComputationPreference(ComputationPreference&& value) { m_computationPreferenceHasBeenSet = true; m_computationPreference = std::move(value); }
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
102 inline UpdateBillingGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline UpdateBillingGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline UpdateBillingGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
106
108
112 inline const UpdateBillingGroupAccountGrouping& GetAccountGrouping() const{ return m_accountGrouping; }
113 inline bool AccountGroupingHasBeenSet() const { return m_accountGroupingHasBeenSet; }
114 inline void SetAccountGrouping(const UpdateBillingGroupAccountGrouping& value) { m_accountGroupingHasBeenSet = true; m_accountGrouping = value; }
115 inline void SetAccountGrouping(UpdateBillingGroupAccountGrouping&& value) { m_accountGroupingHasBeenSet = true; m_accountGrouping = std::move(value); }
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 BillingGroupStatus m_status;
128 bool m_statusHasBeenSet = false;
129
130 ComputationPreference m_computationPreference;
131 bool m_computationPreferenceHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 UpdateBillingGroupAccountGrouping m_accountGrouping;
137 bool m_accountGroupingHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace BillingConductor
142} // namespace Aws
UpdateBillingGroupRequest & WithArn(Aws::String &&value)
UpdateBillingGroupRequest & WithDescription(Aws::String &&value)
UpdateBillingGroupRequest & WithName(const Aws::String &value)
UpdateBillingGroupRequest & WithComputationPreference(ComputationPreference &&value)
void SetComputationPreference(const ComputationPreference &value)
UpdateBillingGroupRequest & WithArn(const char *value)
UpdateBillingGroupRequest & WithName(Aws::String &&value)
UpdateBillingGroupRequest & WithStatus(BillingGroupStatus &&value)
UpdateBillingGroupRequest & WithAccountGrouping(const UpdateBillingGroupAccountGrouping &value)
UpdateBillingGroupRequest & WithDescription(const Aws::String &value)
UpdateBillingGroupRequest & WithAccountGrouping(UpdateBillingGroupAccountGrouping &&value)
const UpdateBillingGroupAccountGrouping & GetAccountGrouping() const
void SetAccountGrouping(const UpdateBillingGroupAccountGrouping &value)
UpdateBillingGroupRequest & WithComputationPreference(const ComputationPreference &value)
UpdateBillingGroupRequest & WithName(const char *value)
UpdateBillingGroupRequest & WithStatus(const BillingGroupStatus &value)
UpdateBillingGroupRequest & WithDescription(const char *value)
void SetAccountGrouping(UpdateBillingGroupAccountGrouping &&value)
UpdateBillingGroupRequest & WithArn(const Aws::String &value)
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String