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>
25namespace ServiceQuotas
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>
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>
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>
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>
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>
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>
125 inline void SetDesiredValue(
double value) { m_desiredValueHasBeenSet =
true; m_desiredValue = value; }
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>
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>
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>
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>
209 inline void SetGlobalQuota(
bool value) { m_globalQuotaHasBeenSet =
true; m_globalQuota = value; }
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>
243 template<
typename QuotaContextT = QuotaContextInfo>
244 void SetQuotaContext(QuotaContextT&& value) { m_quotaContextHasBeenSet =
true; m_quotaContext = std::forward<QuotaContextT>(value); }
245 template<
typename QuotaContextT = QuotaContextInfo>
251 bool m_idHasBeenSet =
false;
254 bool m_caseIdHasBeenSet =
false;
257 bool m_serviceCodeHasBeenSet =
false;
260 bool m_serviceNameHasBeenSet =
false;
263 bool m_quotaCodeHasBeenSet =
false;
266 bool m_quotaNameHasBeenSet =
false;
268 double m_desiredValue{0.0};
269 bool m_desiredValueHasBeenSet =
false;
272 bool m_statusHasBeenSet =
false;
275 bool m_createdHasBeenSet =
false;
278 bool m_lastUpdatedHasBeenSet =
false;
281 bool m_requesterHasBeenSet =
false;
284 bool m_quotaArnHasBeenSet =
false;
286 bool m_globalQuota{
false};
287 bool m_globalQuotaHasBeenSet =
false;
290 bool m_unitHasBeenSet =
false;
293 bool m_quotaRequestedAtLevelHasBeenSet =
false;
295 QuotaContextInfo m_quotaContext;
296 bool m_quotaContextHasBeenSet =
false;
RequestedServiceQuotaChange & WithCaseId(CaseIdT &&value)
bool IdHasBeenSet() const
RequestedServiceQuotaChange & WithServiceCode(ServiceCodeT &&value)
bool StatusHasBeenSet() const
void SetCreated(CreatedT &&value)
void SetServiceCode(ServiceCodeT &&value)
void SetUnit(UnitT &&value)
const Aws::Utils::DateTime & GetLastUpdated() const
RequestedServiceQuotaChange & WithUnit(UnitT &&value)
const QuotaContextInfo & GetQuotaContext() const
bool CaseIdHasBeenSet() const
const Aws::String & GetId() const
bool QuotaRequestedAtLevelHasBeenSet() const
RequestedServiceQuotaChange & WithQuotaArn(QuotaArnT &&value)
const Aws::String & GetRequester() const
bool DesiredValueHasBeenSet() const
RequestedServiceQuotaChange & WithQuotaContext(QuotaContextT &&value)
const Aws::String & GetServiceCode() const
void SetRequester(RequesterT &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetServiceName(ServiceNameT &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
RequestedServiceQuotaChange & WithId(IdT &&value)
RequestedServiceQuotaChange & WithQuotaCode(QuotaCodeT &&value)
RequestedServiceQuotaChange & WithRequester(RequesterT &&value)
bool QuotaCodeHasBeenSet() const
RequestStatus GetStatus() const
RequestedServiceQuotaChange & WithLastUpdated(LastUpdatedT &&value)
void SetCaseId(CaseIdT &&value)
void SetQuotaName(QuotaNameT &&value)
const Aws::String & GetUnit() const
bool GetGlobalQuota() const
void SetQuotaArn(QuotaArnT &&value)
const Aws::String & GetQuotaArn() const
double GetDesiredValue() const
RequestedServiceQuotaChange & WithCreated(CreatedT &&value)
RequestedServiceQuotaChange & WithDesiredValue(double value)
const Aws::String & GetServiceName() const
bool ServiceNameHasBeenSet() const
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange & operator=(Aws::Utils::Json::JsonView jsonValue)
RequestedServiceQuotaChange & WithServiceName(ServiceNameT &&value)
RequestedServiceQuotaChange & WithQuotaName(QuotaNameT &&value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange()=default
bool LastUpdatedHasBeenSet() const
bool ServiceCodeHasBeenSet() const
RequestedServiceQuotaChange & WithGlobalQuota(bool value)
AWS_SERVICEQUOTAS_API RequestedServiceQuotaChange(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaName() const
RequestedServiceQuotaChange & WithStatus(RequestStatus value)
const Aws::String & GetQuotaCode() const
void SetQuotaCode(QuotaCodeT &&value)
void SetQuotaContext(QuotaContextT &&value)
void SetLastUpdated(LastUpdatedT &&value)
RequestedServiceQuotaChange & WithQuotaRequestedAtLevel(AppliedLevelEnum value)
bool GlobalQuotaHasBeenSet() const
bool QuotaArnHasBeenSet() const
void SetDesiredValue(double value)
void SetStatus(RequestStatus value)
bool CreatedHasBeenSet() const
const Aws::String & GetCaseId() const
bool RequesterHasBeenSet() const
void SetGlobalQuota(bool value)
bool QuotaContextHasBeenSet() const
bool QuotaNameHasBeenSet() const
void SetQuotaRequestedAtLevel(AppliedLevelEnum value)
bool UnitHasBeenSet() const
AppliedLevelEnum GetQuotaRequestedAtLevel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue