AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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); }
47 inline GetServiceQuotaRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
48 inline GetServiceQuotaRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
49 inline GetServiceQuotaRequest& 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 GetServiceQuotaRequest& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
64 inline GetServiceQuotaRequest& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
65 inline GetServiceQuotaRequest& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
67
69
74 inline const Aws::String& GetContextId() const{ return m_contextId; }
75 inline bool ContextIdHasBeenSet() const { return m_contextIdHasBeenSet; }
76 inline void SetContextId(const Aws::String& value) { m_contextIdHasBeenSet = true; m_contextId = value; }
77 inline void SetContextId(Aws::String&& value) { m_contextIdHasBeenSet = true; m_contextId = std::move(value); }
78 inline void SetContextId(const char* value) { m_contextIdHasBeenSet = true; m_contextId.assign(value); }
79 inline GetServiceQuotaRequest& WithContextId(const Aws::String& value) { SetContextId(value); return *this;}
80 inline GetServiceQuotaRequest& WithContextId(Aws::String&& value) { SetContextId(std::move(value)); return *this;}
81 inline GetServiceQuotaRequest& WithContextId(const char* value) { SetContextId(value); return *this;}
83 private:
84
85 Aws::String m_serviceCode;
86 bool m_serviceCodeHasBeenSet = false;
87
88 Aws::String m_quotaCode;
89 bool m_quotaCodeHasBeenSet = false;
90
91 Aws::String m_contextId;
92 bool m_contextIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ServiceQuotas
97} // namespace Aws
GetServiceQuotaRequest & WithQuotaCode(const char *value)
GetServiceQuotaRequest & WithQuotaCode(Aws::String &&value)
GetServiceQuotaRequest & WithQuotaCode(const Aws::String &value)
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetServiceQuotaRequest & WithServiceCode(Aws::String &&value)
GetServiceQuotaRequest & WithServiceCode(const char *value)
GetServiceQuotaRequest & WithServiceCode(const Aws::String &value)
GetServiceQuotaRequest & WithContextId(const Aws::String &value)
GetServiceQuotaRequest & WithContextId(Aws::String &&value)
GetServiceQuotaRequest & WithContextId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String