AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListQueuedMessagesRequest.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/WirelessDeviceType.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 ListQueuedMessagesRequest();
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 "ListQueuedMessages"; }
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
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline ListQueuedMessagesRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline ListQueuedMessagesRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline ListQueuedMessagesRequest& WithId(const char* value) { SetId(value); return *this;}
56
58
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline ListQueuedMessagesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline ListQueuedMessagesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline ListQueuedMessagesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListQueuedMessagesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
87 inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; }
88 inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
89 inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; }
90 inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); }
94 private:
95
96 Aws::String m_id;
97 bool m_idHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
105 WirelessDeviceType m_wirelessDeviceType;
106 bool m_wirelessDeviceTypeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoTWireless
111} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListQueuedMessagesRequest & WithNextToken(const Aws::String &value)
void SetWirelessDeviceType(const WirelessDeviceType &value)
ListQueuedMessagesRequest & WithId(const Aws::String &value)
ListQueuedMessagesRequest & WithId(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListQueuedMessagesRequest & WithNextToken(Aws::String &&value)
ListQueuedMessagesRequest & WithMaxResults(int value)
ListQueuedMessagesRequest & WithWirelessDeviceType(WirelessDeviceType &&value)
ListQueuedMessagesRequest & WithId(Aws::String &&value)
ListQueuedMessagesRequest & WithNextToken(const char *value)
ListQueuedMessagesRequest & WithWirelessDeviceType(const WirelessDeviceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String