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>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace BillingConductor {
37 template <
typename ArnT = Aws::String>
39 m_arnHasBeenSet =
true;
40 m_arn = std::forward<ArnT>(value);
42 template <
typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
55 template <
typename NameT = Aws::String>
57 m_nameHasBeenSet =
true;
58 m_name = std::forward<NameT>(value);
60 template <
typename NameT = Aws::String>
62 SetName(std::forward<NameT>(value));
72 template <
typename DescriptionT = Aws::String>
74 m_descriptionHasBeenSet =
true;
75 m_description = std::forward<DescriptionT>(value);
77 template <
typename DescriptionT = Aws::String>
89 template <
typename PrimaryAccountIdT = Aws::String>
91 m_primaryAccountIdHasBeenSet =
true;
92 m_primaryAccountId = std::forward<PrimaryAccountIdT>(value);
94 template <
typename PrimaryAccountIdT = Aws::String>
107 template <
typename PricingPlanArnT = Aws::String>
109 m_pricingPlanArnHasBeenSet =
true;
110 m_pricingPlanArn = std::forward<PricingPlanArnT>(value);
112 template <
typename PricingPlanArnT = Aws::String>
123 inline long long GetSize()
const {
return m_size; }
125 m_sizeHasBeenSet =
true;
140 m_lastModifiedTimeHasBeenSet =
true;
141 m_lastModifiedTime = value;
156 m_statusHasBeenSet =
true;
170 template <
typename StatusReasonT = Aws::String>
172 m_statusReasonHasBeenSet =
true;
173 m_statusReason = std::forward<StatusReasonT>(value);
175 template <
typename StatusReasonT = Aws::String>
188 template <
typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
190 m_accountGroupingHasBeenSet =
true;
191 m_accountGrouping = std::forward<AccountGroupingT>(value);
193 template <
typename AccountGroupingT = UpdateBillingGroupAccountGrouping>
203 template <
typename RequestIdT = Aws::String>
205 m_requestIdHasBeenSet =
true;
206 m_requestId = std::forward<RequestIdT>(value);
208 template <
typename RequestIdT = Aws::String>
229 long long m_lastModifiedTime{0};
235 UpdateBillingGroupAccountGrouping m_accountGrouping;
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;
UpdateBillingGroupResult & WithArn(ArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetSize(long long value)
const UpdateBillingGroupAccountGrouping & GetAccountGrouping() const
UpdateBillingGroupResult & WithStatus(BillingGroupStatus value)
void SetAccountGrouping(AccountGroupingT &&value)
UpdateBillingGroupResult & WithDescription(DescriptionT &&value)
UpdateBillingGroupResult & WithPricingPlanArn(PricingPlanArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetPricingPlanArn() const
const Aws::String & GetDescription() const
long long GetSize() const
BillingGroupStatus GetStatus() const
void SetArn(ArnT &&value)
UpdateBillingGroupResult & WithLastModifiedTime(long long value)
const Aws::String & GetPrimaryAccountId() const
const Aws::String & GetRequestId() const
const Aws::String & GetStatusReason() const
UpdateBillingGroupResult & WithStatusReason(StatusReasonT &&value)
void SetStatusReason(StatusReasonT &&value)
void SetPrimaryAccountId(PrimaryAccountIdT &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult()=default
void SetStatus(BillingGroupStatus value)
UpdateBillingGroupResult & WithPrimaryAccountId(PrimaryAccountIdT &&value)
UpdateBillingGroupResult & WithRequestId(RequestIdT &&value)
void SetPricingPlanArn(PricingPlanArnT &&value)
const Aws::String & GetArn() const
void SetName(NameT &&value)
UpdateBillingGroupResult & WithAccountGrouping(AccountGroupingT &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(DescriptionT &&value)
void SetLastModifiedTime(long long value)
long long GetLastModifiedTime() const
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBillingGroupResult & WithSize(long long value)
UpdateBillingGroupResult & WithName(NameT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue