AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListDevicePoolsRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/DevicePoolType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_DEVICEFARM_API ListDevicePoolsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListDevicePools"; }
36
37 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 ListDevicePoolsRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
61 inline DevicePoolType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(DevicePoolType value) { m_typeHasBeenSet = true; m_type = value; }
64 inline ListDevicePoolsRequest& WithType(DevicePoolType value) { SetType(value); return *this;}
66
68
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 template<typename NextTokenT = Aws::String>
75 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
76 template<typename NextTokenT = Aws::String>
77 ListDevicePoolsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
79 private:
80
81 Aws::String m_arn;
82 bool m_arnHasBeenSet = false;
83
85 bool m_typeHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DeviceFarm
93} // namespace Aws
AWS_DEVICEFARM_API ListDevicePoolsRequest()=default
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ListDevicePoolsRequest & WithType(DevicePoolType value)
ListDevicePoolsRequest & WithArn(ArnT &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ListDevicePoolsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String