AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 RequestedServiceQuotaChange& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetCaseId() const { return m_caseId; }
61 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
62 template<typename CaseIdT = Aws::String>
63 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
64 template<typename CaseIdT = Aws::String>
65 RequestedServiceQuotaChange& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
67
69
73 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
74 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
75 template<typename ServiceCodeT = Aws::String>
76 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
77 template<typename ServiceCodeT = Aws::String>
78 RequestedServiceQuotaChange& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
80
82
85 inline const Aws::String& GetServiceName() const { return m_serviceName; }
86 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
87 template<typename ServiceNameT = Aws::String>
88 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
89 template<typename ServiceNameT = Aws::String>
90 RequestedServiceQuotaChange& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
92
94
99 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
100 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
101 template<typename QuotaCodeT = Aws::String>
102 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::forward<QuotaCodeT>(value); }
103 template<typename QuotaCodeT = Aws::String>
104 RequestedServiceQuotaChange& WithQuotaCode(QuotaCodeT&& value) { SetQuotaCode(std::forward<QuotaCodeT>(value)); return *this;}
106
108
111 inline const Aws::String& GetQuotaName() const { return m_quotaName; }
112 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
113 template<typename QuotaNameT = Aws::String>
114 void SetQuotaName(QuotaNameT&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::forward<QuotaNameT>(value); }
115 template<typename QuotaNameT = Aws::String>
116 RequestedServiceQuotaChange& WithQuotaName(QuotaNameT&& value) { SetQuotaName(std::forward<QuotaNameT>(value)); return *this;}
118
120
123 inline double GetDesiredValue() const { return m_desiredValue; }
124 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
125 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
126 inline RequestedServiceQuotaChange& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
128
130
148 inline RequestStatus GetStatus() const { return m_status; }
149 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
150 inline void SetStatus(RequestStatus value) { m_statusHasBeenSet = true; m_status = value; }
151 inline RequestedServiceQuotaChange& WithStatus(RequestStatus value) { SetStatus(value); return *this;}
153
155
159 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
160 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
161 template<typename CreatedT = Aws::Utils::DateTime>
162 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
163 template<typename CreatedT = Aws::Utils::DateTime>
164 RequestedServiceQuotaChange& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetLastUpdated() const { return m_lastUpdated; }
172 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
173 template<typename LastUpdatedT = Aws::Utils::DateTime>
174 void SetLastUpdated(LastUpdatedT&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::forward<LastUpdatedT>(value); }
175 template<typename LastUpdatedT = Aws::Utils::DateTime>
176 RequestedServiceQuotaChange& WithLastUpdated(LastUpdatedT&& value) { SetLastUpdated(std::forward<LastUpdatedT>(value)); return *this;}
178
180
183 inline const Aws::String& GetRequester() const { return m_requester; }
184 inline bool RequesterHasBeenSet() const { return m_requesterHasBeenSet; }
185 template<typename RequesterT = Aws::String>
186 void SetRequester(RequesterT&& value) { m_requesterHasBeenSet = true; m_requester = std::forward<RequesterT>(value); }
187 template<typename RequesterT = Aws::String>
188 RequestedServiceQuotaChange& WithRequester(RequesterT&& value) { SetRequester(std::forward<RequesterT>(value)); return *this;}
190
192
195 inline const Aws::String& GetQuotaArn() const { return m_quotaArn; }
196 inline bool QuotaArnHasBeenSet() const { return m_quotaArnHasBeenSet; }
197 template<typename QuotaArnT = Aws::String>
198 void SetQuotaArn(QuotaArnT&& value) { m_quotaArnHasBeenSet = true; m_quotaArn = std::forward<QuotaArnT>(value); }
199 template<typename QuotaArnT = Aws::String>
200 RequestedServiceQuotaChange& WithQuotaArn(QuotaArnT&& value) { SetQuotaArn(std::forward<QuotaArnT>(value)); return *this;}
202
204
207 inline bool GetGlobalQuota() const { return m_globalQuota; }
208 inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; }
209 inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; }
210 inline RequestedServiceQuotaChange& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;}
212
214
217 inline const Aws::String& GetUnit() const { return m_unit; }
218 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
219 template<typename UnitT = Aws::String>
220 void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
221 template<typename UnitT = Aws::String>
222 RequestedServiceQuotaChange& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
224
226
231 inline AppliedLevelEnum GetQuotaRequestedAtLevel() const { return m_quotaRequestedAtLevel; }
232 inline bool QuotaRequestedAtLevelHasBeenSet() const { return m_quotaRequestedAtLevelHasBeenSet; }
233 inline void SetQuotaRequestedAtLevel(AppliedLevelEnum value) { m_quotaRequestedAtLevelHasBeenSet = true; m_quotaRequestedAtLevel = value; }
236
238
241 inline const QuotaContextInfo& GetQuotaContext() const { return m_quotaContext; }
242 inline bool QuotaContextHasBeenSet() const { return m_quotaContextHasBeenSet; }
243 template<typename QuotaContextT = QuotaContextInfo>
244 void SetQuotaContext(QuotaContextT&& value) { m_quotaContextHasBeenSet = true; m_quotaContext = std::forward<QuotaContextT>(value); }
245 template<typename QuotaContextT = QuotaContextInfo>
246 RequestedServiceQuotaChange& WithQuotaContext(QuotaContextT&& value) { SetQuotaContext(std::forward<QuotaContextT>(value)); return *this;}
248 private:
249
250 Aws::String m_id;
251 bool m_idHasBeenSet = false;
252
253 Aws::String m_caseId;
254 bool m_caseIdHasBeenSet = false;
255
256 Aws::String m_serviceCode;
257 bool m_serviceCodeHasBeenSet = false;
258
259 Aws::String m_serviceName;
260 bool m_serviceNameHasBeenSet = false;
261
262 Aws::String m_quotaCode;
263 bool m_quotaCodeHasBeenSet = false;
264
265 Aws::String m_quotaName;
266 bool m_quotaNameHasBeenSet = false;
267
268 double m_desiredValue{0.0};
269 bool m_desiredValueHasBeenSet = false;
270
272 bool m_statusHasBeenSet = false;
273
274 Aws::Utils::DateTime m_created{};
275 bool m_createdHasBeenSet = false;
276
277 Aws::Utils::DateTime m_lastUpdated{};
278 bool m_lastUpdatedHasBeenSet = false;
279
280 Aws::String m_requester;
281 bool m_requesterHasBeenSet = false;
282
283 Aws::String m_quotaArn;
284 bool m_quotaArnHasBeenSet = false;
285
286 bool m_globalQuota{false};
287 bool m_globalQuotaHasBeenSet = false;
288
289 Aws::String m_unit;
290 bool m_unitHasBeenSet = false;
291
292 AppliedLevelEnum m_quotaRequestedAtLevel{AppliedLevelEnum::NOT_SET};
293 bool m_quotaRequestedAtLevelHasBeenSet = false;
294
295 QuotaContextInfo m_quotaContext;
296 bool m_quotaContextHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace ServiceQuotas
301} // namespace Aws
RequestedServiceQuotaChange & WithCaseId(CaseIdT &&value)
RequestedServiceQuotaChange & WithServiceCode(ServiceCodeT &&value)
RequestedServiceQuotaChange & WithQuotaArn(QuotaArnT &&value)
RequestedServiceQuotaChange & WithQuotaContext(QuotaContextT &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
RequestedServiceQuotaChange & WithQuotaCode(QuotaCodeT &&value)
RequestedServiceQuotaChange & WithRequester(RequesterT &&value)
RequestedServiceQuotaChange & WithLastUpdated(LastUpdatedT &&value)
RequestedServiceQuotaChange & WithCreated(CreatedT &&value)
RequestedServiceQuotaChange & WithDesiredValue(double value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestedServiceQuotaChange & WithServiceName(ServiceNameT &&value)
RequestedServiceQuotaChange & WithQuotaName(QuotaNameT &&value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange()=default
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange(Aws::Utils::Json::JsonView jsonValue)
RequestedServiceQuotaChange & WithStatus(RequestStatus value)
RequestedServiceQuotaChange & WithQuotaRequestedAtLevel(AppliedLevelEnum value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue