AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceTemplate.h
1
6#pragma once
7#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT1ClickProjects
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT1CLICKPROJECTS_API DeviceTemplate();
37 AWS_IOT1CLICKPROJECTS_API DeviceTemplate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOT1CLICKPROJECTS_API DeviceTemplate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
47 inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
48 inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
49 inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
50 inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
51 inline DeviceTemplate& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
52 inline DeviceTemplate& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
53 inline DeviceTemplate& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
55
57
61 inline const Aws::Map<Aws::String, Aws::String>& GetCallbackOverrides() const{ return m_callbackOverrides; }
62 inline bool CallbackOverridesHasBeenSet() const { return m_callbackOverridesHasBeenSet; }
63 inline void SetCallbackOverrides(const Aws::Map<Aws::String, Aws::String>& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides = value; }
64 inline void SetCallbackOverrides(Aws::Map<Aws::String, Aws::String>&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides = std::move(value); }
67 inline DeviceTemplate& AddCallbackOverrides(const Aws::String& key, const Aws::String& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, value); return *this; }
68 inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, const Aws::String& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), value); return *this; }
69 inline DeviceTemplate& AddCallbackOverrides(const Aws::String& key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, std::move(value)); return *this; }
70 inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), std::move(value)); return *this; }
71 inline DeviceTemplate& AddCallbackOverrides(const char* key, Aws::String&& value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, std::move(value)); return *this; }
72 inline DeviceTemplate& AddCallbackOverrides(Aws::String&& key, const char* value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(std::move(key), value); return *this; }
73 inline DeviceTemplate& AddCallbackOverrides(const char* key, const char* value) { m_callbackOverridesHasBeenSet = true; m_callbackOverrides.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_deviceType;
78 bool m_deviceTypeHasBeenSet = false;
79
80 Aws::Map<Aws::String, Aws::String> m_callbackOverrides;
81 bool m_callbackOverridesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace IoT1ClickProjects
86} // namespace Aws
DeviceTemplate & AddCallbackOverrides(const char *key, Aws::String &&value)
void SetDeviceType(const Aws::String &value)
DeviceTemplate & WithCallbackOverrides(Aws::Map< Aws::String, Aws::String > &&value)
DeviceTemplate & AddCallbackOverrides(const Aws::String &key, const Aws::String &value)
DeviceTemplate & AddCallbackOverrides(Aws::String &&key, const Aws::String &value)
DeviceTemplate & AddCallbackOverrides(Aws::String &&key, Aws::String &&value)
AWS_IOT1CLICKPROJECTS_API DeviceTemplate(Aws::Utils::Json::JsonView jsonValue)
DeviceTemplate & AddCallbackOverrides(const char *key, const char *value)
AWS_IOT1CLICKPROJECTS_API DeviceTemplate()
const Aws::Map< Aws::String, Aws::String > & GetCallbackOverrides() const
void SetCallbackOverrides(Aws::Map< Aws::String, Aws::String > &&value)
DeviceTemplate & WithDeviceType(Aws::String &&value)
DeviceTemplate & WithDeviceType(const Aws::String &value)
void SetCallbackOverrides(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceTemplate & WithDeviceType(const char *value)
DeviceTemplate & WithCallbackOverrides(const Aws::Map< Aws::String, Aws::String > &value)
DeviceTemplate & AddCallbackOverrides(Aws::String &&key, const char *value)
DeviceTemplate & AddCallbackOverrides(const Aws::String &key, Aws::String &&value)
AWS_IOT1CLICKPROJECTS_API DeviceTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue