AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartFuotaTaskRequest.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/LoRaWANStartFuotaTask.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoTWireless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTWIRELESS_API StartFuotaTaskRequest() = 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 "StartFuotaTask"; }
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 template<typename IdT = Aws::String>
41 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
42 template<typename IdT = Aws::String>
43 StartFuotaTaskRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
45
47
48 inline const LoRaWANStartFuotaTask& GetLoRaWAN() const { return m_loRaWAN; }
49 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
50 template<typename LoRaWANT = LoRaWANStartFuotaTask>
51 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
52 template<typename LoRaWANT = LoRaWANStartFuotaTask>
53 StartFuotaTaskRequest& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
55 private:
56
57 Aws::String m_id;
58 bool m_idHasBeenSet = false;
59
60 LoRaWANStartFuotaTask m_loRaWAN;
61 bool m_loRaWANHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace IoTWireless
66} // 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