AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RtmpSourceMetadataInfo.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/RtmpMediaInfo.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
31 public:
32 AWS_MEDIACONNECT_API RtmpSourceMetadataInfo() = default;
33 AWS_MEDIACONNECT_API RtmpSourceMetadataInfo(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
42 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
43 template <typename ApplicationNameT = Aws::String>
44 void SetApplicationName(ApplicationNameT&& value) {
45 m_applicationNameHasBeenSet = true;
46 m_applicationName = std::forward<ApplicationNameT>(value);
47 }
48 template <typename ApplicationNameT = Aws::String>
49 RtmpSourceMetadataInfo& WithApplicationName(ApplicationNameT&& value) {
50 SetApplicationName(std::forward<ApplicationNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetStreamName() const { return m_streamName; }
60 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
61 template <typename StreamNameT = Aws::String>
62 void SetStreamName(StreamNameT&& value) {
63 m_streamNameHasBeenSet = true;
64 m_streamName = std::forward<StreamNameT>(value);
65 }
66 template <typename StreamNameT = Aws::String>
67 RtmpSourceMetadataInfo& WithStreamName(StreamNameT&& value) {
68 SetStreamName(std::forward<StreamNameT>(value));
69 return *this;
70 }
72
74
78 inline const RtmpMediaInfo& GetMediaInfo() const { return m_mediaInfo; }
79 inline bool MediaInfoHasBeenSet() const { return m_mediaInfoHasBeenSet; }
80 template <typename MediaInfoT = RtmpMediaInfo>
81 void SetMediaInfo(MediaInfoT&& value) {
82 m_mediaInfoHasBeenSet = true;
83 m_mediaInfo = std::forward<MediaInfoT>(value);
84 }
85 template <typename MediaInfoT = RtmpMediaInfo>
87 SetMediaInfo(std::forward<MediaInfoT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_applicationName;
93
94 Aws::String m_streamName;
95
96 RtmpMediaInfo m_mediaInfo;
97 bool m_applicationNameHasBeenSet = false;
98 bool m_streamNameHasBeenSet = false;
99 bool m_mediaInfoHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace MediaConnect
104} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RtmpSourceMetadataInfo & WithMediaInfo(MediaInfoT &&value)
AWS_MEDIACONNECT_API RtmpSourceMetadataInfo()=default
RtmpSourceMetadataInfo & WithApplicationName(ApplicationNameT &&value)
AWS_MEDIACONNECT_API RtmpSourceMetadataInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RtmpSourceMetadataInfo & WithStreamName(StreamNameT &&value)
AWS_MEDIACONNECT_API RtmpSourceMetadataInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue