AWS SDK for C++

AWS SDK for C++ Version 1.11.796

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
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template <typename NameT = Aws::String>
65 void SetName(NameT&& value) {
66 m_nameHasBeenSet = true;
67 m_name = std::forward<NameT>(value);
68 }
69 template <typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
72 return *this;
73 }
75
77
81 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
82 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
83 template <typename DestinationConfigurationT = DestinationConfiguration>
84 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
85 m_destinationConfigurationHasBeenSet = true;
86 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
87 }
88 template <typename DestinationConfigurationT = DestinationConfiguration>
89 RecordingConfiguration& WithDestinationConfiguration(DestinationConfigurationT&& value) {
90 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
91 return *this;
92 }
94
96
101 inline RecordingConfigurationState GetState() const { return m_state; }
102 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
104 m_stateHasBeenSet = true;
105 m_state = value;
106 }
108 SetState(value);
109 return *this;
110 }
112
114
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
125 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) {
127 m_tagsHasBeenSet = true;
128 m_tags = std::forward<TagsT>(value);
129 }
130 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 SetTags(std::forward<TagsT>(value));
133 return *this;
134 }
135 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
136 RecordingConfiguration& AddTags(TagsKeyT&& key, TagsValueT&& value) {
137 m_tagsHasBeenSet = true;
138 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
139 return *this;
140 }
142
144
149 inline const ThumbnailConfiguration& GetThumbnailConfiguration() const { return m_thumbnailConfiguration; }
150 inline bool ThumbnailConfigurationHasBeenSet() const { return m_thumbnailConfigurationHasBeenSet; }
151 template <typename ThumbnailConfigurationT = ThumbnailConfiguration>
152 void SetThumbnailConfiguration(ThumbnailConfigurationT&& value) {
153 m_thumbnailConfigurationHasBeenSet = true;
154 m_thumbnailConfiguration = std::forward<ThumbnailConfigurationT>(value);
155 }
156 template <typename ThumbnailConfigurationT = ThumbnailConfiguration>
157 RecordingConfiguration& WithThumbnailConfiguration(ThumbnailConfigurationT&& value) {
158 SetThumbnailConfiguration(std::forward<ThumbnailConfigurationT>(value));
159 return *this;
160 }
162
164
169 inline int GetRecordingReconnectWindowSeconds() const { return m_recordingReconnectWindowSeconds; }
170 inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; }
171 inline void SetRecordingReconnectWindowSeconds(int value) {
172 m_recordingReconnectWindowSecondsHasBeenSet = true;
173 m_recordingReconnectWindowSeconds = value;
174 }
177 return *this;
178 }
180
182
185 inline const RenditionConfiguration& GetRenditionConfiguration() const { return m_renditionConfiguration; }
186 inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; }
187 template <typename RenditionConfigurationT = RenditionConfiguration>
188 void SetRenditionConfiguration(RenditionConfigurationT&& value) {
189 m_renditionConfigurationHasBeenSet = true;
190 m_renditionConfiguration = std::forward<RenditionConfigurationT>(value);
191 }
192 template <typename RenditionConfigurationT = RenditionConfiguration>
193 RecordingConfiguration& WithRenditionConfiguration(RenditionConfigurationT&& value) {
194 SetRenditionConfiguration(std::forward<RenditionConfigurationT>(value));
195 return *this;
196 }
198 private:
199 Aws::String m_arn;
200
201 Aws::String m_name;
202
203 DestinationConfiguration m_destinationConfiguration;
204
206
208
209 ThumbnailConfiguration m_thumbnailConfiguration;
210
211 int m_recordingReconnectWindowSeconds{0};
212
213 RenditionConfiguration m_renditionConfiguration;
214 bool m_arnHasBeenSet = false;
215 bool m_nameHasBeenSet = false;
216 bool m_destinationConfigurationHasBeenSet = false;
217 bool m_stateHasBeenSet = false;
218 bool m_tagsHasBeenSet = false;
219 bool m_thumbnailConfigurationHasBeenSet = false;
220 bool m_recordingReconnectWindowSecondsHasBeenSet = false;
221 bool m_renditionConfigurationHasBeenSet = 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