AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartFuotaTaskRequest.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/LoRaWANStartFuotaTask.h>
11
12#include <utility>
13
14namespace Aws {
15namespace IoTWireless {
16namespace Model {
17
21 public:
22 AWS_IOTWIRELESS_API StartFuotaTaskRequest() = 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 "StartFuotaTask"; }
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 LoRaWANStartFuotaTask& GetLoRaWAN() const { return m_loRaWAN; }
51 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
52 template <typename LoRaWANT = LoRaWANStartFuotaTask>
53 void SetLoRaWAN(LoRaWANT&& value) {
54 m_loRaWANHasBeenSet = true;
55 m_loRaWAN = std::forward<LoRaWANT>(value);
56 }
57 template <typename LoRaWANT = LoRaWANStartFuotaTask>
59 SetLoRaWAN(std::forward<LoRaWANT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_id;
65
66 LoRaWANStartFuotaTask m_loRaWAN;
67 bool m_idHasBeenSet = false;
68 bool m_loRaWANHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace IoTWireless
73} // namespace Aws
StartFuotaTaskRequest & WithId(IdT &&value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API StartFuotaTaskRequest()=default
const LoRaWANStartFuotaTask & GetLoRaWAN() const
StartFuotaTaskRequest & WithLoRaWAN(LoRaWANT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String