AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestedServiceQuotaChange.h
1
6#pragma once
7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/service-quotas/model/RequestStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/service-quotas/model/AppliedLevelEnum.h>
12#include <aws/service-quotas/model/QuotaContextInfo.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ServiceQuotas
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange();
41 AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const{ return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline RequestedServiceQuotaChange& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline RequestedServiceQuotaChange& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline RequestedServiceQuotaChange& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetCaseId() const{ return m_caseId; }
63 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
64 inline void SetCaseId(const Aws::String& value) { m_caseIdHasBeenSet = true; m_caseId = value; }
65 inline void SetCaseId(Aws::String&& value) { m_caseIdHasBeenSet = true; m_caseId = std::move(value); }
66 inline void SetCaseId(const char* value) { m_caseIdHasBeenSet = true; m_caseId.assign(value); }
67 inline RequestedServiceQuotaChange& WithCaseId(const Aws::String& value) { SetCaseId(value); return *this;}
68 inline RequestedServiceQuotaChange& WithCaseId(Aws::String&& value) { SetCaseId(std::move(value)); return *this;}
69 inline RequestedServiceQuotaChange& WithCaseId(const char* value) { SetCaseId(value); return *this;}
71
73
77 inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
78 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
79 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
80 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
81 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
82 inline RequestedServiceQuotaChange& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
83 inline RequestedServiceQuotaChange& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
84 inline RequestedServiceQuotaChange& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
86
88
91 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
92 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
93 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
94 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
95 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
96 inline RequestedServiceQuotaChange& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
97 inline RequestedServiceQuotaChange& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
98 inline RequestedServiceQuotaChange& WithServiceName(const char* value) { SetServiceName(value); return *this;}
100
102
107 inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
108 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
109 inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
110 inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
111 inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
112 inline RequestedServiceQuotaChange& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
113 inline RequestedServiceQuotaChange& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
114 inline RequestedServiceQuotaChange& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
116
118
121 inline const Aws::String& GetQuotaName() const{ return m_quotaName; }
122 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
123 inline void SetQuotaName(const Aws::String& value) { m_quotaNameHasBeenSet = true; m_quotaName = value; }
124 inline void SetQuotaName(Aws::String&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::move(value); }
125 inline void SetQuotaName(const char* value) { m_quotaNameHasBeenSet = true; m_quotaName.assign(value); }
126 inline RequestedServiceQuotaChange& WithQuotaName(const Aws::String& value) { SetQuotaName(value); return *this;}
127 inline RequestedServiceQuotaChange& WithQuotaName(Aws::String&& value) { SetQuotaName(std::move(value)); return *this;}
128 inline RequestedServiceQuotaChange& WithQuotaName(const char* value) { SetQuotaName(value); return *this;}
130
132
135 inline double GetDesiredValue() const{ return m_desiredValue; }
136 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
137 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
138 inline RequestedServiceQuotaChange& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
140
142
145 inline const RequestStatus& GetStatus() const{ return m_status; }
146 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
147 inline void SetStatus(const RequestStatus& value) { m_statusHasBeenSet = true; m_status = value; }
148 inline void SetStatus(RequestStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
149 inline RequestedServiceQuotaChange& WithStatus(const RequestStatus& value) { SetStatus(value); return *this;}
150 inline RequestedServiceQuotaChange& WithStatus(RequestStatus&& value) { SetStatus(std::move(value)); return *this;}
152
154
158 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
159 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
160 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
161 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
162 inline RequestedServiceQuotaChange& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
163 inline RequestedServiceQuotaChange& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
171 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
172 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
173 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
175 inline RequestedServiceQuotaChange& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
177
179
182 inline const Aws::String& GetRequester() const{ return m_requester; }
183 inline bool RequesterHasBeenSet() const { return m_requesterHasBeenSet; }
184 inline void SetRequester(const Aws::String& value) { m_requesterHasBeenSet = true; m_requester = value; }
185 inline void SetRequester(Aws::String&& value) { m_requesterHasBeenSet = true; m_requester = std::move(value); }
186 inline void SetRequester(const char* value) { m_requesterHasBeenSet = true; m_requester.assign(value); }
187 inline RequestedServiceQuotaChange& WithRequester(const Aws::String& value) { SetRequester(value); return *this;}
188 inline RequestedServiceQuotaChange& WithRequester(Aws::String&& value) { SetRequester(std::move(value)); return *this;}
189 inline RequestedServiceQuotaChange& WithRequester(const char* value) { SetRequester(value); return *this;}
191
193
196 inline const Aws::String& GetQuotaArn() const{ return m_quotaArn; }
197 inline bool QuotaArnHasBeenSet() const { return m_quotaArnHasBeenSet; }
198 inline void SetQuotaArn(const Aws::String& value) { m_quotaArnHasBeenSet = true; m_quotaArn = value; }
199 inline void SetQuotaArn(Aws::String&& value) { m_quotaArnHasBeenSet = true; m_quotaArn = std::move(value); }
200 inline void SetQuotaArn(const char* value) { m_quotaArnHasBeenSet = true; m_quotaArn.assign(value); }
201 inline RequestedServiceQuotaChange& WithQuotaArn(const Aws::String& value) { SetQuotaArn(value); return *this;}
202 inline RequestedServiceQuotaChange& WithQuotaArn(Aws::String&& value) { SetQuotaArn(std::move(value)); return *this;}
203 inline RequestedServiceQuotaChange& WithQuotaArn(const char* value) { SetQuotaArn(value); return *this;}
205
207
210 inline bool GetGlobalQuota() const{ return m_globalQuota; }
211 inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; }
212 inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; }
213 inline RequestedServiceQuotaChange& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;}
215
217
220 inline const Aws::String& GetUnit() const{ return m_unit; }
221 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
222 inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; }
223 inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
224 inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); }
225 inline RequestedServiceQuotaChange& WithUnit(const Aws::String& value) { SetUnit(value); return *this;}
226 inline RequestedServiceQuotaChange& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;}
227 inline RequestedServiceQuotaChange& WithUnit(const char* value) { SetUnit(value); return *this;}
229
231
235 inline const AppliedLevelEnum& GetQuotaRequestedAtLevel() const{ return m_quotaRequestedAtLevel; }
236 inline bool QuotaRequestedAtLevelHasBeenSet() const { return m_quotaRequestedAtLevelHasBeenSet; }
237 inline void SetQuotaRequestedAtLevel(const AppliedLevelEnum& value) { m_quotaRequestedAtLevelHasBeenSet = true; m_quotaRequestedAtLevel = value; }
238 inline void SetQuotaRequestedAtLevel(AppliedLevelEnum&& value) { m_quotaRequestedAtLevelHasBeenSet = true; m_quotaRequestedAtLevel = std::move(value); }
242
244
247 inline const QuotaContextInfo& GetQuotaContext() const{ return m_quotaContext; }
248 inline bool QuotaContextHasBeenSet() const { return m_quotaContextHasBeenSet; }
249 inline void SetQuotaContext(const QuotaContextInfo& value) { m_quotaContextHasBeenSet = true; m_quotaContext = value; }
250 inline void SetQuotaContext(QuotaContextInfo&& value) { m_quotaContextHasBeenSet = true; m_quotaContext = std::move(value); }
252 inline RequestedServiceQuotaChange& WithQuotaContext(QuotaContextInfo&& value) { SetQuotaContext(std::move(value)); return *this;}
254 private:
255
256 Aws::String m_id;
257 bool m_idHasBeenSet = false;
258
259 Aws::String m_caseId;
260 bool m_caseIdHasBeenSet = false;
261
262 Aws::String m_serviceCode;
263 bool m_serviceCodeHasBeenSet = false;
264
265 Aws::String m_serviceName;
266 bool m_serviceNameHasBeenSet = false;
267
268 Aws::String m_quotaCode;
269 bool m_quotaCodeHasBeenSet = false;
270
271 Aws::String m_quotaName;
272 bool m_quotaNameHasBeenSet = false;
273
274 double m_desiredValue;
275 bool m_desiredValueHasBeenSet = false;
276
277 RequestStatus m_status;
278 bool m_statusHasBeenSet = false;
279
280 Aws::Utils::DateTime m_created;
281 bool m_createdHasBeenSet = false;
282
283 Aws::Utils::DateTime m_lastUpdated;
284 bool m_lastUpdatedHasBeenSet = false;
285
286 Aws::String m_requester;
287 bool m_requesterHasBeenSet = false;
288
289 Aws::String m_quotaArn;
290 bool m_quotaArnHasBeenSet = false;
291
292 bool m_globalQuota;
293 bool m_globalQuotaHasBeenSet = false;
294
295 Aws::String m_unit;
296 bool m_unitHasBeenSet = false;
297
298 AppliedLevelEnum m_quotaRequestedAtLevel;
299 bool m_quotaRequestedAtLevelHasBeenSet = false;
300
301 QuotaContextInfo m_quotaContext;
302 bool m_quotaContextHasBeenSet = false;
303 };
304
305} // namespace Model
306} // namespace ServiceQuotas
307} // namespace Aws
RequestedServiceQuotaChange & WithRequester(const Aws::String &value)
RequestedServiceQuotaChange & WithQuotaName(Aws::String &&value)
RequestedServiceQuotaChange & WithRequester(Aws::String &&value)
RequestedServiceQuotaChange & WithId(const Aws::String &value)
RequestedServiceQuotaChange & WithServiceCode(const Aws::String &value)
RequestedServiceQuotaChange & WithQuotaName(const char *value)
RequestedServiceQuotaChange & WithCaseId(const char *value)
RequestedServiceQuotaChange & WithServiceCode(Aws::String &&value)
RequestedServiceQuotaChange & WithStatus(const RequestStatus &value)
RequestedServiceQuotaChange & WithCreated(Aws::Utils::DateTime &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
RequestedServiceQuotaChange & WithQuotaArn(const Aws::String &value)
RequestedServiceQuotaChange & WithQuotaContext(const QuotaContextInfo &value)
RequestedServiceQuotaChange & WithUnit(const Aws::String &value)
RequestedServiceQuotaChange & WithQuotaCode(Aws::String &&value)
RequestedServiceQuotaChange & WithId(Aws::String &&value)
RequestedServiceQuotaChange & WithLastUpdated(const Aws::Utils::DateTime &value)
RequestedServiceQuotaChange & WithServiceCode(const char *value)
RequestedServiceQuotaChange & WithLastUpdated(Aws::Utils::DateTime &&value)
RequestedServiceQuotaChange & WithRequester(const char *value)
RequestedServiceQuotaChange & WithCaseId(Aws::String &&value)
RequestedServiceQuotaChange & WithQuotaRequestedAtLevel(AppliedLevelEnum &&value)
RequestedServiceQuotaChange & WithDesiredValue(double value)
RequestedServiceQuotaChange & WithCaseId(const Aws::String &value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestedServiceQuotaChange & WithQuotaName(const Aws::String &value)
RequestedServiceQuotaChange & WithServiceName(const char *value)
RequestedServiceQuotaChange & WithQuotaCode(const char *value)
RequestedServiceQuotaChange & WithServiceName(const Aws::String &value)
RequestedServiceQuotaChange & WithUnit(Aws::String &&value)
RequestedServiceQuotaChange & WithQuotaRequestedAtLevel(const AppliedLevelEnum &value)
RequestedServiceQuotaChange & WithId(const char *value)
RequestedServiceQuotaChange & WithQuotaArn(const char *value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange(Aws::Utils::Json::JsonView jsonValue)
RequestedServiceQuotaChange & WithQuotaArn(Aws::String &&value)
RequestedServiceQuotaChange & WithStatus(RequestStatus &&value)
RequestedServiceQuotaChange & WithQuotaContext(QuotaContextInfo &&value)
RequestedServiceQuotaChange & WithCreated(const Aws::Utils::DateTime &value)
RequestedServiceQuotaChange & WithServiceName(Aws::String &&value)
RequestedServiceQuotaChange & WithUnit(const char *value)
RequestedServiceQuotaChange & WithQuotaCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue