AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ServiceQuotaIncreaseRequestInTemplate.h
1
6#pragma once
7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ServiceQuotas
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate() = default;
37 AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
46 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
47 template<typename ServiceCodeT = Aws::String>
48 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
49 template<typename ServiceCodeT = Aws::String>
50 ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetServiceName() const { return m_serviceName; }
58 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
59 template<typename ServiceNameT = Aws::String>
60 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::forward<ServiceNameT>(value); }
61 template<typename ServiceNameT = Aws::String>
62 ServiceQuotaIncreaseRequestInTemplate& WithServiceName(ServiceNameT&& value) { SetServiceName(std::forward<ServiceNameT>(value)); return *this;}
64
66
71 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
72 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
73 template<typename QuotaCodeT = Aws::String>
74 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::forward<QuotaCodeT>(value); }
75 template<typename QuotaCodeT = Aws::String>
76 ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(QuotaCodeT&& value) { SetQuotaCode(std::forward<QuotaCodeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetQuotaName() const { return m_quotaName; }
84 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
85 template<typename QuotaNameT = Aws::String>
86 void SetQuotaName(QuotaNameT&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::forward<QuotaNameT>(value); }
87 template<typename QuotaNameT = Aws::String>
88 ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(QuotaNameT&& value) { SetQuotaName(std::forward<QuotaNameT>(value)); return *this;}
90
92
95 inline double GetDesiredValue() const { return m_desiredValue; }
96 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
97 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
98 inline ServiceQuotaIncreaseRequestInTemplate& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
100
102
105 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
106 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
107 template<typename AwsRegionT = Aws::String>
108 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
109 template<typename AwsRegionT = Aws::String>
110 ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
112
114
117 inline const Aws::String& GetUnit() const { return m_unit; }
118 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
119 template<typename UnitT = Aws::String>
120 void SetUnit(UnitT&& value) { m_unitHasBeenSet = true; m_unit = std::forward<UnitT>(value); }
121 template<typename UnitT = Aws::String>
122 ServiceQuotaIncreaseRequestInTemplate& WithUnit(UnitT&& value) { SetUnit(std::forward<UnitT>(value)); return *this;}
124
126
129 inline bool GetGlobalQuota() const { return m_globalQuota; }
130 inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; }
131 inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; }
132 inline ServiceQuotaIncreaseRequestInTemplate& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;}
134 private:
135
136 Aws::String m_serviceCode;
137 bool m_serviceCodeHasBeenSet = false;
138
139 Aws::String m_serviceName;
140 bool m_serviceNameHasBeenSet = false;
141
142 Aws::String m_quotaCode;
143 bool m_quotaCodeHasBeenSet = false;
144
145 Aws::String m_quotaName;
146 bool m_quotaNameHasBeenSet = false;
147
148 double m_desiredValue{0.0};
149 bool m_desiredValueHasBeenSet = false;
150
151 Aws::String m_awsRegion;
152 bool m_awsRegionHasBeenSet = false;
153
154 Aws::String m_unit;
155 bool m_unitHasBeenSet = false;
156
157 bool m_globalQuota{false};
158 bool m_globalQuotaHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace ServiceQuotas
163} // namespace Aws
ServiceQuotaIncreaseRequestInTemplate & WithServiceName(ServiceNameT &&value)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaName(QuotaNameT &&value)
AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate()=default
ServiceQuotaIncreaseRequestInTemplate & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceCode(ServiceCodeT &&value)
AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaIncreaseRequestInTemplate & WithAwsRegion(AwsRegionT &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue