AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
MediaPackageOutputDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API MediaPackageOutputDestinationSettings() = default;
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
48 inline const Aws::String& GetChannelId() const { return m_channelId; }
49 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
50 template<typename ChannelIdT = Aws::String>
51 void SetChannelId(ChannelIdT&& value) { m_channelIdHasBeenSet = true; m_channelId = std::forward<ChannelIdT>(value); }
52 template<typename ChannelIdT = Aws::String>
53 MediaPackageOutputDestinationSettings& WithChannelId(ChannelIdT&& value) { SetChannelId(std::forward<ChannelIdT>(value)); return *this;}
55
57
62 inline const Aws::String& GetChannelGroup() const { return m_channelGroup; }
63 inline bool ChannelGroupHasBeenSet() const { return m_channelGroupHasBeenSet; }
64 template<typename ChannelGroupT = Aws::String>
65 void SetChannelGroup(ChannelGroupT&& value) { m_channelGroupHasBeenSet = true; m_channelGroup = std::forward<ChannelGroupT>(value); }
66 template<typename ChannelGroupT = Aws::String>
67 MediaPackageOutputDestinationSettings& WithChannelGroup(ChannelGroupT&& value) { SetChannelGroup(std::forward<ChannelGroupT>(value)); return *this;}
69
71
76 inline const Aws::String& GetChannelName() const { return m_channelName; }
77 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
78 template<typename ChannelNameT = Aws::String>
79 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
80 template<typename ChannelNameT = Aws::String>
81 MediaPackageOutputDestinationSettings& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
83 private:
84
85 Aws::String m_channelId;
86 bool m_channelIdHasBeenSet = false;
87
88 Aws::String m_channelGroup;
89 bool m_channelGroupHasBeenSet = false;
90
91 Aws::String m_channelName;
92 bool m_channelNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace MediaLive
97} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MediaPackageOutputDestinationSettings & WithChannelGroup(ChannelGroupT &&value)
MediaPackageOutputDestinationSettings & WithChannelId(ChannelIdT &&value)
AWS_MEDIALIVE_API MediaPackageOutputDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
MediaPackageOutputDestinationSettings & WithChannelName(ChannelNameT &&value)
AWS_MEDIALIVE_API MediaPackageOutputDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue