AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBillingGroupResult.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/billingconductor/model/BillingGroupStatus.h>
10#include <aws/billingconductor/model/UpdateBillingGroupAccountGrouping.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace BillingConductor
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline UpdateBillingGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline UpdateBillingGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline UpdateBillingGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline void SetName(const Aws::String& value) { m_name = value; }
57 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 inline void SetName(const char* value) { m_name.assign(value); }
59 inline UpdateBillingGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateBillingGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateBillingGroupResult& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline UpdateBillingGroupResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline UpdateBillingGroupResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline UpdateBillingGroupResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetPrimaryAccountId() const{ return m_primaryAccountId; }
82 inline void SetPrimaryAccountId(const Aws::String& value) { m_primaryAccountId = value; }
83 inline void SetPrimaryAccountId(Aws::String&& value) { m_primaryAccountId = std::move(value); }
84 inline void SetPrimaryAccountId(const char* value) { m_primaryAccountId.assign(value); }
86 inline UpdateBillingGroupResult& WithPrimaryAccountId(Aws::String&& value) { SetPrimaryAccountId(std::move(value)); return *this;}
87 inline UpdateBillingGroupResult& WithPrimaryAccountId(const char* value) { SetPrimaryAccountId(value); return *this;}
89
91
95 inline const Aws::String& GetPricingPlanArn() const{ return m_pricingPlanArn; }
96 inline void SetPricingPlanArn(const Aws::String& value) { m_pricingPlanArn = value; }
97 inline void SetPricingPlanArn(Aws::String&& value) { m_pricingPlanArn = std::move(value); }
98 inline void SetPricingPlanArn(const char* value) { m_pricingPlanArn.assign(value); }
99 inline UpdateBillingGroupResult& WithPricingPlanArn(const Aws::String& value) { SetPricingPlanArn(value); return *this;}
100 inline UpdateBillingGroupResult& WithPricingPlanArn(Aws::String&& value) { SetPricingPlanArn(std::move(value)); return *this;}
101 inline UpdateBillingGroupResult& WithPricingPlanArn(const char* value) { SetPricingPlanArn(value); return *this;}
103
105
108 inline long long GetSize() const{ return m_size; }
109 inline void SetSize(long long value) { m_size = value; }
110 inline UpdateBillingGroupResult& WithSize(long long value) { SetSize(value); return *this;}
112
114
117 inline long long GetLastModifiedTime() const{ return m_lastModifiedTime; }
118 inline void SetLastModifiedTime(long long value) { m_lastModifiedTime = value; }
119 inline UpdateBillingGroupResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
121
123
127 inline const BillingGroupStatus& GetStatus() const{ return m_status; }
128 inline void SetStatus(const BillingGroupStatus& value) { m_status = value; }
129 inline void SetStatus(BillingGroupStatus&& value) { m_status = std::move(value); }
130 inline UpdateBillingGroupResult& WithStatus(const BillingGroupStatus& value) { SetStatus(value); return *this;}
131 inline UpdateBillingGroupResult& WithStatus(BillingGroupStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
138 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
139 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
140 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
141 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
142 inline UpdateBillingGroupResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
143 inline UpdateBillingGroupResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
144 inline UpdateBillingGroupResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
146
148
152 inline const UpdateBillingGroupAccountGrouping& GetAccountGrouping() const{ return m_accountGrouping; }
153 inline void SetAccountGrouping(const UpdateBillingGroupAccountGrouping& value) { m_accountGrouping = value; }
154 inline void SetAccountGrouping(UpdateBillingGroupAccountGrouping&& value) { m_accountGrouping = std::move(value); }
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline UpdateBillingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline UpdateBillingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline UpdateBillingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 Aws::String m_arn;
172
173 Aws::String m_name;
174
175 Aws::String m_description;
176
177 Aws::String m_primaryAccountId;
178
179 Aws::String m_pricingPlanArn;
180
181 long long m_size;
182
183 long long m_lastModifiedTime;
184
185 BillingGroupStatus m_status;
186
187 Aws::String m_statusReason;
188
189 UpdateBillingGroupAccountGrouping m_accountGrouping;
190
191 Aws::String m_requestId;
192 };
193
194} // namespace Model
195} // namespace BillingConductor
196} // namespace Aws
void SetAccountGrouping(const UpdateBillingGroupAccountGrouping &value)
UpdateBillingGroupResult & WithName(const Aws::String &value)
UpdateBillingGroupResult & WithPricingPlanArn(Aws::String &&value)
UpdateBillingGroupResult & WithArn(Aws::String &&value)
UpdateBillingGroupResult & WithPrimaryAccountId(const char *value)
const UpdateBillingGroupAccountGrouping & GetAccountGrouping() const
UpdateBillingGroupResult & WithAccountGrouping(UpdateBillingGroupAccountGrouping &&value)
UpdateBillingGroupResult & WithName(const char *value)
UpdateBillingGroupResult & WithPricingPlanArn(const Aws::String &value)
UpdateBillingGroupResult & WithPricingPlanArn(const char *value)
UpdateBillingGroupResult & WithPrimaryAccountId(const Aws::String &value)
UpdateBillingGroupResult & WithStatus(BillingGroupStatus &&value)
UpdateBillingGroupResult & WithPrimaryAccountId(Aws::String &&value)
UpdateBillingGroupResult & WithStatusReason(Aws::String &&value)
UpdateBillingGroupResult & WithLastModifiedTime(long long value)
UpdateBillingGroupResult & WithRequestId(const Aws::String &value)
UpdateBillingGroupResult & WithAccountGrouping(const UpdateBillingGroupAccountGrouping &value)
UpdateBillingGroupResult & WithStatusReason(const char *value)
UpdateBillingGroupResult & WithDescription(const Aws::String &value)
UpdateBillingGroupResult & WithArn(const Aws::String &value)
UpdateBillingGroupResult & WithStatus(const BillingGroupStatus &value)
UpdateBillingGroupResult & WithDescription(const char *value)
UpdateBillingGroupResult & WithDescription(Aws::String &&value)
UpdateBillingGroupResult & WithRequestId(Aws::String &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBillingGroupResult & WithRequestId(const char *value)
UpdateBillingGroupResult & WithName(Aws::String &&value)
AWS_BILLINGCONDUCTOR_API UpdateBillingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateBillingGroupResult & WithSize(long long value)
void SetAccountGrouping(UpdateBillingGroupAccountGrouping &&value)
UpdateBillingGroupResult & WithArn(const char *value)
UpdateBillingGroupResult & WithStatusReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue