AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListDeviceDiscoveriesRequest.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot-managed-integrations/model/DiscoveryType.h>
11#include <aws/iot-managed-integrations/model/DeviceDiscoveryStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTManagedIntegrations
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTMANAGEDINTEGRATIONS_API ListDeviceDiscoveriesRequest() = default;
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 "ListDeviceDiscoveries"; }
37
38 AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override;
39
40 AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetNextToken() const { return m_nextToken; }
48 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
49 template<typename NextTokenT = Aws::String>
50 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
51 template<typename NextTokenT = Aws::String>
52 ListDeviceDiscoveriesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
54
56
60 inline int GetMaxResults() const { return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListDeviceDiscoveriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline DiscoveryType GetTypeFilter() const { return m_typeFilter; }
71 inline bool TypeFilterHasBeenSet() const { return m_typeFilterHasBeenSet; }
72 inline void SetTypeFilter(DiscoveryType value) { m_typeFilterHasBeenSet = true; m_typeFilter = value; }
75
77
80 inline DeviceDiscoveryStatus GetStatusFilter() const { return m_statusFilter; }
81 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
82 inline void SetStatusFilter(DeviceDiscoveryStatus value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
85 private:
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92
94 bool m_typeFilterHasBeenSet = false;
95
97 bool m_statusFilterHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTManagedIntegrations
102} // namespace Aws
ListDeviceDiscoveriesRequest & WithStatusFilter(DeviceDiscoveryStatus value)
AWS_IOTMANAGEDINTEGRATIONS_API ListDeviceDiscoveriesRequest()=default
AWS_IOTMANAGEDINTEGRATIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDeviceDiscoveriesRequest & WithNextToken(NextTokenT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::String SerializePayload() const override
ListDeviceDiscoveriesRequest & WithTypeFilter(DiscoveryType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String