AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RecordingConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ivs/IVS_EXPORTS.h>
10#include <aws/ivs/model/DestinationConfiguration.h>
11#include <aws/ivs/model/RecordingConfigurationState.h>
12#include <aws/ivs/model/RenditionConfiguration.h>
13#include <aws/ivs/model/ThumbnailConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IVS {
25namespace Model {
26
34 public:
35 AWS_IVS_API RecordingConfiguration() = default;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57
59
63 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
64 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
65 template <typename DestinationConfigurationT = DestinationConfiguration>
66 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
67 m_destinationConfigurationHasBeenSet = true;
68 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
69 }
70 template <typename DestinationConfigurationT = DestinationConfiguration>
71 RecordingConfiguration& WithDestinationConfiguration(DestinationConfigurationT&& value) {
72 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetName() const { return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 template <typename NameT = Aws::String>
84 void SetName(NameT&& value) {
85 m_nameHasBeenSet = true;
86 m_name = std::forward<NameT>(value);
87 }
88 template <typename NameT = Aws::String>
90 SetName(std::forward<NameT>(value));
91 return *this;
92 }
94
96
101 inline int GetRecordingReconnectWindowSeconds() const { return m_recordingReconnectWindowSeconds; }
102 inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; }
103 inline void SetRecordingReconnectWindowSeconds(int value) {
104 m_recordingReconnectWindowSecondsHasBeenSet = true;
105 m_recordingReconnectWindowSeconds = value;
106 }
109 return *this;
110 }
112
114
117 inline const RenditionConfiguration& GetRenditionConfiguration() const { return m_renditionConfiguration; }
118 inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; }
119 template <typename RenditionConfigurationT = RenditionConfiguration>
120 void SetRenditionConfiguration(RenditionConfigurationT&& value) {
121 m_renditionConfigurationHasBeenSet = true;
122 m_renditionConfiguration = std::forward<RenditionConfigurationT>(value);
123 }
124 template <typename RenditionConfigurationT = RenditionConfiguration>
125 RecordingConfiguration& WithRenditionConfiguration(RenditionConfigurationT&& value) {
126 SetRenditionConfiguration(std::forward<RenditionConfigurationT>(value));
127 return *this;
128 }
130
132
137 inline RecordingConfigurationState GetState() const { return m_state; }
138 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
140 m_stateHasBeenSet = true;
141 m_state = value;
142 }
144 SetState(value);
145 return *this;
146 }
148
150
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
160 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 void SetTags(TagsT&& value) {
163 m_tagsHasBeenSet = true;
164 m_tags = std::forward<TagsT>(value);
165 }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 SetTags(std::forward<TagsT>(value));
169 return *this;
170 }
171 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
172 RecordingConfiguration& AddTags(TagsKeyT&& key, TagsValueT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 return *this;
176 }
178
180
185 inline const ThumbnailConfiguration& GetThumbnailConfiguration() const { return m_thumbnailConfiguration; }
186 inline bool ThumbnailConfigurationHasBeenSet() const { return m_thumbnailConfigurationHasBeenSet; }
187 template <typename ThumbnailConfigurationT = ThumbnailConfiguration>
188 void SetThumbnailConfiguration(ThumbnailConfigurationT&& value) {
189 m_thumbnailConfigurationHasBeenSet = true;
190 m_thumbnailConfiguration = std::forward<ThumbnailConfigurationT>(value);
191 }
192 template <typename ThumbnailConfigurationT = ThumbnailConfiguration>
193 RecordingConfiguration& WithThumbnailConfiguration(ThumbnailConfigurationT&& value) {
194 SetThumbnailConfiguration(std::forward<ThumbnailConfigurationT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_arn;
200
201 DestinationConfiguration m_destinationConfiguration;
202
203 Aws::String m_name;
204
205 int m_recordingReconnectWindowSeconds{0};
206
207 RenditionConfiguration m_renditionConfiguration;
208
210
212
213 ThumbnailConfiguration m_thumbnailConfiguration;
214 bool m_arnHasBeenSet = false;
215 bool m_destinationConfigurationHasBeenSet = false;
216 bool m_nameHasBeenSet = false;
217 bool m_recordingReconnectWindowSecondsHasBeenSet = false;
218 bool m_renditionConfigurationHasBeenSet = false;
219 bool m_stateHasBeenSet = false;
220 bool m_tagsHasBeenSet = false;
221 bool m_thumbnailConfigurationHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace IVS
226} // namespace Aws
AWS_IVS_API RecordingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RecordingConfiguration & WithRecordingReconnectWindowSeconds(int value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
RecordingConfiguration & WithRenditionConfiguration(RenditionConfigurationT &&value)
RecordingConfigurationState GetState() const
RecordingConfiguration & WithArn(ArnT &&value)
const DestinationConfiguration & GetDestinationConfiguration() const
RecordingConfiguration & WithState(RecordingConfigurationState value)
const ThumbnailConfiguration & GetThumbnailConfiguration() const
RecordingConfiguration & WithThumbnailConfiguration(ThumbnailConfigurationT &&value)
AWS_IVS_API RecordingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API RecordingConfiguration()=default
void SetRenditionConfiguration(RenditionConfigurationT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
RecordingConfiguration & WithName(NameT &&value)
void SetState(RecordingConfigurationState value)
RecordingConfiguration & WithDestinationConfiguration(DestinationConfigurationT &&value)
RecordingConfiguration & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetThumbnailConfiguration(ThumbnailConfigurationT &&value)
RecordingConfiguration & WithTags(TagsT &&value)
const RenditionConfiguration & GetRenditionConfiguration() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue