AWS SDK for C++  1.8.71
AWS SDK for C++
ListVirtualMFADevicesRequest.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>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IAM
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListVirtualMFADevices"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
46  inline const AssignmentStatusType& GetAssignmentStatus() const{ return m_assignmentStatus; }
47 
54  inline bool AssignmentStatusHasBeenSet() const { return m_assignmentStatusHasBeenSet; }
55 
62  inline void SetAssignmentStatus(const AssignmentStatusType& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = value; }
63 
70  inline void SetAssignmentStatus(AssignmentStatusType&& value) { m_assignmentStatusHasBeenSet = true; m_assignmentStatus = std::move(value); }
71 
78  inline ListVirtualMFADevicesRequest& WithAssignmentStatus(const AssignmentStatusType& value) { SetAssignmentStatus(value); return *this;}
79 
86  inline ListVirtualMFADevicesRequest& WithAssignmentStatus(AssignmentStatusType&& value) { SetAssignmentStatus(std::move(value)); return *this;}
87 
88 
95  inline const Aws::String& GetMarker() const{ return m_marker; }
96 
103  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
104 
111  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
112 
119  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
120 
127  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
128 
135  inline ListVirtualMFADevicesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
136 
143  inline ListVirtualMFADevicesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
144 
151  inline ListVirtualMFADevicesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
152 
153 
164  inline int GetMaxItems() const{ return m_maxItems; }
165 
176  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
177 
188  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
189 
200  inline ListVirtualMFADevicesRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
201 
202  private:
203 
204  AssignmentStatusType m_assignmentStatus;
205  bool m_assignmentStatusHasBeenSet;
206 
207  Aws::String m_marker;
208  bool m_markerHasBeenSet;
209 
210  int m_maxItems;
211  bool m_maxItemsHasBeenSet;
212  };
213 
214 } // namespace Model
215 } // namespace IAM
216 } // namespace Aws
ListVirtualMFADevicesRequest & WithAssignmentStatus(AssignmentStatusType &&value)
ListVirtualMFADevicesRequest & WithMarker(const char *value)
ListVirtualMFADevicesRequest & WithAssignmentStatus(const AssignmentStatusType &value)
virtual const char * GetServiceRequestName() const override
void SetAssignmentStatus(AssignmentStatusType &&value)
ListVirtualMFADevicesRequest & WithMarker(const Aws::String &value)
void SetAssignmentStatus(const AssignmentStatusType &value)
ListVirtualMFADevicesRequest & WithMaxItems(int value)
const AssignmentStatusType & GetAssignmentStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
ListVirtualMFADevicesRequest & WithMarker(Aws::String &&value)