AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
SetRtmpPushSourceSettings.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/RtmpPushNamingConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConnect {
20namespace Model {
21
29 public:
30 AWS_MEDIACONNECT_API SetRtmpPushSourceSettings() = default;
33 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const RtmpPushNamingConfiguration& GetNamingConfiguration() const { return m_namingConfiguration; }
40 inline bool NamingConfigurationHasBeenSet() const { return m_namingConfigurationHasBeenSet; }
41 template <typename NamingConfigurationT = RtmpPushNamingConfiguration>
42 void SetNamingConfiguration(NamingConfigurationT&& value) {
43 m_namingConfigurationHasBeenSet = true;
44 m_namingConfiguration = std::forward<NamingConfigurationT>(value);
45 }
46 template <typename NamingConfigurationT = RtmpPushNamingConfiguration>
47 SetRtmpPushSourceSettings& WithNamingConfiguration(NamingConfigurationT&& value) {
48 SetNamingConfiguration(std::forward<NamingConfigurationT>(value));
49 return *this;
50 }
52 private:
53 RtmpPushNamingConfiguration m_namingConfiguration;
54 bool m_namingConfigurationHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace MediaConnect
59} // namespace Aws
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SetRtmpPushSourceSettings & WithNamingConfiguration(NamingConfigurationT &&value)
AWS_MEDIACONNECT_API SetRtmpPushSourceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API SetRtmpPushSourceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API SetRtmpPushSourceSettings()=default
const RtmpPushNamingConfiguration & GetNamingConfiguration() const
Aws::Utils::Json::JsonValue JsonValue