AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
51 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
52 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
53 inline EventConfigurationItem& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
54 inline EventConfigurationItem& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
55 inline EventConfigurationItem& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
57
59
63 inline const IdentifierType& GetIdentifierType() const{ return m_identifierType; }
64 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
65 inline void SetIdentifierType(const IdentifierType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
66 inline void SetIdentifierType(IdentifierType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
67 inline EventConfigurationItem& WithIdentifierType(const IdentifierType& value) { SetIdentifierType(value); return *this;}
68 inline EventConfigurationItem& WithIdentifierType(IdentifierType&& value) { SetIdentifierType(std::move(value)); return *this;}
70
72
75 inline const EventNotificationPartnerType& GetPartnerType() const{ return m_partnerType; }
76 inline bool PartnerTypeHasBeenSet() const { return m_partnerTypeHasBeenSet; }
77 inline void SetPartnerType(const EventNotificationPartnerType& value) { m_partnerTypeHasBeenSet = true; m_partnerType = value; }
78 inline void SetPartnerType(EventNotificationPartnerType&& value) { m_partnerTypeHasBeenSet = true; m_partnerType = std::move(value); }
80 inline EventConfigurationItem& WithPartnerType(EventNotificationPartnerType&& value) { SetPartnerType(std::move(value)); return *this;}
82
84
85 inline const EventNotificationItemConfigurations& GetEvents() const{ return m_events; }
86 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
87 inline void SetEvents(const EventNotificationItemConfigurations& value) { m_eventsHasBeenSet = true; m_events = value; }
88 inline void SetEvents(EventNotificationItemConfigurations&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
90 inline EventConfigurationItem& WithEvents(EventNotificationItemConfigurations&& value) { SetEvents(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_identifier;
95 bool m_identifierHasBeenSet = false;
96
97 IdentifierType m_identifierType;
98 bool m_identifierTypeHasBeenSet = false;
99
100 EventNotificationPartnerType m_partnerType;
101 bool m_partnerTypeHasBeenSet = false;
102
104 bool m_eventsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoTWireless
109} // namespace Aws
void SetPartnerType(EventNotificationPartnerType &&value)
EventConfigurationItem & WithIdentifier(Aws::String &&value)
EventConfigurationItem & WithIdentifier(const char *value)
const EventNotificationItemConfigurations & GetEvents() const
EventConfigurationItem & WithIdentifierType(IdentifierType &&value)
EventConfigurationItem & WithPartnerType(EventNotificationPartnerType &&value)
EventConfigurationItem & WithEvents(const EventNotificationItemConfigurations &value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentifierType(const IdentifierType &value)
void SetEvents(const EventNotificationItemConfigurations &value)
const EventNotificationPartnerType & GetPartnerType() const
EventConfigurationItem & WithIdentifier(const Aws::String &value)
EventConfigurationItem & WithIdentifierType(const IdentifierType &value)
void SetPartnerType(const EventNotificationPartnerType &value)
AWS_IOTWIRELESS_API EventConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(EventNotificationItemConfigurations &&value)
AWS_IOTWIRELESS_API EventConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
EventConfigurationItem & WithEvents(EventNotificationItemConfigurations &&value)
EventConfigurationItem & WithPartnerType(const EventNotificationPartnerType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue