AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseOutputItem.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/DashPlaylistSettings.h>
9#include <aws/mediatailor/model/HlsPlaylistSettings.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaTailor
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIATAILOR_API ResponseOutputItem();
37 AWS_MEDIATAILOR_API ResponseOutputItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DashPlaylistSettings& GetDashPlaylistSettings() const{ return m_dashPlaylistSettings; }
47 inline bool DashPlaylistSettingsHasBeenSet() const { return m_dashPlaylistSettingsHasBeenSet; }
48 inline void SetDashPlaylistSettings(const DashPlaylistSettings& value) { m_dashPlaylistSettingsHasBeenSet = true; m_dashPlaylistSettings = value; }
49 inline void SetDashPlaylistSettings(DashPlaylistSettings&& value) { m_dashPlaylistSettingsHasBeenSet = true; m_dashPlaylistSettings = std::move(value); }
53
55
58 inline const HlsPlaylistSettings& GetHlsPlaylistSettings() const{ return m_hlsPlaylistSettings; }
59 inline bool HlsPlaylistSettingsHasBeenSet() const { return m_hlsPlaylistSettingsHasBeenSet; }
60 inline void SetHlsPlaylistSettings(const HlsPlaylistSettings& value) { m_hlsPlaylistSettingsHasBeenSet = true; m_hlsPlaylistSettings = value; }
61 inline void SetHlsPlaylistSettings(HlsPlaylistSettings&& value) { m_hlsPlaylistSettingsHasBeenSet = true; m_hlsPlaylistSettings = std::move(value); }
63 inline ResponseOutputItem& WithHlsPlaylistSettings(HlsPlaylistSettings&& value) { SetHlsPlaylistSettings(std::move(value)); return *this;}
65
67
71 inline const Aws::String& GetManifestName() const{ return m_manifestName; }
72 inline bool ManifestNameHasBeenSet() const { return m_manifestNameHasBeenSet; }
73 inline void SetManifestName(const Aws::String& value) { m_manifestNameHasBeenSet = true; m_manifestName = value; }
74 inline void SetManifestName(Aws::String&& value) { m_manifestNameHasBeenSet = true; m_manifestName = std::move(value); }
75 inline void SetManifestName(const char* value) { m_manifestNameHasBeenSet = true; m_manifestName.assign(value); }
76 inline ResponseOutputItem& WithManifestName(const Aws::String& value) { SetManifestName(value); return *this;}
77 inline ResponseOutputItem& WithManifestName(Aws::String&& value) { SetManifestName(std::move(value)); return *this;}
78 inline ResponseOutputItem& WithManifestName(const char* value) { SetManifestName(value); return *this;}
80
82
85 inline const Aws::String& GetPlaybackUrl() const{ return m_playbackUrl; }
86 inline bool PlaybackUrlHasBeenSet() const { return m_playbackUrlHasBeenSet; }
87 inline void SetPlaybackUrl(const Aws::String& value) { m_playbackUrlHasBeenSet = true; m_playbackUrl = value; }
88 inline void SetPlaybackUrl(Aws::String&& value) { m_playbackUrlHasBeenSet = true; m_playbackUrl = std::move(value); }
89 inline void SetPlaybackUrl(const char* value) { m_playbackUrlHasBeenSet = true; m_playbackUrl.assign(value); }
90 inline ResponseOutputItem& WithPlaybackUrl(const Aws::String& value) { SetPlaybackUrl(value); return *this;}
91 inline ResponseOutputItem& WithPlaybackUrl(Aws::String&& value) { SetPlaybackUrl(std::move(value)); return *this;}
92 inline ResponseOutputItem& WithPlaybackUrl(const char* value) { SetPlaybackUrl(value); return *this;}
94
96
100 inline const Aws::String& GetSourceGroup() const{ return m_sourceGroup; }
101 inline bool SourceGroupHasBeenSet() const { return m_sourceGroupHasBeenSet; }
102 inline void SetSourceGroup(const Aws::String& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = value; }
103 inline void SetSourceGroup(Aws::String&& value) { m_sourceGroupHasBeenSet = true; m_sourceGroup = std::move(value); }
104 inline void SetSourceGroup(const char* value) { m_sourceGroupHasBeenSet = true; m_sourceGroup.assign(value); }
105 inline ResponseOutputItem& WithSourceGroup(const Aws::String& value) { SetSourceGroup(value); return *this;}
106 inline ResponseOutputItem& WithSourceGroup(Aws::String&& value) { SetSourceGroup(std::move(value)); return *this;}
107 inline ResponseOutputItem& WithSourceGroup(const char* value) { SetSourceGroup(value); return *this;}
109 private:
110
111 DashPlaylistSettings m_dashPlaylistSettings;
112 bool m_dashPlaylistSettingsHasBeenSet = false;
113
114 HlsPlaylistSettings m_hlsPlaylistSettings;
115 bool m_hlsPlaylistSettingsHasBeenSet = false;
116
117 Aws::String m_manifestName;
118 bool m_manifestNameHasBeenSet = false;
119
120 Aws::String m_playbackUrl;
121 bool m_playbackUrlHasBeenSet = false;
122
123 Aws::String m_sourceGroup;
124 bool m_sourceGroupHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace MediaTailor
129} // namespace Aws
void SetSourceGroup(const Aws::String &value)
ResponseOutputItem & WithSourceGroup(const char *value)
ResponseOutputItem & WithManifestName(Aws::String &&value)
AWS_MEDIATAILOR_API ResponseOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseOutputItem & WithSourceGroup(Aws::String &&value)
ResponseOutputItem & WithPlaybackUrl(const char *value)
void SetDashPlaylistSettings(DashPlaylistSettings &&value)
ResponseOutputItem & WithPlaybackUrl(const Aws::String &value)
void SetHlsPlaylistSettings(const HlsPlaylistSettings &value)
AWS_MEDIATAILOR_API ResponseOutputItem(Aws::Utils::Json::JsonView jsonValue)
ResponseOutputItem & WithDashPlaylistSettings(const DashPlaylistSettings &value)
ResponseOutputItem & WithManifestName(const char *value)
ResponseOutputItem & WithPlaybackUrl(Aws::String &&value)
ResponseOutputItem & WithDashPlaylistSettings(DashPlaylistSettings &&value)
void SetManifestName(const Aws::String &value)
ResponseOutputItem & WithSourceGroup(const Aws::String &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPlaybackUrl(const Aws::String &value)
const DashPlaylistSettings & GetDashPlaylistSettings() const
ResponseOutputItem & WithManifestName(const Aws::String &value)
const HlsPlaylistSettings & GetHlsPlaylistSettings() const
ResponseOutputItem & WithHlsPlaylistSettings(HlsPlaylistSettings &&value)
void SetDashPlaylistSettings(const DashPlaylistSettings &value)
void SetHlsPlaylistSettings(HlsPlaylistSettings &&value)
ResponseOutputItem & WithHlsPlaylistSettings(const HlsPlaylistSettings &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue