AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateMulticastGroupRequest.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/LoRaWANMulticast.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTWireless {
16namespace Model {
17
21 public:
22 AWS_IOTWIRELESS_API UpdateMulticastGroupRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateMulticastGroup"; }
29
30 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
31
33
34 inline const Aws::String& GetId() const { return m_id; }
35 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
36 template <typename IdT = Aws::String>
37 void SetId(IdT&& value) {
38 m_idHasBeenSet = true;
39 m_id = std::forward<IdT>(value);
40 }
41 template <typename IdT = Aws::String>
43 SetId(std::forward<IdT>(value));
44 return *this;
45 }
47
49
50 inline const Aws::String& GetName() const { return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 template <typename NameT = Aws::String>
53 void SetName(NameT&& value) {
54 m_nameHasBeenSet = true;
55 m_name = std::forward<NameT>(value);
56 }
57 template <typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template <typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) {
70 m_descriptionHasBeenSet = true;
71 m_description = std::forward<DescriptionT>(value);
72 }
73 template <typename DescriptionT = Aws::String>
75 SetDescription(std::forward<DescriptionT>(value));
76 return *this;
77 }
79
81
82 inline const LoRaWANMulticast& GetLoRaWAN() const { return m_loRaWAN; }
83 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
84 template <typename LoRaWANT = LoRaWANMulticast>
85 void SetLoRaWAN(LoRaWANT&& value) {
86 m_loRaWANHasBeenSet = true;
87 m_loRaWAN = std::forward<LoRaWANT>(value);
88 }
89 template <typename LoRaWANT = LoRaWANMulticast>
91 SetLoRaWAN(std::forward<LoRaWANT>(value));
92 return *this;
93 }
95 private:
96 Aws::String m_id;
97
98 Aws::String m_name;
99
100 Aws::String m_description;
101
102 LoRaWANMulticast m_loRaWAN;
103 bool m_idHasBeenSet = false;
104 bool m_nameHasBeenSet = false;
105 bool m_descriptionHasBeenSet = false;
106 bool m_loRaWANHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace IoTWireless
111} // namespace Aws
UpdateMulticastGroupRequest & WithLoRaWAN(LoRaWANT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API UpdateMulticastGroupRequest()=default
UpdateMulticastGroupRequest & WithName(NameT &&value)
UpdateMulticastGroupRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String