AWS SDK for C++  1.9.109
AWS SDK for C++
ListRoleAliasesRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListRoleAliases"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline int GetPageSize() const{ return m_pageSize; }
45 
49  inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
50 
54  inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
55 
59  inline ListRoleAliasesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
60 
61 
65  inline const Aws::String& GetMarker() const{ return m_marker; }
66 
70  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
71 
75  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
76 
80  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
81 
85  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
86 
90  inline ListRoleAliasesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
91 
95  inline ListRoleAliasesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
96 
100  inline ListRoleAliasesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
101 
102 
106  inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
107 
111  inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
112 
116  inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
117 
121  inline ListRoleAliasesRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
122 
123  private:
124 
125  int m_pageSize;
126  bool m_pageSizeHasBeenSet;
127 
128  Aws::String m_marker;
129  bool m_markerHasBeenSet;
130 
131  bool m_ascendingOrder;
132  bool m_ascendingOrderHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace IoT
137 } // namespace Aws
Aws::IoT::Model::ListRoleAliasesRequest::ListRoleAliasesRequest
ListRoleAliasesRequest()
Aws::IoT::Model::ListRoleAliasesRequest::WithMarker
ListRoleAliasesRequest & WithMarker(Aws::String &&value)
Definition: ListRoleAliasesRequest.h:95
Aws::IoT::Model::ListRoleAliasesRequest::GetPageSize
int GetPageSize() const
Definition: ListRoleAliasesRequest.h:44
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::ListRoleAliasesRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListRoleAliasesRequest.h:80
Aws::IoT::Model::ListRoleAliasesRequest::WithAscendingOrder
ListRoleAliasesRequest & WithAscendingOrder(bool value)
Definition: ListRoleAliasesRequest.h:121
Aws::IoT::Model::ListRoleAliasesRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListRoleAliasesRequest.h:75
Aws::IoT::Model::ListRoleAliasesRequest::GetAscendingOrder
bool GetAscendingOrder() const
Definition: ListRoleAliasesRequest.h:106
Aws::IoT::Model::ListRoleAliasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRoleAliasesRequest.h:34
Aws::IoT::Model::ListRoleAliasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::ListRoleAliasesRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ListRoleAliasesRequest.h:70
Aws::IoT::Model::ListRoleAliasesRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ListRoleAliasesRequest.h:65
Aws::IoT::Model::ListRoleAliasesRequest::WithMarker
ListRoleAliasesRequest & WithMarker(const char *value)
Definition: ListRoleAliasesRequest.h:100
Aws::IoT::Model::ListRoleAliasesRequest::WithMarker
ListRoleAliasesRequest & WithMarker(const Aws::String &value)
Definition: ListRoleAliasesRequest.h:90
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::ListRoleAliasesRequest::SetPageSize
void SetPageSize(int value)
Definition: ListRoleAliasesRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListRoleAliasesRequest::PageSizeHasBeenSet
bool PageSizeHasBeenSet() const
Definition: ListRoleAliasesRequest.h:49
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::ListRoleAliasesRequest
Definition: ListRoleAliasesRequest.h:26
IoTRequest.h
Aws::IoT::Model::ListRoleAliasesRequest::SetMarker
void SetMarker(const char *value)
Definition: ListRoleAliasesRequest.h:85
Aws::IoT::Model::ListRoleAliasesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::ListRoleAliasesRequest::AscendingOrderHasBeenSet
bool AscendingOrderHasBeenSet() const
Definition: ListRoleAliasesRequest.h:111
Aws::IoT::Model::ListRoleAliasesRequest::WithPageSize
ListRoleAliasesRequest & WithPageSize(int value)
Definition: ListRoleAliasesRequest.h:59
IoT_EXPORTS.h
Aws::IoT::Model::ListRoleAliasesRequest::SetAscendingOrder
void SetAscendingOrder(bool value)
Definition: ListRoleAliasesRequest.h:116