AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAuthorizersRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/AuthorizerStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoT
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOT_API ListAuthorizersRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListAuthorizers"; }
36
37 AWS_IOT_API Aws::String SerializePayload() const override;
38
39 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline int GetPageSize() const { return m_pageSize; }
47 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
48 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
49 inline ListAuthorizersRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
51
53
56 inline const Aws::String& GetMarker() const { return m_marker; }
57 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
58 template<typename MarkerT = Aws::String>
59 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
60 template<typename MarkerT = Aws::String>
61 ListAuthorizersRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
63
65
68 inline bool GetAscendingOrder() const { return m_ascendingOrder; }
69 inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
70 inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
71 inline ListAuthorizersRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
73
75
78 inline AuthorizerStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(AuthorizerStatus value) { m_statusHasBeenSet = true; m_status = value; }
81 inline ListAuthorizersRequest& WithStatus(AuthorizerStatus value) { SetStatus(value); return *this;}
83 private:
84
85 int m_pageSize{0};
86 bool m_pageSizeHasBeenSet = false;
87
88 Aws::String m_marker;
89 bool m_markerHasBeenSet = false;
90
91 bool m_ascendingOrder{false};
92 bool m_ascendingOrderHasBeenSet = false;
93
95 bool m_statusHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoT
100} // namespace Aws
ListAuthorizersRequest & WithStatus(AuthorizerStatus value)
ListAuthorizersRequest & WithMarker(MarkerT &&value)
AWS_IOT_API ListAuthorizersRequest()=default
ListAuthorizersRequest & WithPageSize(int value)
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListAuthorizersRequest & WithAscendingOrder(bool value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String