AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FrameCaptureGroupSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/FrameCaptureCdnSettings.h>
9#include <aws/medialive/model/OutputLocationRef.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
29 public:
30 AWS_MEDIALIVE_API FrameCaptureGroupSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
46 inline const OutputLocationRef& GetDestination() const { return m_destination; }
47 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
48 template <typename DestinationT = OutputLocationRef>
49 void SetDestination(DestinationT&& value) {
50 m_destinationHasBeenSet = true;
51 m_destination = std::forward<DestinationT>(value);
52 }
53 template <typename DestinationT = OutputLocationRef>
55 SetDestination(std::forward<DestinationT>(value));
56 return *this;
57 }
59
61
64 inline const FrameCaptureCdnSettings& GetFrameCaptureCdnSettings() const { return m_frameCaptureCdnSettings; }
65 inline bool FrameCaptureCdnSettingsHasBeenSet() const { return m_frameCaptureCdnSettingsHasBeenSet; }
66 template <typename FrameCaptureCdnSettingsT = FrameCaptureCdnSettings>
67 void SetFrameCaptureCdnSettings(FrameCaptureCdnSettingsT&& value) {
68 m_frameCaptureCdnSettingsHasBeenSet = true;
69 m_frameCaptureCdnSettings = std::forward<FrameCaptureCdnSettingsT>(value);
70 }
71 template <typename FrameCaptureCdnSettingsT = FrameCaptureCdnSettings>
72 FrameCaptureGroupSettings& WithFrameCaptureCdnSettings(FrameCaptureCdnSettingsT&& value) {
73 SetFrameCaptureCdnSettings(std::forward<FrameCaptureCdnSettingsT>(value));
74 return *this;
75 }
77 private:
78 OutputLocationRef m_destination;
79
80 FrameCaptureCdnSettings m_frameCaptureCdnSettings;
81 bool m_destinationHasBeenSet = false;
82 bool m_frameCaptureCdnSettingsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace MediaLive
87} // namespace Aws
FrameCaptureGroupSettings & WithFrameCaptureCdnSettings(FrameCaptureCdnSettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API FrameCaptureGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
const FrameCaptureCdnSettings & GetFrameCaptureCdnSettings() const
AWS_MEDIALIVE_API FrameCaptureGroupSettings()=default
FrameCaptureGroupSettings & WithDestination(DestinationT &&value)
AWS_MEDIALIVE_API FrameCaptureGroupSettings(Aws::Utils::Json::JsonView jsonValue)
void SetFrameCaptureCdnSettings(FrameCaptureCdnSettingsT &&value)
Aws::Utils::Json::JsonValue JsonValue