AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDevicesRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/devicefarm/model/DeviceFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DeviceFarm
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_DEVICEFARM_API ListDevicesRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListDevices"; }
37
38 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ListDevicesRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ListDevicesRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ListDevicesRequest& WithArn(const char* value) { SetArn(value); return *this;}
56
58
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline ListDevicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListDevicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListDevicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
110 inline const Aws::Vector<DeviceFilter>& GetFilters() const{ return m_filters; }
111 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
112 inline void SetFilters(const Aws::Vector<DeviceFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
113 inline void SetFilters(Aws::Vector<DeviceFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
114 inline ListDevicesRequest& WithFilters(const Aws::Vector<DeviceFilter>& value) { SetFilters(value); return *this;}
115 inline ListDevicesRequest& WithFilters(Aws::Vector<DeviceFilter>&& value) { SetFilters(std::move(value)); return *this;}
116 inline ListDevicesRequest& AddFilters(const DeviceFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
117 inline ListDevicesRequest& AddFilters(DeviceFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126
128 bool m_filtersHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace DeviceFarm
133} // namespace Aws
ListDevicesRequest & WithNextToken(const char *value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListDevicesRequest & WithNextToken(Aws::String &&value)
ListDevicesRequest & AddFilters(DeviceFilter &&value)
void SetFilters(Aws::Vector< DeviceFilter > &&value)
ListDevicesRequest & WithFilters(const Aws::Vector< DeviceFilter > &value)
ListDevicesRequest & WithArn(const char *value)
const Aws::Vector< DeviceFilter > & GetFilters() const
ListDevicesRequest & AddFilters(const DeviceFilter &value)
ListDevicesRequest & WithArn(const Aws::String &value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListDevicesRequest & WithNextToken(const Aws::String &value)
ListDevicesRequest & WithFilters(Aws::Vector< DeviceFilter > &&value)
void SetFilters(const Aws::Vector< DeviceFilter > &value)
ListDevicesRequest & WithArn(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector