AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
MediaPackageGroupSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/MediaPackageV2GroupSettings.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 MediaPackageGroupSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const OutputLocationRef& GetDestination() const { return m_destination; }
40 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
41 template <typename DestinationT = OutputLocationRef>
42 void SetDestination(DestinationT&& value) {
43 m_destinationHasBeenSet = true;
44 m_destination = std::forward<DestinationT>(value);
45 }
46 template <typename DestinationT = OutputLocationRef>
48 SetDestination(std::forward<DestinationT>(value));
49 return *this;
50 }
52
54
59 inline const MediaPackageV2GroupSettings& GetMediapackageV2GroupSettings() const { return m_mediapackageV2GroupSettings; }
60 inline bool MediapackageV2GroupSettingsHasBeenSet() const { return m_mediapackageV2GroupSettingsHasBeenSet; }
61 template <typename MediapackageV2GroupSettingsT = MediaPackageV2GroupSettings>
62 void SetMediapackageV2GroupSettings(MediapackageV2GroupSettingsT&& value) {
63 m_mediapackageV2GroupSettingsHasBeenSet = true;
64 m_mediapackageV2GroupSettings = std::forward<MediapackageV2GroupSettingsT>(value);
65 }
66 template <typename MediapackageV2GroupSettingsT = MediaPackageV2GroupSettings>
67 MediaPackageGroupSettings& WithMediapackageV2GroupSettings(MediapackageV2GroupSettingsT&& value) {
68 SetMediapackageV2GroupSettings(std::forward<MediapackageV2GroupSettingsT>(value));
69 return *this;
70 }
72 private:
73 OutputLocationRef m_destination;
74
75 MediaPackageV2GroupSettings m_mediapackageV2GroupSettings;
76 bool m_destinationHasBeenSet = false;
77 bool m_mediapackageV2GroupSettingsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
AWS_MEDIALIVE_API MediaPackageGroupSettings()=default
AWS_MEDIALIVE_API MediaPackageGroupSettings(Aws::Utils::Json::JsonView jsonValue)
const MediaPackageV2GroupSettings & GetMediapackageV2GroupSettings() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MediaPackageGroupSettings & WithMediapackageV2GroupSettings(MediapackageV2GroupSettingsT &&value)
AWS_MEDIALIVE_API MediaPackageGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMediapackageV2GroupSettings(MediapackageV2GroupSettingsT &&value)
MediaPackageGroupSettings & WithDestination(DestinationT &&value)
Aws::Utils::Json::JsonValue JsonValue