AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListServiceQuotasRequest.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 <aws/service-quotas/model/AppliedLevelEnum.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ServiceQuotas
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SERVICEQUOTAS_API ListServiceQuotasRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListServiceQuotas"; }
32
33 AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override;
34
35 AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
44 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
45 template<typename ServiceCodeT = Aws::String>
46 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::forward<ServiceCodeT>(value); }
47 template<typename ServiceCodeT = Aws::String>
48 ListServiceQuotasRequest& WithServiceCode(ServiceCodeT&& value) { SetServiceCode(std::forward<ServiceCodeT>(value)); return *this;}
50
52
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template<typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<typename NextTokenT = Aws::String>
64 ListServiceQuotasRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
66
68
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
83 inline ListServiceQuotasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
85
87
92 inline const Aws::String& GetQuotaCode() const { return m_quotaCode; }
93 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
94 template<typename QuotaCodeT = Aws::String>
95 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::forward<QuotaCodeT>(value); }
96 template<typename QuotaCodeT = Aws::String>
97 ListServiceQuotasRequest& WithQuotaCode(QuotaCodeT&& value) { SetQuotaCode(std::forward<QuotaCodeT>(value)); return *this;}
99
101
106 inline AppliedLevelEnum GetQuotaAppliedAtLevel() const { return m_quotaAppliedAtLevel; }
107 inline bool QuotaAppliedAtLevelHasBeenSet() const { return m_quotaAppliedAtLevelHasBeenSet; }
108 inline void SetQuotaAppliedAtLevel(AppliedLevelEnum value) { m_quotaAppliedAtLevelHasBeenSet = true; m_quotaAppliedAtLevel = value; }
111 private:
112
113 Aws::String m_serviceCode;
114 bool m_serviceCodeHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 int m_maxResults{0};
120 bool m_maxResultsHasBeenSet = false;
121
122 Aws::String m_quotaCode;
123 bool m_quotaCodeHasBeenSet = false;
124
125 AppliedLevelEnum m_quotaAppliedAtLevel{AppliedLevelEnum::NOT_SET};
126 bool m_quotaAppliedAtLevelHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace ServiceQuotas
131} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListServiceQuotasRequest & WithQuotaAppliedAtLevel(AppliedLevelEnum value)
ListServiceQuotasRequest & WithServiceCode(ServiceCodeT &&value)
AWS_SERVICEQUOTAS_API ListServiceQuotasRequest()=default
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
ListServiceQuotasRequest & WithQuotaCode(QuotaCodeT &&value)
ListServiceQuotasRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String