AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelsResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/ChannelResponse.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Pinpoint
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PINPOINT_API ChannelsResponse();
39 AWS_PINPOINT_API ChannelsResponse(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Map<Aws::String, ChannelResponse>& GetChannels() const{ return m_channels; }
50 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
51 inline void SetChannels(const Aws::Map<Aws::String, ChannelResponse>& value) { m_channelsHasBeenSet = true; m_channels = value; }
52 inline void SetChannels(Aws::Map<Aws::String, ChannelResponse>&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
54 inline ChannelsResponse& WithChannels(Aws::Map<Aws::String, ChannelResponse>&& value) { SetChannels(std::move(value)); return *this;}
55 inline ChannelsResponse& AddChannels(const Aws::String& key, const ChannelResponse& value) { m_channelsHasBeenSet = true; m_channels.emplace(key, value); return *this; }
56 inline ChannelsResponse& AddChannels(Aws::String&& key, const ChannelResponse& value) { m_channelsHasBeenSet = true; m_channels.emplace(std::move(key), value); return *this; }
57 inline ChannelsResponse& AddChannels(const Aws::String& key, ChannelResponse&& value) { m_channelsHasBeenSet = true; m_channels.emplace(key, std::move(value)); return *this; }
58 inline ChannelsResponse& AddChannels(Aws::String&& key, ChannelResponse&& value) { m_channelsHasBeenSet = true; m_channels.emplace(std::move(key), std::move(value)); return *this; }
59 inline ChannelsResponse& AddChannels(const char* key, ChannelResponse&& value) { m_channelsHasBeenSet = true; m_channels.emplace(key, std::move(value)); return *this; }
60 inline ChannelsResponse& AddChannels(const char* key, const ChannelResponse& value) { m_channelsHasBeenSet = true; m_channels.emplace(key, value); return *this; }
62 private:
63
65 bool m_channelsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Pinpoint
70} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelsResponse & AddChannels(const Aws::String &key, ChannelResponse &&value)
void SetChannels(Aws::Map< Aws::String, ChannelResponse > &&value)
ChannelsResponse & AddChannels(const Aws::String &key, const ChannelResponse &value)
ChannelsResponse & WithChannels(const Aws::Map< Aws::String, ChannelResponse > &value)
ChannelsResponse & AddChannels(const char *key, const ChannelResponse &value)
ChannelsResponse & AddChannels(Aws::String &&key, ChannelResponse &&value)
const Aws::Map< Aws::String, ChannelResponse > & GetChannels() const
AWS_PINPOINT_API ChannelsResponse(Aws::Utils::Json::JsonView jsonValue)
ChannelsResponse & AddChannels(Aws::String &&key, const ChannelResponse &value)
AWS_PINPOINT_API ChannelsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChannels(const Aws::Map< Aws::String, ChannelResponse > &value)
ChannelsResponse & AddChannels(const char *key, ChannelResponse &&value)
ChannelsResponse & WithChannels(Aws::Map< Aws::String, ChannelResponse > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue