AWS SDK for C++  1.9.132
AWS SDK for C++
ListCertificatesByCARequest.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 "ListCertificatesByCA"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetCaCertificateId() const{ return m_caCertificateId; }
50 
55  inline bool CaCertificateIdHasBeenSet() const { return m_caCertificateIdHasBeenSet; }
56 
61  inline void SetCaCertificateId(const Aws::String& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = value; }
62 
67  inline void SetCaCertificateId(Aws::String&& value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId = std::move(value); }
68 
73  inline void SetCaCertificateId(const char* value) { m_caCertificateIdHasBeenSet = true; m_caCertificateId.assign(value); }
74 
79  inline ListCertificatesByCARequest& WithCaCertificateId(const Aws::String& value) { SetCaCertificateId(value); return *this;}
80 
85  inline ListCertificatesByCARequest& WithCaCertificateId(Aws::String&& value) { SetCaCertificateId(std::move(value)); return *this;}
86 
91  inline ListCertificatesByCARequest& WithCaCertificateId(const char* value) { SetCaCertificateId(value); return *this;}
92 
93 
97  inline int GetPageSize() const{ return m_pageSize; }
98 
102  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
103 
107  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
108 
112  inline ListCertificatesByCARequest& WithPageSize(int value) { SetPageSize(value); return *this;}
113 
114 
118  inline const Aws::String& GetMarker() const{ return m_marker; }
119 
123  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
124 
128  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
129 
133  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
134 
138  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
139 
143  inline ListCertificatesByCARequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
144 
148  inline ListCertificatesByCARequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
149 
153  inline ListCertificatesByCARequest& WithMarker(const char* value) { SetMarker(value); return *this;}
154 
155 
160  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
161 
166  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
167 
172  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
173 
178  inline ListCertificatesByCARequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
179 
180  private:
181 
182  Aws::String m_caCertificateId;
183  bool m_caCertificateIdHasBeenSet;
184 
185  int m_pageSize;
186  bool m_pageSizeHasBeenSet;
187 
188  Aws::String m_marker;
189  bool m_markerHasBeenSet;
190 
191  bool m_ascendingOrder;
192  bool m_ascendingOrderHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace IoT
197 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListCertificatesByCARequest::SetCaCertificateId
void SetCaCertificateId(const char *value)
Definition: ListCertificatesByCARequest.h:73
Aws::IoT::Model::ListCertificatesByCARequest::WithMarker
ListCertificatesByCARequest & WithMarker(const Aws::String &value)
Definition: ListCertificatesByCARequest.h:143
Aws::IoT::Model::ListCertificatesByCARequest::WithCaCertificateId
ListCertificatesByCARequest & WithCaCertificateId(Aws::String &&value)
Definition: ListCertificatesByCARequest.h:85
Aws::IoT::Model::ListCertificatesByCARequest::WithPageSize
ListCertificatesByCARequest & WithPageSize(int value)
Definition: ListCertificatesByCARequest.h:112
Aws::IoT::Model::ListCertificatesByCARequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListCertificatesByCARequest.h:102
Aws::IoT::Model::ListCertificatesByCARequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListCertificatesByCARequest.h:128
Aws::IoT::Model::ListCertificatesByCARequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListCertificatesByCARequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListCertificatesByCARequest.h:133
Aws::IoT::Model::ListCertificatesByCARequest::GetCaCertificateId
const Aws::String & GetCaCertificateId() const
Definition: ListCertificatesByCARequest.h:49
Aws::IoT::Model::ListCertificatesByCARequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListCertificatesByCARequest.h:123
Aws::IoT::Model::ListCertificatesByCARequest
Definition: ListCertificatesByCARequest.h:30
Aws::IoT::Model::ListCertificatesByCARequest::SetCaCertificateId
void SetCaCertificateId(Aws::String &&value)
Definition: ListCertificatesByCARequest.h:67
Aws::IoT::Model::ListCertificatesByCARequest::WithMarker
ListCertificatesByCARequest & WithMarker(Aws::String &&value)
Definition: ListCertificatesByCARequest.h:148
Aws::IoT::Model::ListCertificatesByCARequest::ListCertificatesByCARequest
ListCertificatesByCARequest()
Aws::IoT::Model::ListCertificatesByCARequest::SetPageSize
void SetPageSize(int value)
Definition: ListCertificatesByCARequest.h:107
Aws::IoT::Model::ListCertificatesByCARequest::SetCaCertificateId
void SetCaCertificateId(const Aws::String &value)
Definition: ListCertificatesByCARequest.h:61
Aws::IoT::Model::ListCertificatesByCARequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCertificatesByCARequest.h:38
Aws::IoT::Model::ListCertificatesByCARequest::WithCaCertificateId
ListCertificatesByCARequest & WithCaCertificateId(const Aws::String &value)
Definition: ListCertificatesByCARequest.h:79
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListCertificatesByCARequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListCertificatesByCARequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListCertificatesByCARequest.h:172
Aws::IoT::Model::ListCertificatesByCARequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListCertificatesByCARequest.h:166
Aws::IoT::Model::ListCertificatesByCARequest::CaCertificateIdHasBeenSet
bool CaCertificateIdHasBeenSet() const
Definition: ListCertificatesByCARequest.h:55
Aws::IoT::Model::ListCertificatesByCARequest::SetMarker
void SetMarker(const char *value)
Definition: ListCertificatesByCARequest.h:138
Aws::IoT::Model::ListCertificatesByCARequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListCertificatesByCARequest.h:160
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListCertificatesByCARequest::WithCaCertificateId
ListCertificatesByCARequest & WithCaCertificateId(const char *value)
Definition: ListCertificatesByCARequest.h:91
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ListCertificatesByCARequest::WithAscendingOrder
ListCertificatesByCARequest & WithAscendingOrder(bool value)
Definition: ListCertificatesByCARequest.h:178
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
IoTRequest.h
Aws::IoT::Model::ListCertificatesByCARequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListCertificatesByCARequest.h:118
Aws::IoT::Model::ListCertificatesByCARequest::GetPageSize
int GetPageSize() const
Definition: ListCertificatesByCARequest.h:97
Aws::IoT::Model::ListCertificatesByCARequest::WithMarker
ListCertificatesByCARequest & WithMarker(const char *value)
Definition: ListCertificatesByCARequest.h:153
IoT_EXPORTS.h