AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ListDevicePoolsRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ListDevicePoolsRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ListDevicePoolsRequest& WithArn(const char* value) { SetArn(value); return *this;}
55
57
63 inline const DevicePoolType& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const DevicePoolType& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(DevicePoolType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline ListDevicePoolsRequest& WithType(const DevicePoolType& value) { SetType(value); return *this;}
68 inline ListDevicePoolsRequest& WithType(DevicePoolType&& value) { SetType(std::move(value)); return *this;}
70
72
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline ListDevicePoolsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline ListDevicePoolsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline ListDevicePoolsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::String m_arn;
88 bool m_arnHasBeenSet = false;
89
90 DevicePoolType m_type;
91 bool m_typeHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace DeviceFarm
99} // namespace Aws
ListDevicePoolsRequest & WithArn(const char *value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
ListDevicePoolsRequest & WithType(DevicePoolType &&value)
ListDevicePoolsRequest & WithType(const DevicePoolType &value)
ListDevicePoolsRequest & WithNextToken(Aws::String &&value)
ListDevicePoolsRequest & WithNextToken(const Aws::String &value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDevicePoolsRequest & WithNextToken(const char *value)
ListDevicePoolsRequest & WithArn(Aws::String &&value)
ListDevicePoolsRequest & WithArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String