AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteQueuedMessagesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/WirelessDeviceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace IoTWireless {
19namespace Model {
20
24 public:
25 AWS_IOTWIRELESS_API DeleteQueuedMessagesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteQueuedMessages"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetMessageId() const { return m_messageId; }
63 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
64 template <typename MessageIdT = Aws::String>
65 void SetMessageId(MessageIdT&& value) {
66 m_messageIdHasBeenSet = true;
67 m_messageId = std::forward<MessageIdT>(value);
68 }
69 template <typename MessageIdT = Aws::String>
71 SetMessageId(std::forward<MessageIdT>(value));
72 return *this;
73 }
75
77
80 inline WirelessDeviceType GetWirelessDeviceType() const { return m_wirelessDeviceType; }
81 inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
83 m_wirelessDeviceTypeHasBeenSet = true;
84 m_wirelessDeviceType = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_id;
93
94 Aws::String m_messageId;
95
97 bool m_idHasBeenSet = false;
98 bool m_messageIdHasBeenSet = false;
99 bool m_wirelessDeviceTypeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace IoTWireless
104} // namespace Aws
DeleteQueuedMessagesRequest & WithWirelessDeviceType(WirelessDeviceType value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOTWIRELESS_API DeleteQueuedMessagesRequest()=default
DeleteQueuedMessagesRequest & WithMessageId(MessageIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String