AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteQueuedMessagesRequest.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 DeleteQueuedMessagesRequest();
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 "DeleteQueuedMessages"; }
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 DeleteQueuedMessagesRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline DeleteQueuedMessagesRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline DeleteQueuedMessagesRequest& WithId(const char* value) { SetId(value); return *this;}
56
58
63 inline const Aws::String& GetMessageId() const{ return m_messageId; }
64 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
65 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
66 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
67 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
68 inline DeleteQueuedMessagesRequest& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
69 inline DeleteQueuedMessagesRequest& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
70 inline DeleteQueuedMessagesRequest& WithMessageId(const char* value) { SetMessageId(value); return *this;}
72
74
77 inline const WirelessDeviceType& GetWirelessDeviceType() const{ return m_wirelessDeviceType; }
78 inline bool WirelessDeviceTypeHasBeenSet() const { return m_wirelessDeviceTypeHasBeenSet; }
79 inline void SetWirelessDeviceType(const WirelessDeviceType& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = value; }
80 inline void SetWirelessDeviceType(WirelessDeviceType&& value) { m_wirelessDeviceTypeHasBeenSet = true; m_wirelessDeviceType = std::move(value); }
84 private:
85
86 Aws::String m_id;
87 bool m_idHasBeenSet = false;
88
89 Aws::String m_messageId;
90 bool m_messageIdHasBeenSet = false;
91
92 WirelessDeviceType m_wirelessDeviceType;
93 bool m_wirelessDeviceTypeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoTWireless
98} // namespace Aws
DeleteQueuedMessagesRequest & WithWirelessDeviceType(WirelessDeviceType &&value)
DeleteQueuedMessagesRequest & WithId(const char *value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
DeleteQueuedMessagesRequest & WithWirelessDeviceType(const WirelessDeviceType &value)
DeleteQueuedMessagesRequest & WithMessageId(const Aws::String &value)
DeleteQueuedMessagesRequest & WithMessageId(Aws::String &&value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteQueuedMessagesRequest & WithMessageId(const char *value)
DeleteQueuedMessagesRequest & WithId(Aws::String &&value)
DeleteQueuedMessagesRequest & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String