AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
46 template<typename ArnT = Aws::String>
47 UpdateBillingGroupRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
49
51
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateBillingGroupRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
68 inline BillingGroupStatus GetStatus() const { return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 inline void SetStatus(BillingGroupStatus value) { m_statusHasBeenSet = true; m_status = value; }
71 inline UpdateBillingGroupRequest& WithStatus(BillingGroupStatus value) { SetStatus(value); return *this;}
73
75
79 inline const ComputationPreference& GetComputationPreference() const { return m_computationPreference; }
80 inline bool ComputationPreferenceHasBeenSet() const { return m_computationPreferenceHasBeenSet; }
81 template<typename ComputationPreferenceT = ComputationPreference>
82 void SetComputationPreference(ComputationPreferenceT&& value) { m_computationPreferenceHasBeenSet = true; m_computationPreference = std::forward<ComputationPreferenceT>(value); }
83 template<typename ComputationPreferenceT = ComputationPreference>
84 UpdateBillingGroupRequest& WithComputationPreference(ComputationPreferenceT&& value) { SetComputationPreference(std::forward<ComputationPreferenceT>(value)); return *this;}
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 template<typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
95 template<typename DescriptionT = Aws::String>
96 UpdateBillingGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
98
100
104 inline const UpdateBillingGroupAccountGrouping& GetAccountGrouping() const { return m_accountGrouping; }
105 inline bool AccountGroupingHasBeenSet() const { return m_accountGroupingHasBeenSet; }
106 template<typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
107 void SetAccountGrouping(AccountGroupingT&& value) { m_accountGroupingHasBeenSet = true; m_accountGrouping = std::forward<AccountGroupingT>(value); }
108 template<typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
109 UpdateBillingGroupRequest& WithAccountGrouping(AccountGroupingT&& value) { SetAccountGrouping(std::forward<AccountGroupingT>(value)); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
120 bool m_statusHasBeenSet = false;
121
122 ComputationPreference m_computationPreference;
123 bool m_computationPreferenceHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 UpdateBillingGroupAccountGrouping m_accountGrouping;
129 bool m_accountGroupingHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace BillingConductor
134} // namespace Aws
UpdateBillingGroupRequest & WithAccountGrouping(AccountGroupingT &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupRequest()=default
UpdateBillingGroupRequest & WithDescription(DescriptionT &&value)
UpdateBillingGroupRequest & WithStatus(BillingGroupStatus value)
const UpdateBillingGroupAccountGrouping & GetAccountGrouping() const
AWS_BILLINGCONDUCTOR_API Aws::String SerializePayload() const override
UpdateBillingGroupRequest & WithComputationPreference(ComputationPreferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String