AWS SDK for C++  1.9.129
AWS SDK for C++
ListCertificatesRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListCertificates"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline int GetPageSize() const{ return m_pageSize; }
48 
52  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
53 
57  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
58 
62  inline ListCertificatesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
63 
64 
68  inline const Aws::String& GetMarker() const{ return m_marker; }
69 
73  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
74 
78  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
79 
83  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
84 
88  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
89 
93  inline ListCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
94 
98  inline ListCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
99 
103  inline ListCertificatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
104 
105 
110  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
111 
116  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
117 
122  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
123 
128  inline ListCertificatesRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
129 
130  private:
131 
132  int m_pageSize;
133  bool m_pageSizeHasBeenSet;
134 
135  Aws::String m_marker;
136  bool m_markerHasBeenSet;
137 
138  bool m_ascendingOrder;
139  bool m_ascendingOrderHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace IoT
144 } // namespace Aws
Aws::IoT::Model::ListCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCertificatesRequest.h:37
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListCertificatesRequest::WithPageSize
ListCertificatesRequest & WithPageSize(int value)
Definition: ListCertificatesRequest.h:62
Aws::IoT::Model::ListCertificatesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListCertificatesRequest.h:83
Aws::IoT::Model::ListCertificatesRequest::WithMarker
ListCertificatesRequest & WithMarker(const char *value)
Definition: ListCertificatesRequest.h:103
Aws::IoT::Model::ListCertificatesRequest::WithAscendingOrder
ListCertificatesRequest & WithAscendingOrder(bool value)
Definition: ListCertificatesRequest.h:128
Aws::IoT::Model::ListCertificatesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListCertificatesRequest.h:88
Aws::IoT::Model::ListCertificatesRequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListCertificatesRequest.h:122
Aws::IoT::Model::ListCertificatesRequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListCertificatesRequest.h:110
AWSString.h
Aws::IoT::Model::ListCertificatesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListCertificatesRequest.h:73
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListCertificatesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListCertificatesRequest.h:52
Aws::IoT::Model::ListCertificatesRequest::ListCertificatesRequest
ListCertificatesRequest()
Aws::IoT::Model::ListCertificatesRequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListCertificatesRequest.h:116
Aws::IoT::Model::ListCertificatesRequest::GetPageSize
int GetPageSize() const
Definition: ListCertificatesRequest.h:47
Aws::IoT::Model::ListCertificatesRequest::WithMarker
ListCertificatesRequest & WithMarker(Aws::String &&value)
Definition: ListCertificatesRequest.h:98
Aws::IoT::Model::ListCertificatesRequest::SetPageSize
void SetPageSize(int value)
Definition: ListCertificatesRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListCertificatesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListCertificatesRequest.h:78
Aws::IoT::Model::ListCertificatesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ListCertificatesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListCertificatesRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::ListCertificatesRequest::WithMarker
ListCertificatesRequest & WithMarker(const Aws::String &value)
Definition: ListCertificatesRequest.h:93
Aws::IoT::Model::ListCertificatesRequest
Definition: ListCertificatesRequest.h:29
IoT_EXPORTS.h