AWS SDK for C++  1.9.158
AWS SDK for C++
ListServerCertificatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListServerCertificates"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
52  inline const Aws::String& GetPathPrefix() const{ return m_pathPrefix; }
53 
67  inline bool PathPrefixHasBeenSet() const { return m_pathPrefixHasBeenSet; }
68 
82  inline void SetPathPrefix(const Aws::String& value) { m_pathPrefixHasBeenSet = true; m_pathPrefix = value; }
83 
97  inline void SetPathPrefix(Aws::String&& value) { m_pathPrefixHasBeenSet = true; m_pathPrefix = std::move(value); }
98 
112  inline void SetPathPrefix(const char* value) { m_pathPrefixHasBeenSet = true; m_pathPrefix.assign(value); }
113 
127  inline ListServerCertificatesRequest& WithPathPrefix(const Aws::String& value) { SetPathPrefix(value); return *this;}
128 
142  inline ListServerCertificatesRequest& WithPathPrefix(Aws::String&& value) { SetPathPrefix(std::move(value)); return *this;}
143 
157  inline ListServerCertificatesRequest& WithPathPrefix(const char* value) { SetPathPrefix(value); return *this;}
158 
159 
166  inline const Aws::String& GetMarker() const{ return m_marker; }
167 
174  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
175 
182  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
183 
190  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
191 
198  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
199 
206  inline ListServerCertificatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
207 
214  inline ListServerCertificatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
215 
222  inline ListServerCertificatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
223 
224 
235  inline int GetMaxItems() const{ return m_maxItems; }
236 
247  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
248 
259  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
260 
271  inline ListServerCertificatesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
272 
273  private:
274 
275  Aws::String m_pathPrefix;
276  bool m_pathPrefixHasBeenSet;
277 
278  Aws::String m_marker;
279  bool m_markerHasBeenSet;
280 
281  int m_maxItems;
282  bool m_maxItemsHasBeenSet;
283  };
284 
285 } // namespace Model
286 } // namespace IAM
287 } // namespace Aws
Aws::IAM::Model::ListServerCertificatesRequest::SetPathPrefix
void SetPathPrefix(const Aws::String &value)
Definition: ListServerCertificatesRequest.h:82
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::ListServerCertificatesRequest::WithPathPrefix
ListServerCertificatesRequest & WithPathPrefix(Aws::String &&value)
Definition: ListServerCertificatesRequest.h:142
Aws::IAM::Model::ListServerCertificatesRequest::GetPathPrefix
const Aws::String & GetPathPrefix() const
Definition: ListServerCertificatesRequest.h:52
Aws::IAM::Model::ListServerCertificatesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListServerCertificatesRequest.h:198
Aws::IAM::Model::ListServerCertificatesRequest::WithMarker
ListServerCertificatesRequest & WithMarker(Aws::String &&value)
Definition: ListServerCertificatesRequest.h:214
Aws::IAM::Model::ListServerCertificatesRequest::SetPathPrefix
void SetPathPrefix(const char *value)
Definition: ListServerCertificatesRequest.h:112
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::IAM::Model::ListServerCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::ListServerCertificatesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListServerCertificatesRequest.h:182
Aws::IAM::Model::ListServerCertificatesRequest::WithMarker
ListServerCertificatesRequest & WithMarker(const Aws::String &value)
Definition: ListServerCertificatesRequest.h:206
Aws::IAM::Model::ListServerCertificatesRequest::WithPathPrefix
ListServerCertificatesRequest & WithPathPrefix(const char *value)
Definition: ListServerCertificatesRequest.h:157
Aws::IAM::Model::ListServerCertificatesRequest::GetMaxItems
int GetMaxItems() const
Definition: ListServerCertificatesRequest.h:235
Aws::IAM::Model::ListServerCertificatesRequest::WithMaxItems
ListServerCertificatesRequest & WithMaxItems(int value)
Definition: ListServerCertificatesRequest.h:271
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::ListServerCertificatesRequest
Definition: ListServerCertificatesRequest.h:22
Aws::IAM::Model::ListServerCertificatesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListServerCertificatesRequest.h:190
AWSString.h
Aws::IAM::Model::ListServerCertificatesRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ListServerCertificatesRequest.h:259
Aws::IAM::Model::ListServerCertificatesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::ListServerCertificatesRequest::PathPrefixHasBeenSet
bool PathPrefixHasBeenSet() const
Definition: ListServerCertificatesRequest.h:67
Aws::IAM::Model::ListServerCertificatesRequest::WithMarker
ListServerCertificatesRequest & WithMarker(const char *value)
Definition: ListServerCertificatesRequest.h:222
Aws::IAM::Model::ListServerCertificatesRequest::ListServerCertificatesRequest
ListServerCertificatesRequest()
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::ListServerCertificatesRequest::WithPathPrefix
ListServerCertificatesRequest & WithPathPrefix(const Aws::String &value)
Definition: ListServerCertificatesRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::ListServerCertificatesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListServerCertificatesRequest.h:166
Aws::IAM::Model::ListServerCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListServerCertificatesRequest.h:30
Aws::IAM::Model::ListServerCertificatesRequest::SetPathPrefix
void SetPathPrefix(Aws::String &&value)
Definition: ListServerCertificatesRequest.h:97
Aws::IAM::Model::ListServerCertificatesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListServerCertificatesRequest.h:174
Aws::IAM::Model::ListServerCertificatesRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ListServerCertificatesRequest.h:247