AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RequestServiceQuotaIncreaseRequest.h
1
6#pragma once
7#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
8#include <aws/service-quotas/ServiceQuotasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ServiceQuotas
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SERVICEQUOTAS_API RequestServiceQuotaIncreaseRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RequestServiceQuotaIncrease"; }
31
32 AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override;
33
34 AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
42 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
43 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
44 template<typename ServiceCodeT = Aws::String>
45 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
46 template<typename ServiceCodeT = Aws::String>
47 RequestServiceQuotaIncreaseRequest& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
49
51
56 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
57 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
58 template<typename QuotaCodeT = Aws::String>
59 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::forward<QuotaCodeT>(value); }
60 template<typename QuotaCodeT = Aws::String>
61 RequestServiceQuotaIncreaseRequest& WithQuotaCode(QuotaCodeT&& value) { SetQuotaCode(std::forward<QuotaCodeT>(value)); return *this;}
63
65
68 inline double GetDesiredValue() const { return m_desiredValue; }
69 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
70 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
71 inline RequestServiceQuotaIncreaseRequest& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
73
75
78 inline const Aws::String& GetContextId() const { return m_contextId; }
79 inline bool ContextIdHasBeenSet() const { return m_contextIdHasBeenSet; }
80 template<typename ContextIdT = Aws::String>
81 void SetContextId(ContextIdT&& value) { m_contextIdHasBeenSet = true; m_contextId = std::forward<ContextIdT>(value); }
82 template<typename ContextIdT = Aws::String>
83 RequestServiceQuotaIncreaseRequest& WithContextId(ContextIdT&& value) { SetContextId(std::forward<ContextIdT>(value)); return *this;}
85
87
96 inline bool GetSupportCaseAllowed() const { return m_supportCaseAllowed; }
97 inline bool SupportCaseAllowedHasBeenSet() const { return m_supportCaseAllowedHasBeenSet; }
98 inline void SetSupportCaseAllowed(bool value) { m_supportCaseAllowedHasBeenSet = true; m_supportCaseAllowed = value; }
101 private:
102
103 Aws::String m_serviceCode;
104 bool m_serviceCodeHasBeenSet = false;
105
106 Aws::String m_quotaCode;
107 bool m_quotaCodeHasBeenSet = false;
108
109 double m_desiredValue{0.0};
110 bool m_desiredValueHasBeenSet = false;
111
112 Aws::String m_contextId;
113 bool m_contextIdHasBeenSet = false;
114
115 bool m_supportCaseAllowed{false};
116 bool m_supportCaseAllowedHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ServiceQuotas
121} // 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