AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NotificationSettingKey.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/model/NotificationChannel.h>
9#include <aws/rolesanywhere/model/NotificationEvent.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace RolesAnywhere {
21namespace Model {
22
30 public:
31 AWS_ROLESANYWHERE_API NotificationSettingKey() = default;
32 AWS_ROLESANYWHERE_API NotificationSettingKey(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline NotificationEvent GetEvent() const { return m_event; }
41 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
42 inline void SetEvent(NotificationEvent value) {
43 m_eventHasBeenSet = true;
44 m_event = value;
45 }
47 SetEvent(value);
48 return *this;
49 }
51
53
56 inline NotificationChannel GetChannel() const { return m_channel; }
57 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
58 inline void SetChannel(NotificationChannel value) {
59 m_channelHasBeenSet = true;
60 m_channel = value;
61 }
63 SetChannel(value);
64 return *this;
65 }
67 private:
69
71 bool m_eventHasBeenSet = false;
72 bool m_channelHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace RolesAnywhere
77} // namespace Aws
AWS_ROLESANYWHERE_API NotificationSettingKey & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationSettingKey & WithEvent(NotificationEvent value)
NotificationSettingKey & WithChannel(NotificationChannel value)
AWS_ROLESANYWHERE_API NotificationSettingKey(Aws::Utils::Json::JsonView jsonValue)
AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROLESANYWHERE_API NotificationSettingKey()=default
Aws::Utils::Json::JsonValue JsonValue