AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
NotificationConfigurationSummary.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/EventType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 IoTManagedIntegrations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline EventType GetEventType() const { return m_eventType; }
48 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
49 inline void SetEventType(EventType value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
52
54
57 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
58 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
59 template<typename DestinationNameT = Aws::String>
60 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
61 template<typename DestinationNameT = Aws::String>
62 NotificationConfigurationSummary& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
64 private:
65
66 EventType m_eventType{EventType::NOT_SET};
67 bool m_eventTypeHasBeenSet = false;
68
69 Aws::String m_destinationName;
70 bool m_destinationNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTManagedIntegrations
75} // namespace Aws
NotificationConfigurationSummary & WithDestinationName(DestinationNameT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue