AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ListServicesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/service-quotas/ServiceQuotasRequest.h>
9#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ServiceQuotas {
15namespace Model {
16
20 public:
21 AWS_SERVICEQUOTAS_API ListServicesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListServices"; }
28
29 AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override;
30
31 AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
41 inline const Aws::String& GetNextToken() const { return m_nextToken; }
42 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
43 template <typename NextTokenT = Aws::String>
44 void SetNextToken(NextTokenT&& value) {
45 m_nextTokenHasBeenSet = true;
46 m_nextToken = std::forward<NextTokenT>(value);
47 }
48 template <typename NextTokenT = Aws::String>
49 ListServicesRequest& WithNextToken(NextTokenT&& value) {
50 SetNextToken(std::forward<NextTokenT>(value));
51 return *this;
52 }
54
56
68 inline int GetMaxResults() const { return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) {
71 m_maxResultsHasBeenSet = true;
72 m_maxResults = value;
73 }
75 SetMaxResults(value);
76 return *this;
77 }
79 private:
80 Aws::String m_nextToken;
81
82 int m_maxResults{0};
83 bool m_nextTokenHasBeenSet = false;
84 bool m_maxResultsHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ServiceQuotas
89} // namespace Aws
ListServicesRequest & WithMaxResults(int value)
AWS_SERVICEQUOTAS_API Aws::String SerializePayload() const override
AWS_SERVICEQUOTAS_API ListServicesRequest()=default
AWS_SERVICEQUOTAS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListServicesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String