AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_IOT_API UpdateEventConfigurationsRequest() = default;
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 template<typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
44 void SetEventConfigurations(EventConfigurationsT&& value) { m_eventConfigurationsHasBeenSet = true; m_eventConfigurations = std::forward<EventConfigurationsT>(value); }
45 template<typename EventConfigurationsT = Aws::Map<EventType, Configuration>>
46 UpdateEventConfigurationsRequest& WithEventConfigurations(EventConfigurationsT&& value) { SetEventConfigurations(std::forward<EventConfigurationsT>(value)); return *this;}
48 m_eventConfigurationsHasBeenSet = true; m_eventConfigurations.emplace(key, value); return *this;
49 }
51 private:
52
53 Aws::Map<EventType, Configuration> m_eventConfigurations;
54 bool m_eventConfigurationsHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace IoT
59} // namespace Aws
UpdateEventConfigurationsRequest & WithEventConfigurations(EventConfigurationsT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::Map< EventType, Configuration > & GetEventConfigurations() const
UpdateEventConfigurationsRequest & AddEventConfigurations(EventType key, 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