AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CaptionDescription.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AccessibilityType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/CaptionDestinationSettings.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/model/DvbDashAccessibility.h>
13#include <aws/medialive/model/DashRoleCaption.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MEDIALIVE_API CaptionDescription();
40 AWS_MEDIALIVE_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const AccessibilityType& GetAccessibility() const{ return m_accessibility; }
52 inline bool AccessibilityHasBeenSet() const { return m_accessibilityHasBeenSet; }
53 inline void SetAccessibility(const AccessibilityType& value) { m_accessibilityHasBeenSet = true; m_accessibility = value; }
54 inline void SetAccessibility(AccessibilityType&& value) { m_accessibilityHasBeenSet = true; m_accessibility = std::move(value); }
55 inline CaptionDescription& WithAccessibility(const AccessibilityType& value) { SetAccessibility(value); return *this;}
56 inline CaptionDescription& WithAccessibility(AccessibilityType&& value) { SetAccessibility(std::move(value)); return *this;}
58
60
64 inline const Aws::String& GetCaptionSelectorName() const{ return m_captionSelectorName; }
65 inline bool CaptionSelectorNameHasBeenSet() const { return m_captionSelectorNameHasBeenSet; }
66 inline void SetCaptionSelectorName(const Aws::String& value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName = value; }
67 inline void SetCaptionSelectorName(Aws::String&& value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName = std::move(value); }
68 inline void SetCaptionSelectorName(const char* value) { m_captionSelectorNameHasBeenSet = true; m_captionSelectorName.assign(value); }
70 inline CaptionDescription& WithCaptionSelectorName(Aws::String&& value) { SetCaptionSelectorName(std::move(value)); return *this;}
71 inline CaptionDescription& WithCaptionSelectorName(const char* value) { SetCaptionSelectorName(value); return *this;}
73
75
79 inline const CaptionDestinationSettings& GetDestinationSettings() const{ return m_destinationSettings; }
80 inline bool DestinationSettingsHasBeenSet() const { return m_destinationSettingsHasBeenSet; }
81 inline void SetDestinationSettings(const CaptionDestinationSettings& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = value; }
82 inline void SetDestinationSettings(CaptionDestinationSettings&& value) { m_destinationSettingsHasBeenSet = true; m_destinationSettings = std::move(value); }
86
88
91 inline const Aws::String& GetLanguageCode() const{ return m_languageCode; }
92 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
93 inline void SetLanguageCode(const Aws::String& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
94 inline void SetLanguageCode(Aws::String&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
95 inline void SetLanguageCode(const char* value) { m_languageCodeHasBeenSet = true; m_languageCode.assign(value); }
96 inline CaptionDescription& WithLanguageCode(const Aws::String& value) { SetLanguageCode(value); return *this;}
97 inline CaptionDescription& WithLanguageCode(Aws::String&& value) { SetLanguageCode(std::move(value)); return *this;}
98 inline CaptionDescription& WithLanguageCode(const char* value) { SetLanguageCode(value); return *this;}
100
102
106 inline const Aws::String& GetLanguageDescription() const{ return m_languageDescription; }
107 inline bool LanguageDescriptionHasBeenSet() const { return m_languageDescriptionHasBeenSet; }
108 inline void SetLanguageDescription(const Aws::String& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = value; }
109 inline void SetLanguageDescription(Aws::String&& value) { m_languageDescriptionHasBeenSet = true; m_languageDescription = std::move(value); }
110 inline void SetLanguageDescription(const char* value) { m_languageDescriptionHasBeenSet = true; m_languageDescription.assign(value); }
112 inline CaptionDescription& WithLanguageDescription(Aws::String&& value) { SetLanguageDescription(std::move(value)); return *this;}
113 inline CaptionDescription& WithLanguageDescription(const char* value) { SetLanguageDescription(value); return *this;}
115
117
121 inline const Aws::String& GetName() const{ return m_name; }
122 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
123 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
124 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
125 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
126 inline CaptionDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
127 inline CaptionDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
128 inline CaptionDescription& WithName(const char* value) { SetName(value); return *this;}
130
132
136 inline const Aws::Vector<DashRoleCaption>& GetCaptionDashRoles() const{ return m_captionDashRoles; }
137 inline bool CaptionDashRolesHasBeenSet() const { return m_captionDashRolesHasBeenSet; }
138 inline void SetCaptionDashRoles(const Aws::Vector<DashRoleCaption>& value) { m_captionDashRolesHasBeenSet = true; m_captionDashRoles = value; }
139 inline void SetCaptionDashRoles(Aws::Vector<DashRoleCaption>&& value) { m_captionDashRolesHasBeenSet = true; m_captionDashRoles = std::move(value); }
142 inline CaptionDescription& AddCaptionDashRoles(const DashRoleCaption& value) { m_captionDashRolesHasBeenSet = true; m_captionDashRoles.push_back(value); return *this; }
143 inline CaptionDescription& AddCaptionDashRoles(DashRoleCaption&& value) { m_captionDashRolesHasBeenSet = true; m_captionDashRoles.push_back(std::move(value)); return *this; }
145
147
152 inline const DvbDashAccessibility& GetDvbDashAccessibility() const{ return m_dvbDashAccessibility; }
153 inline bool DvbDashAccessibilityHasBeenSet() const { return m_dvbDashAccessibilityHasBeenSet; }
154 inline void SetDvbDashAccessibility(const DvbDashAccessibility& value) { m_dvbDashAccessibilityHasBeenSet = true; m_dvbDashAccessibility = value; }
155 inline void SetDvbDashAccessibility(DvbDashAccessibility&& value) { m_dvbDashAccessibilityHasBeenSet = true; m_dvbDashAccessibility = std::move(value); }
159 private:
160
161 AccessibilityType m_accessibility;
162 bool m_accessibilityHasBeenSet = false;
163
164 Aws::String m_captionSelectorName;
165 bool m_captionSelectorNameHasBeenSet = false;
166
167 CaptionDestinationSettings m_destinationSettings;
168 bool m_destinationSettingsHasBeenSet = false;
169
170 Aws::String m_languageCode;
171 bool m_languageCodeHasBeenSet = false;
172
173 Aws::String m_languageDescription;
174 bool m_languageDescriptionHasBeenSet = false;
175
176 Aws::String m_name;
177 bool m_nameHasBeenSet = false;
178
179 Aws::Vector<DashRoleCaption> m_captionDashRoles;
180 bool m_captionDashRolesHasBeenSet = false;
181
182 DvbDashAccessibility m_dvbDashAccessibility;
183 bool m_dvbDashAccessibilityHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace MediaLive
188} // namespace Aws
void SetCaptionDashRoles(Aws::Vector< DashRoleCaption > &&value)
CaptionDescription & WithCaptionSelectorName(const Aws::String &value)
void SetLanguageCode(const Aws::String &value)
void SetDestinationSettings(CaptionDestinationSettings &&value)
CaptionDescription & WithLanguageDescription(Aws::String &&value)
void SetCaptionSelectorName(const Aws::String &value)
CaptionDescription & WithCaptionDashRoles(Aws::Vector< DashRoleCaption > &&value)
CaptionDescription & WithName(const Aws::String &value)
CaptionDescription & WithDestinationSettings(const CaptionDestinationSettings &value)
const AccessibilityType & GetAccessibility() const
CaptionDescription & WithDvbDashAccessibility(const DvbDashAccessibility &value)
CaptionDescription & WithLanguageCode(const Aws::String &value)
CaptionDescription & WithLanguageCode(Aws::String &&value)
void SetAccessibility(AccessibilityType &&value)
const DvbDashAccessibility & GetDvbDashAccessibility() const
void SetLanguageDescription(const Aws::String &value)
CaptionDescription & WithDvbDashAccessibility(DvbDashAccessibility &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
CaptionDescription & WithName(Aws::String &&value)
CaptionDescription & WithAccessibility(const AccessibilityType &value)
CaptionDescription & AddCaptionDashRoles(DashRoleCaption &&value)
CaptionDescription & WithCaptionSelectorName(Aws::String &&value)
CaptionDescription & WithAccessibility(AccessibilityType &&value)
const CaptionDestinationSettings & GetDestinationSettings() const
AWS_MEDIALIVE_API CaptionDescription(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationSettings(const CaptionDestinationSettings &value)
const Aws::Vector< DashRoleCaption > & GetCaptionDashRoles() const
const Aws::String & GetLanguageCode() const
void SetDvbDashAccessibility(DvbDashAccessibility &&value)
const Aws::String & GetLanguageDescription() const
const Aws::String & GetCaptionSelectorName() const
void SetDvbDashAccessibility(const DvbDashAccessibility &value)
CaptionDescription & WithCaptionDashRoles(const Aws::Vector< DashRoleCaption > &value)
CaptionDescription & AddCaptionDashRoles(const DashRoleCaption &value)
CaptionDescription & WithName(const char *value)
void SetCaptionSelectorName(Aws::String &&value)
CaptionDescription & WithLanguageDescription(const char *value)
CaptionDescription & WithLanguageDescription(const Aws::String &value)
CaptionDescription & WithLanguageCode(const char *value)
AWS_MEDIALIVE_API CaptionDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccessibility(const AccessibilityType &value)
void SetCaptionDashRoles(const Aws::Vector< DashRoleCaption > &value)
CaptionDescription & WithCaptionSelectorName(const char *value)
CaptionDescription & WithDestinationSettings(CaptionDestinationSettings &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue