AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
FabricSwitchingConfiguration.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/ImmediateFabricSwitchingConfiguration.h>
9#include <aws/mediaconnect/model/KeyFrameFabricSwitchingConfiguration.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 FabricSwitchingConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const ImmediateFabricSwitchingConfiguration& GetImmediate() const { return m_immediate; }
42 inline bool ImmediateHasBeenSet() const { return m_immediateHasBeenSet; }
43 template <typename ImmediateT = ImmediateFabricSwitchingConfiguration>
44 void SetImmediate(ImmediateT&& value) {
45 m_immediateHasBeenSet = true;
46 m_immediate = std::forward<ImmediateT>(value);
47 }
48 template <typename ImmediateT = ImmediateFabricSwitchingConfiguration>
50 SetImmediate(std::forward<ImmediateT>(value));
51 return *this;
52 }
54
56
60 inline const KeyFrameFabricSwitchingConfiguration& GetKeyFrame() const { return m_keyFrame; }
61 inline bool KeyFrameHasBeenSet() const { return m_keyFrameHasBeenSet; }
62 template <typename KeyFrameT = KeyFrameFabricSwitchingConfiguration>
63 void SetKeyFrame(KeyFrameT&& value) {
64 m_keyFrameHasBeenSet = true;
65 m_keyFrame = std::forward<KeyFrameT>(value);
66 }
67 template <typename KeyFrameT = KeyFrameFabricSwitchingConfiguration>
69 SetKeyFrame(std::forward<KeyFrameT>(value));
70 return *this;
71 }
73 private:
75
77 bool m_immediateHasBeenSet = false;
78 bool m_keyFrameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace MediaConnect
83} // namespace Aws
AWS_MEDIACONNECT_API FabricSwitchingConfiguration()=default
const KeyFrameFabricSwitchingConfiguration & GetKeyFrame() const
FabricSwitchingConfiguration & WithKeyFrame(KeyFrameT &&value)
FabricSwitchingConfiguration & WithImmediate(ImmediateT &&value)
const ImmediateFabricSwitchingConfiguration & GetImmediate() const
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API FabricSwitchingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API FabricSwitchingConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue