AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationConfiguration.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/ConfigurationStatus.h>
9#include <aws/kinesisvideo/model/NotificationDestinationConfig.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 KinesisVideo
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KINESISVIDEO_API NotificationConfiguration();
40 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ConfigurationStatus& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const ConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(ConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline NotificationConfiguration& WithStatus(const ConfigurationStatus& value) { SetStatus(value); return *this;}
52 inline NotificationConfiguration& WithStatus(ConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
60 inline const NotificationDestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
61 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
62 inline void SetDestinationConfig(const NotificationDestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
63 inline void SetDestinationConfig(NotificationDestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
67 private:
68
69 ConfigurationStatus m_status;
70 bool m_statusHasBeenSet = false;
71
72 NotificationDestinationConfig m_destinationConfig;
73 bool m_destinationConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace KinesisVideo
78} // namespace Aws
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISVIDEO_API NotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationConfiguration & WithDestinationConfig(NotificationDestinationConfig &&value)
NotificationConfiguration & WithStatus(ConfigurationStatus &&value)
const NotificationDestinationConfig & GetDestinationConfig() const
void SetDestinationConfig(NotificationDestinationConfig &&value)
void SetDestinationConfig(const NotificationDestinationConfig &value)
NotificationConfiguration & WithDestinationConfig(const NotificationDestinationConfig &value)
NotificationConfiguration & WithStatus(const ConfigurationStatus &value)
AWS_KINESISVIDEO_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue