AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
NotificationConfigurationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/EventType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API NotificationConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline EventType GetEventType() const { return m_eventType; }
42 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
43 inline void SetEventType(EventType value) {
44 m_eventTypeHasBeenSet = true;
45 m_eventType = value;
46 }
48 SetEventType(value);
49 return *this;
50 }
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) {
61 m_destinationNameHasBeenSet = true;
62 m_destinationName = std::forward<DestinationNameT>(value);
63 }
64 template <typename DestinationNameT = Aws::String>
66 SetDestinationName(std::forward<DestinationNameT>(value));
67 return *this;
68 }
70 private:
71 EventType m_eventType{EventType::NOT_SET};
72
73 Aws::String m_destinationName;
74 bool m_eventTypeHasBeenSet = false;
75 bool m_destinationNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoTManagedIntegrations
80} // 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