AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FuotaTask.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTWIRELESS_API FuotaTask();
35 AWS_IOTWIRELESS_API FuotaTask(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTWIRELESS_API FuotaTask& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
45 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
46 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
47 inline FuotaTask& WithId(const Aws::String& value) { SetId(value); return *this;}
48 inline FuotaTask& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
49 inline FuotaTask& WithId(const char* value) { SetId(value); return *this;}
51
53
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline FuotaTask& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline FuotaTask& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline FuotaTask& WithArn(const char* value) { SetArn(value); return *this;}
63
65
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
69 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 inline FuotaTask& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline FuotaTask& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline FuotaTask& WithName(const char* value) { SetName(value); return *this;}
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 Aws::String m_arn;
81 bool m_arnHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTWireless
89} // namespace Aws
FuotaTask & WithArn(const char *value)
Definition FuotaTask.h:61
void SetId(Aws::String &&value)
Definition FuotaTask.h:45
AWS_IOTWIRELESS_API FuotaTask & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
Definition FuotaTask.h:54
FuotaTask & WithName(const char *value)
Definition FuotaTask.h:73
const Aws::String & GetId() const
Definition FuotaTask.h:42
FuotaTask & WithId(Aws::String &&value)
Definition FuotaTask.h:48
void SetName(Aws::String &&value)
Definition FuotaTask.h:69
FuotaTask & WithId(const Aws::String &value)
Definition FuotaTask.h:47
FuotaTask & WithName(const Aws::String &value)
Definition FuotaTask.h:71
void SetId(const char *value)
Definition FuotaTask.h:46
FuotaTask & WithArn(const Aws::String &value)
Definition FuotaTask.h:59
AWS_IOTWIRELESS_API FuotaTask(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
Definition FuotaTask.h:57
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const char *value)
Definition FuotaTask.h:70
const Aws::String & GetName() const
Definition FuotaTask.h:66
FuotaTask & WithArn(Aws::String &&value)
Definition FuotaTask.h:60
void SetName(const Aws::String &value)
Definition FuotaTask.h:68
void SetArn(const char *value)
Definition FuotaTask.h:58
FuotaTask & WithId(const char *value)
Definition FuotaTask.h:49
void SetId(const Aws::String &value)
Definition FuotaTask.h:44
AWS_IOTWIRELESS_API FuotaTask()
void SetArn(const Aws::String &value)
Definition FuotaTask.h:56
FuotaTask & WithName(Aws::String &&value)
Definition FuotaTask.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue