AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NotificationChannel.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-guru/model/NotificationChannelConfig.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
47 {
48 public:
49 AWS_DEVOPSGURU_API NotificationChannel() = default;
50 AWS_DEVOPSGURU_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue);
52 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template<typename IdT = Aws::String>
62 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 NotificationChannel& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
72 inline const NotificationChannelConfig& GetConfig() const { return m_config; }
73 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
74 template<typename ConfigT = NotificationChannelConfig>
75 void SetConfig(ConfigT&& value) { m_configHasBeenSet = true; m_config = std::forward<ConfigT>(value); }
76 template<typename ConfigT = NotificationChannelConfig>
77 NotificationChannel& WithConfig(ConfigT&& value) { SetConfig(std::forward<ConfigT>(value)); return *this;}
79 private:
80
81 Aws::String m_id;
82 bool m_idHasBeenSet = false;
83
85 bool m_configHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DevOpsGuru
90} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API NotificationChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationChannel & WithId(IdT &&value)
const NotificationChannelConfig & GetConfig() const
AWS_DEVOPSGURU_API NotificationChannel()=default
NotificationChannel & WithConfig(ConfigT &&value)
AWS_DEVOPSGURU_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue