AWS SDK for C++  1.9.107
AWS SDK for C++
ListDevicesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkLink
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 "ListDevices"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
39 
43  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
44 
48  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
49 
53  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
54 
58  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
59 
63  inline ListDevicesRequest& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
64 
68  inline ListDevicesRequest& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
69 
73  inline ListDevicesRequest& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
74 
75 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
86  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 
92  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
93 
98  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
99 
104  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 
110  inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
116  inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 
122  inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
123 
124 
128  inline int GetMaxResults() const{ return m_maxResults; }
129 
133  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
134 
138  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 
143  inline ListDevicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
144 
145  private:
146 
147  Aws::String m_fleetArn;
148  bool m_fleetArnHasBeenSet;
149 
150  Aws::String m_nextToken;
151  bool m_nextTokenHasBeenSet;
152 
153  int m_maxResults;
154  bool m_maxResultsHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace WorkLink
159 } // namespace Aws
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97