AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
UpdateBillingGroupResult.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/BillingGroupStatus.h>
9#include <aws/billingconductor/model/UpdateBillingGroupAccountGrouping.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BillingConductor {
25namespace Model {
27 public:
28 AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetName() const { return m_name; }
55 template <typename NameT = Aws::String>
56 void SetName(NameT&& value) {
57 m_nameHasBeenSet = true;
58 m_name = std::forward<NameT>(value);
59 }
60 template <typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template <typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) {
74 m_descriptionHasBeenSet = true;
75 m_description = std::forward<DescriptionT>(value);
76 }
77 template <typename DescriptionT = Aws::String>
79 SetDescription(std::forward<DescriptionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetPrimaryAccountId() const { return m_primaryAccountId; }
89 template <typename PrimaryAccountIdT = Aws::String>
90 void SetPrimaryAccountId(PrimaryAccountIdT&& value) {
91 m_primaryAccountIdHasBeenSet = true;
92 m_primaryAccountId = std::forward<PrimaryAccountIdT>(value);
93 }
94 template <typename PrimaryAccountIdT = Aws::String>
95 UpdateBillingGroupResult& WithPrimaryAccountId(PrimaryAccountIdT&& value) {
96 SetPrimaryAccountId(std::forward<PrimaryAccountIdT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::String& GetPricingPlanArn() const { return m_pricingPlanArn; }
107 template <typename PricingPlanArnT = Aws::String>
108 void SetPricingPlanArn(PricingPlanArnT&& value) {
109 m_pricingPlanArnHasBeenSet = true;
110 m_pricingPlanArn = std::forward<PricingPlanArnT>(value);
111 }
112 template <typename PricingPlanArnT = Aws::String>
114 SetPricingPlanArn(std::forward<PricingPlanArnT>(value));
115 return *this;
116 }
118
120
123 inline long long GetSize() const { return m_size; }
124 inline void SetSize(long long value) {
125 m_sizeHasBeenSet = true;
126 m_size = value;
127 }
128 inline UpdateBillingGroupResult& WithSize(long long value) {
129 SetSize(value);
130 return *this;
131 }
133
135
138 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
139 inline void SetLastModifiedTime(long long value) {
140 m_lastModifiedTimeHasBeenSet = true;
141 m_lastModifiedTime = value;
142 }
144 SetLastModifiedTime(value);
145 return *this;
146 }
148
150
154 inline BillingGroupStatus GetStatus() const { return m_status; }
155 inline void SetStatus(BillingGroupStatus value) {
156 m_statusHasBeenSet = true;
157 m_status = value;
158 }
160 SetStatus(value);
161 return *this;
162 }
164
166
169 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
170 template <typename StatusReasonT = Aws::String>
171 void SetStatusReason(StatusReasonT&& value) {
172 m_statusReasonHasBeenSet = true;
173 m_statusReason = std::forward<StatusReasonT>(value);
174 }
175 template <typename StatusReasonT = Aws::String>
177 SetStatusReason(std::forward<StatusReasonT>(value));
178 return *this;
179 }
181
183
187 inline const UpdateBillingGroupAccountGrouping& GetAccountGrouping() const { return m_accountGrouping; }
188 template <typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
189 void SetAccountGrouping(AccountGroupingT&& value) {
190 m_accountGroupingHasBeenSet = true;
191 m_accountGrouping = std::forward<AccountGroupingT>(value);
192 }
193 template <typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
195 SetAccountGrouping(std::forward<AccountGroupingT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
215
216 private:
217 Aws::String m_arn;
218
219 Aws::String m_name;
220
221 Aws::String m_description;
222
223 Aws::String m_primaryAccountId;
224
225 Aws::String m_pricingPlanArn;
226
227 long long m_size{0};
228
229 long long m_lastModifiedTime{0};
230
232
233 Aws::String m_statusReason;
234
235 UpdateBillingGroupAccountGrouping m_accountGrouping;
236
237 Aws::String m_requestId;
238 Aws::Http::HttpResponseCode m_HttpResponseCode;
239 bool m_arnHasBeenSet = false;
240 bool m_nameHasBeenSet = false;
241 bool m_descriptionHasBeenSet = false;
242 bool m_primaryAccountIdHasBeenSet = false;
243 bool m_pricingPlanArnHasBeenSet = false;
244 bool m_sizeHasBeenSet = false;
245 bool m_lastModifiedTimeHasBeenSet = false;
246 bool m_statusHasBeenSet = false;
247 bool m_statusReasonHasBeenSet = false;
248 bool m_accountGroupingHasBeenSet = false;
249 bool m_requestIdHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace BillingConductor
254} // namespace Aws
const UpdateBillingGroupAccountGrouping & GetAccountGrouping() const
UpdateBillingGroupResult & WithStatus(BillingGroupStatus value)
UpdateBillingGroupResult & WithDescription(DescriptionT &&value)
UpdateBillingGroupResult & WithPricingPlanArn(PricingPlanArnT &&value)
UpdateBillingGroupResult & WithLastModifiedTime(long long value)
UpdateBillingGroupResult & WithStatusReason(StatusReasonT &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult()=default
UpdateBillingGroupResult & WithPrimaryAccountId(PrimaryAccountIdT &&value)
UpdateBillingGroupResult & WithRequestId(RequestIdT &&value)
UpdateBillingGroupResult & WithAccountGrouping(AccountGroupingT &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBillingGroupResult & WithSize(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue