AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 RolesAnywhere
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROLESANYWHERE_API NotificationSettingKey() = default;
37 AWS_ROLESANYWHERE_API NotificationSettingKey(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROLESANYWHERE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline NotificationChannel GetChannel() const { return m_channel; }
47 inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
48 inline void SetChannel(NotificationChannel value) { m_channelHasBeenSet = true; m_channel = value; }
49 inline NotificationSettingKey& WithChannel(NotificationChannel value) { SetChannel(value); return *this;}
51
53
56 inline NotificationEvent GetEvent() const { return m_event; }
57 inline bool EventHasBeenSet() const { return m_eventHasBeenSet; }
58 inline void SetEvent(NotificationEvent value) { m_eventHasBeenSet = true; m_event = value; }
59 inline NotificationSettingKey& WithEvent(NotificationEvent value) { SetEvent(value); return *this;}
61 private:
62
64 bool m_channelHasBeenSet = false;
65
67 bool m_eventHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace RolesAnywhere
72} // 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