AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 StartFuotaTaskRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
44 inline StartFuotaTaskRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
45 inline StartFuotaTaskRequest& WithId(const char* value) { SetId(value); return *this;}
47
49
50 inline const LoRaWANStartFuotaTask& GetLoRaWAN() const{ return m_loRaWAN; }
51 inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
52 inline void SetLoRaWAN(const LoRaWANStartFuotaTask& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
53 inline void SetLoRaWAN(LoRaWANStartFuotaTask&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
54 inline StartFuotaTaskRequest& WithLoRaWAN(const LoRaWANStartFuotaTask& value) { SetLoRaWAN(value); return *this;}
55 inline StartFuotaTaskRequest& WithLoRaWAN(LoRaWANStartFuotaTask&& value) { SetLoRaWAN(std::move(value)); return *this;}
57 private:
58
59 Aws::String m_id;
60 bool m_idHasBeenSet = false;
61
62 LoRaWANStartFuotaTask m_loRaWAN;
63 bool m_loRaWANHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace IoTWireless
68} // namespace Aws
void SetLoRaWAN(LoRaWANStartFuotaTask &&value)
StartFuotaTaskRequest & WithLoRaWAN(LoRaWANStartFuotaTask &&value)
void SetLoRaWAN(const LoRaWANStartFuotaTask &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
StartFuotaTaskRequest & WithId(const char *value)
StartFuotaTaskRequest & WithLoRaWAN(const LoRaWANStartFuotaTask &value)
const LoRaWANStartFuotaTask & GetLoRaWAN() const
StartFuotaTaskRequest & WithId(Aws::String &&value)
StartFuotaTaskRequest & WithId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String