AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
RequestServiceQuotaIncreaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/service-quotas/ServiceQuotasRequest.h>
9#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ServiceQuotas {
15namespace Model {
16
20 public:
21 AWS_SERVICEQUOTAS_API RequestServiceQuotaIncreaseRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RequestServiceQuotaIncrease"; }
28
29 AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override;
30
31 AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
39 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
40 template <typename ServiceCodeT = Aws::String>
41 void SetServiceCode(ServiceCodeT&& value) {
42 m_serviceCodeHasBeenSet = true;
43 m_serviceCode = std::forward<ServiceCodeT>(value);
44 }
45 template <typename ServiceCodeT = Aws::String>
47 SetServiceCode(std::forward<ServiceCodeT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
59 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
60 template <typename QuotaCodeT = Aws::String>
61 void SetQuotaCode(QuotaCodeT&& value) {
62 m_quotaCodeHasBeenSet = true;
63 m_quotaCode = std::forward<QuotaCodeT>(value);
64 }
65 template <typename QuotaCodeT = Aws::String>
67 SetQuotaCode(std::forward<QuotaCodeT>(value));
68 return *this;
69 }
71
73
76 inline double GetDesiredValue() const { return m_desiredValue; }
77 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
78 inline void SetDesiredValue(double value) {
79 m_desiredValueHasBeenSet = true;
80 m_desiredValue = value;
81 }
83 SetDesiredValue(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetContextId() const { return m_contextId; }
93 inline bool ContextIdHasBeenSet() const { return m_contextIdHasBeenSet; }
94 template <typename ContextIdT = Aws::String>
95 void SetContextId(ContextIdT&& value) {
96 m_contextIdHasBeenSet = true;
97 m_contextId = std::forward<ContextIdT>(value);
98 }
99 template <typename ContextIdT = Aws::String>
101 SetContextId(std::forward<ContextIdT>(value));
102 return *this;
103 }
105
107
116 inline bool GetSupportCaseAllowed() const { return m_supportCaseAllowed; }
117 inline bool SupportCaseAllowedHasBeenSet() const { return m_supportCaseAllowedHasBeenSet; }
118 inline void SetSupportCaseAllowed(bool value) {
119 m_supportCaseAllowedHasBeenSet = true;
120 m_supportCaseAllowed = value;
121 }
124 return *this;
125 }
127 private:
128 Aws::String m_serviceCode;
129
130 Aws::String m_quotaCode;
131
132 double m_desiredValue{0.0};
133
134 Aws::String m_contextId;
135
136 bool m_supportCaseAllowed{false};
137 bool m_serviceCodeHasBeenSet = false;
138 bool m_quotaCodeHasBeenSet = false;
139 bool m_desiredValueHasBeenSet = false;
140 bool m_contextIdHasBeenSet = false;
141 bool m_supportCaseAllowedHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace ServiceQuotas
146} // namespace Aws
RequestServiceQuotaIncreaseRequest & WithServiceCode(ServiceCodeT &&value)
AWS_SERVICEQUOTAS_API RequestServiceQuotaIncreaseRequest()=default
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RequestServiceQuotaIncreaseRequest & WithQuotaCode(QuotaCodeT &&value)
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
RequestServiceQuotaIncreaseRequest & WithContextId(ContextIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String