AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlacementTemplate.h
1
6#pragma once
7#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot1click-projects/model/DeviceTemplate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT1ClickProjects
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT1CLICKPROJECTS_API PlacementTemplate();
38 AWS_IOT1CLICKPROJECTS_API PlacementTemplate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOT1CLICKPROJECTS_API PlacementTemplate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultAttributes() const{ return m_defaultAttributes; }
49 inline bool DefaultAttributesHasBeenSet() const { return m_defaultAttributesHasBeenSet; }
50 inline void SetDefaultAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes = value; }
51 inline void SetDefaultAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes = std::move(value); }
54 inline PlacementTemplate& AddDefaultAttributes(const Aws::String& key, const Aws::String& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, value); return *this; }
55 inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, const Aws::String& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), value); return *this; }
56 inline PlacementTemplate& AddDefaultAttributes(const Aws::String& key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, std::move(value)); return *this; }
57 inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), std::move(value)); return *this; }
58 inline PlacementTemplate& AddDefaultAttributes(const char* key, Aws::String&& value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, std::move(value)); return *this; }
59 inline PlacementTemplate& AddDefaultAttributes(Aws::String&& key, const char* value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(std::move(key), value); return *this; }
60 inline PlacementTemplate& AddDefaultAttributes(const char* key, const char* value) { m_defaultAttributesHasBeenSet = true; m_defaultAttributes.emplace(key, value); return *this; }
62
64
68 inline const Aws::Map<Aws::String, DeviceTemplate>& GetDeviceTemplates() const{ return m_deviceTemplates; }
69 inline bool DeviceTemplatesHasBeenSet() const { return m_deviceTemplatesHasBeenSet; }
70 inline void SetDeviceTemplates(const Aws::Map<Aws::String, DeviceTemplate>& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates = value; }
71 inline void SetDeviceTemplates(Aws::Map<Aws::String, DeviceTemplate>&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates = std::move(value); }
74 inline PlacementTemplate& AddDeviceTemplates(const Aws::String& key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, value); return *this; }
75 inline PlacementTemplate& AddDeviceTemplates(Aws::String&& key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(std::move(key), value); return *this; }
76 inline PlacementTemplate& AddDeviceTemplates(const Aws::String& key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, std::move(value)); return *this; }
77 inline PlacementTemplate& AddDeviceTemplates(Aws::String&& key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(std::move(key), std::move(value)); return *this; }
78 inline PlacementTemplate& AddDeviceTemplates(const char* key, DeviceTemplate&& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, std::move(value)); return *this; }
79 inline PlacementTemplate& AddDeviceTemplates(const char* key, const DeviceTemplate& value) { m_deviceTemplatesHasBeenSet = true; m_deviceTemplates.emplace(key, value); return *this; }
81 private:
82
83 Aws::Map<Aws::String, Aws::String> m_defaultAttributes;
84 bool m_defaultAttributesHasBeenSet = false;
85
87 bool m_deviceTemplatesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoT1ClickProjects
92} // namespace Aws
PlacementTemplate & WithDeviceTemplates(Aws::Map< Aws::String, DeviceTemplate > &&value)
AWS_IOT1CLICKPROJECTS_API Aws::Utils::Json::JsonValue Jsonize() const
PlacementTemplate & AddDeviceTemplates(const char *key, DeviceTemplate &&value)
PlacementTemplate & AddDefaultAttributes(Aws::String &&key, const Aws::String &value)
PlacementTemplate & AddDeviceTemplates(Aws::String &&key, const DeviceTemplate &value)
PlacementTemplate & AddDeviceTemplates(Aws::String &&key, DeviceTemplate &&value)
AWS_IOT1CLICKPROJECTS_API PlacementTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceTemplates(const Aws::Map< Aws::String, DeviceTemplate > &value)
PlacementTemplate & AddDeviceTemplates(const Aws::String &key, const DeviceTemplate &value)
PlacementTemplate & AddDefaultAttributes(const char *key, Aws::String &&value)
PlacementTemplate & AddDefaultAttributes(Aws::String &&key, Aws::String &&value)
PlacementTemplate & WithDeviceTemplates(const Aws::Map< Aws::String, DeviceTemplate > &value)
AWS_IOT1CLICKPROJECTS_API PlacementTemplate()
PlacementTemplate & WithDefaultAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PlacementTemplate & AddDefaultAttributes(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, DeviceTemplate > & GetDeviceTemplates() const
PlacementTemplate & AddDefaultAttributes(const char *key, const char *value)
PlacementTemplate & WithDefaultAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PlacementTemplate & AddDeviceTemplates(const Aws::String &key, DeviceTemplate &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultAttributes() const
PlacementTemplate & AddDeviceTemplates(const char *key, const DeviceTemplate &value)
void SetDefaultAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PlacementTemplate & AddDefaultAttributes(Aws::String &&key, const char *value)
PlacementTemplate & AddDefaultAttributes(const Aws::String &key, Aws::String &&value)
AWS_IOT1CLICKPROJECTS_API PlacementTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceTemplates(Aws::Map< Aws::String, DeviceTemplate > &&value)
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