AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
59 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
60 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
61 inline ListAuthorizersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
62 inline ListAuthorizersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
63 inline ListAuthorizersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
65
67
70 inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
71 inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
72 inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
73 inline ListAuthorizersRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
75
77
80 inline const AuthorizerStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const AuthorizerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(AuthorizerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
84 inline ListAuthorizersRequest& WithStatus(const AuthorizerStatus& value) { SetStatus(value); return *this;}
85 inline ListAuthorizersRequest& WithStatus(AuthorizerStatus&& value) { SetStatus(std::move(value)); return *this;}
87 private:
88
89 int m_pageSize;
90 bool m_pageSizeHasBeenSet = false;
91
92 Aws::String m_marker;
93 bool m_markerHasBeenSet = false;
94
95 bool m_ascendingOrder;
96 bool m_ascendingOrderHasBeenSet = false;
97
98 AuthorizerStatus m_status;
99 bool m_statusHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IoT
104} // namespace Aws
ListAuthorizersRequest & WithMarker(Aws::String &&value)
void SetStatus(const AuthorizerStatus &value)
const AuthorizerStatus & GetStatus() const
ListAuthorizersRequest & WithStatus(const AuthorizerStatus &value)
ListAuthorizersRequest & WithStatus(AuthorizerStatus &&value)
ListAuthorizersRequest & WithPageSize(int value)
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListAuthorizersRequest & WithMarker(const char *value)
ListAuthorizersRequest & WithMarker(const Aws::String &value)
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