AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeviceProfilesRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/DeviceProfileType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API ListDeviceProfilesRequest();
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 "ListDeviceProfiles"; }
36
37 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
49 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
52 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
53 inline ListDeviceProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
54 inline ListDeviceProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
55 inline ListDeviceProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
57
59
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListDeviceProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
73 inline const DeviceProfileType& GetDeviceProfileType() const{ return m_deviceProfileType; }
74 inline bool DeviceProfileTypeHasBeenSet() const { return m_deviceProfileTypeHasBeenSet; }
75 inline void SetDeviceProfileType(const DeviceProfileType& value) { m_deviceProfileTypeHasBeenSet = true; m_deviceProfileType = value; }
76 inline void SetDeviceProfileType(DeviceProfileType&& value) { m_deviceProfileTypeHasBeenSet = true; m_deviceProfileType = std::move(value); }
80 private:
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 int m_maxResults;
86 bool m_maxResultsHasBeenSet = false;
87
88 DeviceProfileType m_deviceProfileType;
89 bool m_deviceProfileTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTWireless
94} // namespace Aws
ListDeviceProfilesRequest & WithNextToken(Aws::String &&value)
void SetDeviceProfileType(const DeviceProfileType &value)
virtual const char * GetServiceRequestName() const override
ListDeviceProfilesRequest & WithMaxResults(int value)
ListDeviceProfilesRequest & WithDeviceProfileType(const DeviceProfileType &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
ListDeviceProfilesRequest & WithNextToken(const char *value)
ListDeviceProfilesRequest & WithDeviceProfileType(DeviceProfileType &&value)
ListDeviceProfilesRequest & WithNextToken(const Aws::String &value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String