AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
45 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
46 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
48 inline RequestServiceQuotaIncreaseRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
49 inline RequestServiceQuotaIncreaseRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
51
53
58 inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
59 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
60 inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
61 inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
62 inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
63 inline RequestServiceQuotaIncreaseRequest& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
64 inline RequestServiceQuotaIncreaseRequest& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
65 inline RequestServiceQuotaIncreaseRequest& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
67
69
72 inline double GetDesiredValue() const{ return m_desiredValue; }
73 inline bool DesiredValueHasBeenSet() const { return m_desiredValueHasBeenSet; }
74 inline void SetDesiredValue(double value) { m_desiredValueHasBeenSet = true; m_desiredValue = value; }
75 inline RequestServiceQuotaIncreaseRequest& WithDesiredValue(double value) { SetDesiredValue(value); return *this;}
77
79
84 inline const Aws::String& GetContextId() const{ return m_contextId; }
85 inline bool ContextIdHasBeenSet() const { return m_contextIdHasBeenSet; }
86 inline void SetContextId(const Aws::String& value) { m_contextIdHasBeenSet = true; m_contextId = value; }
87 inline void SetContextId(Aws::String&& value) { m_contextIdHasBeenSet = true; m_contextId = std::move(value); }
88 inline void SetContextId(const char* value) { m_contextIdHasBeenSet = true; m_contextId.assign(value); }
89 inline RequestServiceQuotaIncreaseRequest& WithContextId(const Aws::String& value) { SetContextId(value); return *this;}
90 inline RequestServiceQuotaIncreaseRequest& WithContextId(Aws::String&& value) { SetContextId(std::move(value)); return *this;}
91 inline RequestServiceQuotaIncreaseRequest& WithContextId(const char* value) { SetContextId(value); return *this;}
93 private:
94
95 Aws::String m_serviceCode;
96 bool m_serviceCodeHasBeenSet = false;
97
98 Aws::String m_quotaCode;
99 bool m_quotaCodeHasBeenSet = false;
100
101 double m_desiredValue;
102 bool m_desiredValueHasBeenSet = false;
103
104 Aws::String m_contextId;
105 bool m_contextIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ServiceQuotas
110} // namespace Aws
RequestServiceQuotaIncreaseRequest & WithServiceCode(const Aws::String &value)
RequestServiceQuotaIncreaseRequest & WithServiceCode(const char *value)
RequestServiceQuotaIncreaseRequest & WithContextId(Aws::String &&value)
RequestServiceQuotaIncreaseRequest & WithContextId(const Aws::String &value)
RequestServiceQuotaIncreaseRequest & WithContextId(const char *value)
RequestServiceQuotaIncreaseRequest & WithQuotaCode(Aws::String &&value)
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
RequestServiceQuotaIncreaseRequest & WithQuotaCode(const char *value)
RequestServiceQuotaIncreaseRequest & WithServiceCode(Aws::String &&value)
RequestServiceQuotaIncreaseRequest & WithQuotaCode(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String