AWS SDK for C++  1.9.109
AWS SDK for C++
ListOutgoingCertificatesRequest.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 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListOutgoingCertificates"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline int GetPageSize() const{ return m_pageSize; }
49 
53  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
54 
58  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
59 
63  inline ListOutgoingCertificatesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
64 
65 
69  inline const Aws::String& GetMarker() const{ return m_marker; }
70 
74  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
75 
79  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
80 
84  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
85 
89  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
90 
94  inline ListOutgoingCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
95 
99  inline ListOutgoingCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
100 
104  inline ListOutgoingCertificatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
105 
106 
111  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
112 
117  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
118 
123  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
124 
129  inline ListOutgoingCertificatesRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
130 
131  private:
132 
133  int m_pageSize;
134  bool m_pageSizeHasBeenSet;
135 
136  Aws::String m_marker;
137  bool m_markerHasBeenSet;
138 
139  bool m_ascendingOrder;
140  bool m_ascendingOrderHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace IoT
145 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListOutgoingCertificatesRequest
Definition: ListOutgoingCertificatesRequest.h:30
Aws::IoT::Model::ListOutgoingCertificatesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListOutgoingCertificatesRequest.h:79
Aws::IoT::Model::ListOutgoingCertificatesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListOutgoingCertificatesRequest.h:74
Aws::IoT::Model::ListOutgoingCertificatesRequest::WithAscendingOrder
ListOutgoingCertificatesRequest & WithAscendingOrder(bool value)
Definition: ListOutgoingCertificatesRequest.h:129
Aws::IoT::Model::ListOutgoingCertificatesRequest::SetPageSize
void SetPageSize(int value)
Definition: ListOutgoingCertificatesRequest.h:58
Aws::IoT::Model::ListOutgoingCertificatesRequest::WithMarker
ListOutgoingCertificatesRequest & WithMarker(const char *value)
Definition: ListOutgoingCertificatesRequest.h:104
Aws::IoT::Model::ListOutgoingCertificatesRequest::ListOutgoingCertificatesRequest
ListOutgoingCertificatesRequest()
Aws::IoT::Model::ListOutgoingCertificatesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListOutgoingCertificatesRequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListOutgoingCertificatesRequest.h:111
Aws::IoT::Model::ListOutgoingCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListOutgoingCertificatesRequest.h:38
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListOutgoingCertificatesRequest::GetPageSize
int GetPageSize() const
Definition: ListOutgoingCertificatesRequest.h:48
Aws::IoT::Model::ListOutgoingCertificatesRequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListOutgoingCertificatesRequest.h:123
Aws::IoT::Model::ListOutgoingCertificatesRequest::WithPageSize
ListOutgoingCertificatesRequest & WithPageSize(int value)
Definition: ListOutgoingCertificatesRequest.h:63
Aws::IoT::Model::ListOutgoingCertificatesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListOutgoingCertificatesRequest.h:53
Aws::IoT::Model::ListOutgoingCertificatesRequest::WithMarker
ListOutgoingCertificatesRequest & WithMarker(Aws::String &&value)
Definition: ListOutgoingCertificatesRequest.h:99
Aws::IoT::Model::ListOutgoingCertificatesRequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListOutgoingCertificatesRequest.h:117
Aws::IoT::Model::ListOutgoingCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
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::ListOutgoingCertificatesRequest::WithMarker
ListOutgoingCertificatesRequest & WithMarker(const Aws::String &value)
Definition: ListOutgoingCertificatesRequest.h:94
IoTRequest.h
Aws::IoT::Model::ListOutgoingCertificatesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListOutgoingCertificatesRequest.h:84
Aws::IoT::Model::ListOutgoingCertificatesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListOutgoingCertificatesRequest.h:89
Aws::IoT::Model::ListOutgoingCertificatesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListOutgoingCertificatesRequest.h:69
IoT_EXPORTS.h