AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline NotificationChannel& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline NotificationChannel& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline NotificationChannel& WithId(const char* value) { SetId(value); return *this;}
68
70
74 inline const NotificationChannelConfig& GetConfig() const{ return m_config; }
75 inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; }
76 inline void SetConfig(const NotificationChannelConfig& value) { m_configHasBeenSet = true; m_config = value; }
77 inline void SetConfig(NotificationChannelConfig&& value) { m_configHasBeenSet = true; m_config = std::move(value); }
78 inline NotificationChannel& WithConfig(const NotificationChannelConfig& value) { SetConfig(value); return *this;}
79 inline NotificationChannel& WithConfig(NotificationChannelConfig&& value) { SetConfig(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
87 bool m_configHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace DevOpsGuru
92} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API NotificationChannel & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationChannel & WithId(Aws::String &&value)
const NotificationChannelConfig & GetConfig() const
NotificationChannel & WithId(const char *value)
NotificationChannel & WithConfig(NotificationChannelConfig &&value)
NotificationChannel & WithId(const Aws::String &value)
void SetConfig(NotificationChannelConfig &&value)
AWS_DEVOPSGURU_API NotificationChannel(Aws::Utils::Json::JsonView jsonValue)
void SetConfig(const NotificationChannelConfig &value)
NotificationChannel & WithConfig(const NotificationChannelConfig &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue