AWS SDK for C++  1.9.132
AWS SDK for C++
ListAuthorizersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoT
20 {
21 namespace 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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline int GetPageSize() const{ return m_pageSize; }
46 
50  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
51 
55  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
56 
60  inline ListAuthorizersRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
61 
62 
66  inline const Aws::String& GetMarker() const{ return m_marker; }
67 
71  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
72 
76  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
77 
81  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
82 
86  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
87 
91  inline ListAuthorizersRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 
96  inline ListAuthorizersRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
97 
101  inline ListAuthorizersRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
102 
103 
107  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
108 
112  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
113 
117  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
118 
122  inline ListAuthorizersRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
123 
124 
128  inline const AuthorizerStatus& GetStatus() const{ return m_status; }
129 
133  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 
138  inline void SetStatus(const AuthorizerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
139 
143  inline void SetStatus(AuthorizerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
144 
148  inline ListAuthorizersRequest& WithStatus(const AuthorizerStatus& value) { SetStatus(value); return *this;}
149 
153  inline ListAuthorizersRequest& WithStatus(AuthorizerStatus&& value) { SetStatus(std::move(value)); return *this;}
154 
155  private:
156 
157  int m_pageSize;
158  bool m_pageSizeHasBeenSet;
159 
160  Aws::String m_marker;
161  bool m_markerHasBeenSet;
162 
163  bool m_ascendingOrder;
164  bool m_ascendingOrderHasBeenSet;
165 
166  AuthorizerStatus m_status;
167  bool m_statusHasBeenSet;
168  };
169 
170 } // namespace Model
171 } // namespace IoT
172 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListAuthorizersRequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListAuthorizersRequest.h:112
Aws::IoT::Model::ListAuthorizersRequest::GetPageSize
int GetPageSize() const
Definition: ListAuthorizersRequest.h:45
Aws::IoT::Model::ListAuthorizersRequest::GetStatus
const AuthorizerStatus & GetStatus() const
Definition: ListAuthorizersRequest.h:128
Aws::IoT::Model::ListAuthorizersRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListAuthorizersRequest.h:76
AuthorizerStatus.h
Aws::IoT::Model::ListAuthorizersRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListAuthorizersRequest.h:50
Aws::IoT::Model::ListAuthorizersRequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListAuthorizersRequest.h:107
Aws::IoT::Model::ListAuthorizersRequest
Definition: ListAuthorizersRequest.h:27
Aws::IoT::Model::ListAuthorizersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListAuthorizersRequest::WithStatus
ListAuthorizersRequest & WithStatus(AuthorizerStatus &&value)
Definition: ListAuthorizersRequest.h:153
Aws::IoT::Model::ListAuthorizersRequest::WithPageSize
ListAuthorizersRequest & WithPageSize(int value)
Definition: ListAuthorizersRequest.h:60
Aws::IoT::Model::ListAuthorizersRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListAuthorizersRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListAuthorizersRequest.h:133
Aws::IoT::Model::ListAuthorizersRequest::WithMarker
ListAuthorizersRequest & WithMarker(const Aws::String &value)
Definition: ListAuthorizersRequest.h:91
Aws::IoT::Model::ListAuthorizersRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListAuthorizersRequest.h:81
Aws::IoT::Model::ListAuthorizersRequest::SetMarker
void SetMarker(const char *value)
Definition: ListAuthorizersRequest.h:86
Aws::IoT::Model::ListAuthorizersRequest::WithAscendingOrder
ListAuthorizersRequest & WithAscendingOrder(bool value)
Definition: ListAuthorizersRequest.h:122
Aws::IoT::Model::ListAuthorizersRequest::SetPageSize
void SetPageSize(int value)
Definition: ListAuthorizersRequest.h:55
Aws::IoT::Model::ListAuthorizersRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListAuthorizersRequest.h:66
Aws::IoT::Model::ListAuthorizersRequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListAuthorizersRequest.h:117
Aws::IoT::Model::ListAuthorizersRequest::WithStatus
ListAuthorizersRequest & WithStatus(const AuthorizerStatus &value)
Definition: ListAuthorizersRequest.h:148
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListAuthorizersRequest::WithMarker
ListAuthorizersRequest & WithMarker(Aws::String &&value)
Definition: ListAuthorizersRequest.h:96
Aws::IoT::Model::ListAuthorizersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAuthorizersRequest.h:35
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListAuthorizersRequest::WithMarker
ListAuthorizersRequest & WithMarker(const char *value)
Definition: ListAuthorizersRequest.h:101
Aws::IoT::Model::ListAuthorizersRequest::SetStatus
void SetStatus(AuthorizerStatus &&value)
Definition: ListAuthorizersRequest.h:143
IoTRequest.h
Aws::IoT::Model::ListAuthorizersRequest::SetStatus
void SetStatus(const AuthorizerStatus &value)
Definition: ListAuthorizersRequest.h:138
Aws::IoT::Model::AuthorizerStatus
AuthorizerStatus
Definition: AuthorizerStatus.h:17
Aws::IoT::Model::ListAuthorizersRequest::ListAuthorizersRequest
ListAuthorizersRequest()
Aws::IoT::Model::ListAuthorizersRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListAuthorizersRequest.h:71
IoT_EXPORTS.h