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/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/codeguruprofiler/model/Channel.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 CodeGuruProfiler
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CODEGURUPROFILER_API NotificationConfiguration();
38 AWS_CODEGURUPROFILER_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Channel>& GetChannels() const{ return m_channels; }
49 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
50 inline void SetChannels(const Aws::Vector<Channel>& value) { m_channelsHasBeenSet = true; m_channels = value; }
51 inline void SetChannels(Aws::Vector<Channel>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
52 inline NotificationConfiguration& WithChannels(const Aws::Vector<Channel>& value) { SetChannels(value); return *this;}
53 inline NotificationConfiguration& WithChannels(Aws::Vector<Channel>&& value) { SetChannels(std::move(value)); return *this;}
54 inline NotificationConfiguration& AddChannels(const Channel& value) { m_channelsHasBeenSet = true; m_channels.push_back(value); return *this; }
55 inline NotificationConfiguration& AddChannels(Channel&& value) { m_channelsHasBeenSet = true; m_channels.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<Channel> m_channels;
60 bool m_channelsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace CodeGuruProfiler
65} // namespace Aws
AWS_CODEGURUPROFILER_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationConfiguration & AddChannels(Channel &&value)
NotificationConfiguration & AddChannels(const Channel &value)
NotificationConfiguration & WithChannels(const Aws::Vector< Channel > &value)
AWS_CODEGURUPROFILER_API NotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationConfiguration & WithChannels(Aws::Vector< Channel > &&value)
AWS_CODEGURUPROFILER_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue