AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEventConfigurationsRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iot/model/EventType.h>
11#include <aws/iot/model/Configuration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoT
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateEventConfigurations"; }
33
34 AWS_IOT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::Map<EventType, Configuration>& GetEventConfigurations() const{ return m_eventConfigurations; }
42 inline bool EventConfigurationsHasBeenSet() const { return m_eventConfigurationsHasBeenSet; }
43 inline void SetEventConfigurations(const Aws::Map<EventType, Configuration>& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations = value; }
44 inline void SetEventConfigurations(Aws::Map<EventType, Configuration>&& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations = std::move(value); }
47 inline UpdateEventConfigurationsRequest& AddEventConfigurations(const EventType& key, const Configuration& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(key, value); return *this; }
48 inline UpdateEventConfigurationsRequest& AddEventConfigurations(EventType&& key, const Configuration& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(std::move(key), value); return *this; }
49 inline UpdateEventConfigurationsRequest& AddEventConfigurations(const EventType& key, Configuration&& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(key, std::move(value)); return *this; }
50 inline UpdateEventConfigurationsRequest& AddEventConfigurations(EventType&& key, Configuration&& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(std::move(key), std::move(value)); return *this; }
52 private:
53
54 Aws::Map<EventType, Configuration> m_eventConfigurations;
55 bool m_eventConfigurationsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace IoT
60} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
void SetEventConfigurations(const Aws::Map< EventType, Configuration > &value)
void SetEventConfigurations(Aws::Map< EventType, Configuration > &&value)
UpdateEventConfigurationsRequest & AddEventConfigurations(const EventType &key, const Configuration &value)
UpdateEventConfigurationsRequest & AddEventConfigurations(EventType &&key, Configuration &&value)
UpdateEventConfigurationsRequest & AddEventConfigurations(const EventType &key, Configuration &&value)
UpdateEventConfigurationsRequest & WithEventConfigurations(const Aws::Map< EventType, Configuration > &value)
UpdateEventConfigurationsRequest & WithEventConfigurations(Aws::Map< EventType, Configuration > &&value)
const Aws::Map< EventType, Configuration > & GetEventConfigurations() const
UpdateEventConfigurationsRequest & AddEventConfigurations(EventType &&key, const Configuration &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