AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
NotificationChannelConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/NotificationFilterConfig.h>
9#include <aws/devops-guru/model/SnsChannelConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsGuru {
21namespace Model {
22
31 public:
32 AWS_DEVOPSGURU_API NotificationChannelConfig() = default;
35 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
52 inline const SnsChannelConfig& GetSns() const { return m_sns; }
53 inline bool SnsHasBeenSet() const { return m_snsHasBeenSet; }
54 template <typename SnsT = SnsChannelConfig>
55 void SetSns(SnsT&& value) {
56 m_snsHasBeenSet = true;
57 m_sns = std::forward<SnsT>(value);
58 }
59 template <typename SnsT = SnsChannelConfig>
61 SetSns(std::forward<SnsT>(value));
62 return *this;
63 }
65
67
73 inline const NotificationFilterConfig& GetFilters() const { return m_filters; }
74 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
75 template <typename FiltersT = NotificationFilterConfig>
76 void SetFilters(FiltersT&& value) {
77 m_filtersHasBeenSet = true;
78 m_filters = std::forward<FiltersT>(value);
79 }
80 template <typename FiltersT = NotificationFilterConfig>
82 SetFilters(std::forward<FiltersT>(value));
83 return *this;
84 }
86 private:
87 SnsChannelConfig m_sns;
88
90 bool m_snsHasBeenSet = false;
91 bool m_filtersHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace DevOpsGuru
96} // namespace Aws
NotificationChannelConfig & WithSns(SnsT &&value)
AWS_DEVOPSGURU_API NotificationChannelConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationChannelConfig & WithFilters(FiltersT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API NotificationChannelConfig(Aws::Utils::Json::JsonView jsonValue)
const NotificationFilterConfig & GetFilters() const
AWS_DEVOPSGURU_API NotificationChannelConfig()=default
Aws::Utils::Json::JsonValue JsonValue