AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendDataToMulticastGroupRequest.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/MulticastWirelessMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTWireless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTWIRELESS_API SendDataToMulticastGroupRequest();
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 "SendDataToMulticastGroup"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Aws::String& GetId() const{ return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
41 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
42 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
43 inline SendDataToMulticastGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline SendDataToMulticastGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline SendDataToMulticastGroupRequest& WithId(const char* value) { SetId(value); return *this;}
47
49
50 inline const Aws::String& GetPayloadData() const{ return m_payloadData; }
51 inline bool PayloadDataHasBeenSet() const { return m_payloadDataHasBeenSet; }
52 inline void SetPayloadData(const Aws::String& value) { m_payloadDataHasBeenSet = true; m_payloadData = value; }
53 inline void SetPayloadData(Aws::String&& value) { m_payloadDataHasBeenSet = true; m_payloadData = std::move(value); }
54 inline void SetPayloadData(const char* value) { m_payloadDataHasBeenSet = true; m_payloadData.assign(value); }
55 inline SendDataToMulticastGroupRequest& WithPayloadData(const Aws::String& value) { SetPayloadData(value); return *this;}
56 inline SendDataToMulticastGroupRequest& WithPayloadData(Aws::String&& value) { SetPayloadData(std::move(value)); return *this;}
57 inline SendDataToMulticastGroupRequest& WithPayloadData(const char* value) { SetPayloadData(value); return *this;}
59
61
62 inline const MulticastWirelessMetadata& GetWirelessMetadata() const{ return m_wirelessMetadata; }
63 inline bool WirelessMetadataHasBeenSet() const { return m_wirelessMetadataHasBeenSet; }
64 inline void SetWirelessMetadata(const MulticastWirelessMetadata& value) { m_wirelessMetadataHasBeenSet = true; m_wirelessMetadata = value; }
65 inline void SetWirelessMetadata(MulticastWirelessMetadata&& value) { m_wirelessMetadataHasBeenSet = true; m_wirelessMetadata = std::move(value); }
69 private:
70
71 Aws::String m_id;
72 bool m_idHasBeenSet = false;
73
74 Aws::String m_payloadData;
75 bool m_payloadDataHasBeenSet = false;
76
77 MulticastWirelessMetadata m_wirelessMetadata;
78 bool m_wirelessMetadataHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace IoTWireless
83} // namespace Aws
SendDataToMulticastGroupRequest & WithPayloadData(const Aws::String &value)
SendDataToMulticastGroupRequest & WithWirelessMetadata(const MulticastWirelessMetadata &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
SendDataToMulticastGroupRequest & WithId(const char *value)
SendDataToMulticastGroupRequest & WithPayloadData(const char *value)
SendDataToMulticastGroupRequest & WithWirelessMetadata(MulticastWirelessMetadata &&value)
SendDataToMulticastGroupRequest & WithId(Aws::String &&value)
SendDataToMulticastGroupRequest & WithPayloadData(Aws::String &&value)
SendDataToMulticastGroupRequest & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String