AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EventConfigurationItem.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/IdentifierType.h>
10#include <aws/iotwireless/model/EventNotificationPartnerType.h>
11#include <aws/iotwireless/model/EventNotificationItemConfigurations.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTWIRELESS_API EventConfigurationItem() = default;
39 AWS_IOTWIRELESS_API EventConfigurationItem(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetIdentifier() const { return m_identifier; }
49 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
50 template<typename IdentifierT = Aws::String>
51 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
52 template<typename IdentifierT = Aws::String>
53 EventConfigurationItem& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
55
57
61 inline IdentifierType GetIdentifierType() const { return m_identifierType; }
62 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
63 inline void SetIdentifierType(IdentifierType value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
66
68
71 inline EventNotificationPartnerType GetPartnerType() const { return m_partnerType; }
72 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
73 inline void SetPartnerType(EventNotificationPartnerType value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
76
78
79 inline const EventNotificationItemConfigurations& GetEvents() const { return m_events; }
80 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
81 template<typename EventsT = EventNotificationItemConfigurations>
82 void SetEvents(EventsT&& value) { m_eventsHasBeenSet = true; m_events = std::forward<EventsT>(value); }
83 template<typename EventsT = EventNotificationItemConfigurations>
84 EventConfigurationItem& WithEvents(EventsT&& value) { SetEvents(std::forward<EventsT>(value)); return *this;}
86 private:
87
88 Aws::String m_identifier;
89 bool m_identifierHasBeenSet = false;
90
92 bool m_identifierTypeHasBeenSet = false;
93
95 bool m_partnerTypeHasBeenSet = false;
96
97 EventNotificationItemConfigurations m_events;
98 bool m_eventsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace IoTWireless
103} // namespace Aws
EventConfigurationItem & WithIdentifierType(IdentifierType value)
EventConfigurationItem & WithEvents(EventsT &&value)
const EventNotificationItemConfigurations & GetEvents() const
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
EventNotificationPartnerType GetPartnerType() const
void SetPartnerType(EventNotificationPartnerType value)
AWS_IOTWIRELESS_API EventConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API EventConfigurationItem()=default
EventConfigurationItem & WithIdentifier(IdentifierT &&value)
AWS_IOTWIRELESS_API EventConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
EventConfigurationItem & WithPartnerType(EventNotificationPartnerType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue