AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
46 inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
47 inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
48 inline ListServiceQuotasRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
49 inline ListServiceQuotasRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
50 inline ListServiceQuotasRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
52
54
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline ListServiceQuotasRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline ListServiceQuotasRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline ListServiceQuotasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70
72
84 inline int GetMaxResults() const{ return m_maxResults; }
85 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
86 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
87 inline ListServiceQuotasRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
89
91
96 inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; }
97 inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; }
98 inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; }
99 inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); }
100 inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); }
101 inline ListServiceQuotasRequest& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;}
102 inline ListServiceQuotasRequest& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;}
103 inline ListServiceQuotasRequest& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;}
105
107
110 inline const AppliedLevelEnum& GetQuotaAppliedAtLevel() const{ return m_quotaAppliedAtLevel; }
111 inline bool QuotaAppliedAtLevelHasBeenSet() const { return m_quotaAppliedAtLevelHasBeenSet; }
112 inline void SetQuotaAppliedAtLevel(const AppliedLevelEnum& value) { m_quotaAppliedAtLevelHasBeenSet = true; m_quotaAppliedAtLevel = value; }
113 inline void SetQuotaAppliedAtLevel(AppliedLevelEnum&& value) { m_quotaAppliedAtLevelHasBeenSet = true; m_quotaAppliedAtLevel = std::move(value); }
117 private:
118
119 Aws::String m_serviceCode;
120 bool m_serviceCodeHasBeenSet = false;
121
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124
125 int m_maxResults;
126 bool m_maxResultsHasBeenSet = false;
127
128 Aws::String m_quotaCode;
129 bool m_quotaCodeHasBeenSet = false;
130
131 AppliedLevelEnum m_quotaAppliedAtLevel;
132 bool m_quotaAppliedAtLevelHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace ServiceQuotas
137} // namespace Aws
ListServiceQuotasRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListServiceQuotasRequest & WithNextToken(const Aws::String &value)
ListServiceQuotasRequest & WithQuotaCode(const Aws::String &value)
ListServiceQuotasRequest & WithQuotaAppliedAtLevel(const AppliedLevelEnum &value)
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListServiceQuotasRequest & WithQuotaCode(const char *value)
ListServiceQuotasRequest & WithServiceCode(Aws::String &&value)
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
ListServiceQuotasRequest & WithNextToken(const char *value)
ListServiceQuotasRequest & WithServiceCode(const char *value)
ListServiceQuotasRequest & WithServiceCode(const Aws::String &value)
ListServiceQuotasRequest & WithQuotaCode(Aws::String &&value)
ListServiceQuotasRequest & WithQuotaAppliedAtLevel(AppliedLevelEnum &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String