AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RtmpPushNamingConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/AutomaticRtmpPushNamingConfiguration.h>
9#include <aws/mediaconnect/model/ManualRtmpPushNamingConfiguration.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
30 public:
31 AWS_MEDIACONNECT_API RtmpPushNamingConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const ManualRtmpPushNamingConfiguration& GetManual() const { return m_manual; }
42 inline bool ManualHasBeenSet() const { return m_manualHasBeenSet; }
43 template <typename ManualT = ManualRtmpPushNamingConfiguration>
44 void SetManual(ManualT&& value) {
45 m_manualHasBeenSet = true;
46 m_manual = std::forward<ManualT>(value);
47 }
48 template <typename ManualT = ManualRtmpPushNamingConfiguration>
50 SetManual(std::forward<ManualT>(value));
51 return *this;
52 }
54
56
60 inline const AutomaticRtmpPushNamingConfiguration& GetAutomatic() const { return m_automatic; }
61 inline bool AutomaticHasBeenSet() const { return m_automaticHasBeenSet; }
62 template <typename AutomaticT = AutomaticRtmpPushNamingConfiguration>
63 void SetAutomatic(AutomaticT&& value) {
64 m_automaticHasBeenSet = true;
65 m_automatic = std::forward<AutomaticT>(value);
66 }
67 template <typename AutomaticT = AutomaticRtmpPushNamingConfiguration>
69 SetAutomatic(std::forward<AutomaticT>(value));
70 return *this;
71 }
73 private:
75
77 bool m_manualHasBeenSet = false;
78 bool m_automaticHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace MediaConnect
83} // namespace Aws
AWS_MEDIACONNECT_API RtmpPushNamingConfiguration()=default
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const AutomaticRtmpPushNamingConfiguration & GetAutomatic() const
RtmpPushNamingConfiguration & WithAutomatic(AutomaticT &&value)
AWS_MEDIACONNECT_API RtmpPushNamingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API RtmpPushNamingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RtmpPushNamingConfiguration & WithManual(ManualT &&value)
const ManualRtmpPushNamingConfiguration & GetManual() const
Aws::Utils::Json::JsonValue JsonValue