AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
48 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
49 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
51 inline ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
52 inline ServiceQuotaIncreaseRequestInTemplate& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
54
56
59 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
60 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
61 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
62 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
63 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
65 inline ServiceQuotaIncreaseRequestInTemplate& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
66 inline ServiceQuotaIncreaseRequestInTemplate& WithServiceName(const char* value) { SetServiceName(value); return *this;}
68
70
75 inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
76 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
77 inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
78 inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
79 inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
80 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
81 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
82 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
84
86
89 inline const Aws::String& GetQuotaName() const{ return m_quotaName; }
90 inline bool QuotaNameHasBeenSet() const { return m_quotaNameHasBeenSet; }
91 inline void SetQuotaName(const Aws::String& value) { m_quotaNameHasBeenSet = true; m_quotaName = value; }
92 inline void SetQuotaName(Aws::String&& value) { m_quotaNameHasBeenSet = true; m_quotaName = std::move(value); }
93 inline void SetQuotaName(const char* value) { m_quotaNameHasBeenSet = true; m_quotaName.assign(value); }
94 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(const Aws::String& value) { SetQuotaName(value); return *this;}
95 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(Aws::String&& value) { SetQuotaName(std::move(value)); return *this;}
96 inline ServiceQuotaIncreaseRequestInTemplate& WithQuotaName(const char* value) { SetQuotaName(value); return *this;}
98
100
103 inline double GetDesiredValue() const{ return m_desiredValue; }
104 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
105 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
106 inline ServiceQuotaIncreaseRequestInTemplate& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
108
110
113 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
114 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
115 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
116 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
117 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
119 inline ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
120 inline ServiceQuotaIncreaseRequestInTemplate& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
122
124
127 inline const Aws::String& GetUnit() const{ return m_unit; }
128 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
129 inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; }
130 inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); }
131 inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); }
132 inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(const Aws::String& value) { SetUnit(value); return *this;}
133 inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;}
134 inline ServiceQuotaIncreaseRequestInTemplate& WithUnit(const char* value) { SetUnit(value); return *this;}
136
138
141 inline bool GetGlobalQuota() const{ return m_globalQuota; }
142 inline bool GlobalQuotaHasBeenSet() const { return m_globalQuotaHasBeenSet; }
143 inline void SetGlobalQuota(bool value) { m_globalQuotaHasBeenSet = true; m_globalQuota = value; }
144 inline ServiceQuotaIncreaseRequestInTemplate& WithGlobalQuota(bool value) { SetGlobalQuota(value); return *this;}
146 private:
147
148 Aws::String m_serviceCode;
149 bool m_serviceCodeHasBeenSet = false;
150
151 Aws::String m_serviceName;
152 bool m_serviceNameHasBeenSet = false;
153
154 Aws::String m_quotaCode;
155 bool m_quotaCodeHasBeenSet = false;
156
157 Aws::String m_quotaName;
158 bool m_quotaNameHasBeenSet = false;
159
160 double m_desiredValue;
161 bool m_desiredValueHasBeenSet = false;
162
163 Aws::String m_awsRegion;
164 bool m_awsRegionHasBeenSet = false;
165
166 Aws::String m_unit;
167 bool m_unitHasBeenSet = false;
168
169 bool m_globalQuota;
170 bool m_globalQuotaHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace ServiceQuotas
175} // namespace Aws
ServiceQuotaIncreaseRequestInTemplate & WithUnit(Aws::String &&value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceName(const Aws::String &value)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaCode(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceName(Aws::String &&value)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaName(const Aws::String &value)
ServiceQuotaIncreaseRequestInTemplate & WithUnit(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceName(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceCode(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithUnit(const Aws::String &value)
ServiceQuotaIncreaseRequestInTemplate & WithAwsRegion(Aws::String &&value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceCode(const Aws::String &value)
AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaIncreaseRequestInTemplate & WithAwsRegion(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithServiceCode(Aws::String &&value)
AWS_SERVICEQUOTAS_API ServiceQuotaIncreaseRequestInTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaCode(Aws::String &&value)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaName(Aws::String &&value)
AWS_SERVICEQUOTAS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaIncreaseRequestInTemplate & WithQuotaCode(const Aws::String &value)
ServiceQuotaIncreaseRequestInTemplate & WithQuotaName(const char *value)
ServiceQuotaIncreaseRequestInTemplate & WithAwsRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue