AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationChannelConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/SnsChannelConfig.h>
9#include <aws/devops-guru/model/NotificationFilterConfig.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 DevOpsGuru
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DEVOPSGURU_API NotificationChannelConfig();
40 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline const SnsChannelConfig& GetSns() const{ return m_sns; }
59 inline bool SnsHasBeenSet() const { return m_snsHasBeenSet; }
60 inline void SetSns(const SnsChannelConfig& value) { m_snsHasBeenSet = true; m_sns = value; }
61 inline void SetSns(SnsChannelConfig&& value) { m_snsHasBeenSet = true; m_sns = std::move(value); }
62 inline NotificationChannelConfig& WithSns(const SnsChannelConfig& value) { SetSns(value); return *this;}
63 inline NotificationChannelConfig& WithSns(SnsChannelConfig&& value) { SetSns(std::move(value)); return *this;}
65
67
73 inline const NotificationFilterConfig& GetFilters() const{ return m_filters; }
74 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
75 inline void SetFilters(const NotificationFilterConfig& value) { m_filtersHasBeenSet = true; m_filters = value; }
76 inline void SetFilters(NotificationFilterConfig&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
77 inline NotificationChannelConfig& WithFilters(const NotificationFilterConfig& value) { SetFilters(value); return *this;}
78 inline NotificationChannelConfig& WithFilters(NotificationFilterConfig&& value) { SetFilters(std::move(value)); return *this;}
80 private:
81
82 SnsChannelConfig m_sns;
83 bool m_snsHasBeenSet = false;
84
86 bool m_filtersHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DevOpsGuru
91} // namespace Aws
AWS_DEVOPSGURU_API NotificationChannelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(const NotificationFilterConfig &value)
NotificationChannelConfig & WithFilters(NotificationFilterConfig &&value)
NotificationChannelConfig & WithSns(const SnsChannelConfig &value)
NotificationChannelConfig & WithSns(SnsChannelConfig &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API NotificationChannelConfig(Aws::Utils::Json::JsonView jsonValue)
NotificationChannelConfig & WithFilters(const NotificationFilterConfig &value)
const NotificationFilterConfig & GetFilters() const
Aws::Utils::Json::JsonValue JsonValue