AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetServiceQuotaRequest.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 GetServiceQuotaRequest() = 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 "GetServiceQuota"; }
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 GetServiceQuotaRequest& 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 GetServiceQuotaRequest& WithQuotaCode(QuotaCodeT&& value) { SetQuotaCode(std::forward<QuotaCodeT>(value)); return *this;}
63
65
68 inline const Aws::String& GetContextId() const { return m_contextId; }
69 inline bool ContextIdHasBeenSet() const { return m_contextIdHasBeenSet; }
70 template<typename ContextIdT = Aws::String>
71 void SetContextId(ContextIdT&& value) { m_contextIdHasBeenSet = true; m_contextId = std::forward<ContextIdT>(value); }
72 template<typename ContextIdT = Aws::String>
73 GetServiceQuotaRequest& WithContextId(ContextIdT&& value) { SetContextId(std::forward<ContextIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_serviceCode;
78 bool m_serviceCodeHasBeenSet = false;
79
80 Aws::String m_quotaCode;
81 bool m_quotaCodeHasBeenSet = false;
82
83 Aws::String m_contextId;
84 bool m_contextIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ServiceQuotas
89} // namespace Aws
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetServiceQuotaRequest & WithServiceCode(ServiceCodeT &&value)
GetServiceQuotaRequest & WithQuotaCode(QuotaCodeT &&value)
virtual const char * GetServiceRequestName() const override
GetServiceQuotaRequest & WithContextId(ContextIdT &&value)
AWS_SERVICEQUOTAS_API GetServiceQuotaRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String