AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
RecordingInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/MediaStreamType.h>
9#include <aws/connect/model/ParticipantType.h>
10#include <aws/connect/model/RecordingStatus.h>
11#include <aws/connect/model/StorageType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect {
25namespace Model {
26
34 public:
35 AWS_CONNECT_API RecordingInfo() = default;
36 AWS_CONNECT_API RecordingInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline StorageType GetStorageType() const { return m_storageType; }
45 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
46 inline void SetStorageType(StorageType value) {
47 m_storageTypeHasBeenSet = true;
48 m_storageType = value;
49 }
51 SetStorageType(value);
52 return *this;
53 }
55
57
60 inline const Aws::String& GetLocation() const { return m_location; }
61 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
62 template <typename LocationT = Aws::String>
63 void SetLocation(LocationT&& value) {
64 m_locationHasBeenSet = true;
65 m_location = std::forward<LocationT>(value);
66 }
67 template <typename LocationT = Aws::String>
68 RecordingInfo& WithLocation(LocationT&& value) {
69 SetLocation(std::forward<LocationT>(value));
70 return *this;
71 }
73
75
78 inline MediaStreamType GetMediaStreamType() const { return m_mediaStreamType; }
79 inline bool MediaStreamTypeHasBeenSet() const { return m_mediaStreamTypeHasBeenSet; }
81 m_mediaStreamTypeHasBeenSet = true;
82 m_mediaStreamType = value;
83 }
85 SetMediaStreamType(value);
86 return *this;
87 }
89
91
97 inline ParticipantType GetParticipantType() const { return m_participantType; }
98 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
100 m_participantTypeHasBeenSet = true;
101 m_participantType = value;
102 }
104 SetParticipantType(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetFragmentStartNumber() const { return m_fragmentStartNumber; }
115 inline bool FragmentStartNumberHasBeenSet() const { return m_fragmentStartNumberHasBeenSet; }
116 template <typename FragmentStartNumberT = Aws::String>
117 void SetFragmentStartNumber(FragmentStartNumberT&& value) {
118 m_fragmentStartNumberHasBeenSet = true;
119 m_fragmentStartNumber = std::forward<FragmentStartNumberT>(value);
120 }
121 template <typename FragmentStartNumberT = Aws::String>
122 RecordingInfo& WithFragmentStartNumber(FragmentStartNumberT&& value) {
123 SetFragmentStartNumber(std::forward<FragmentStartNumberT>(value));
124 return *this;
125 }
127
129
133 inline const Aws::String& GetFragmentStopNumber() const { return m_fragmentStopNumber; }
134 inline bool FragmentStopNumberHasBeenSet() const { return m_fragmentStopNumberHasBeenSet; }
135 template <typename FragmentStopNumberT = Aws::String>
136 void SetFragmentStopNumber(FragmentStopNumberT&& value) {
137 m_fragmentStopNumberHasBeenSet = true;
138 m_fragmentStopNumber = std::forward<FragmentStopNumberT>(value);
139 }
140 template <typename FragmentStopNumberT = Aws::String>
141 RecordingInfo& WithFragmentStopNumber(FragmentStopNumberT&& value) {
142 SetFragmentStopNumber(std::forward<FragmentStopNumberT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
153 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
154 template <typename StartTimestampT = Aws::Utils::DateTime>
155 void SetStartTimestamp(StartTimestampT&& value) {
156 m_startTimestampHasBeenSet = true;
157 m_startTimestamp = std::forward<StartTimestampT>(value);
158 }
159 template <typename StartTimestampT = Aws::Utils::DateTime>
160 RecordingInfo& WithStartTimestamp(StartTimestampT&& value) {
161 SetStartTimestamp(std::forward<StartTimestampT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Utils::DateTime& GetStopTimestamp() const { return m_stopTimestamp; }
171 inline bool StopTimestampHasBeenSet() const { return m_stopTimestampHasBeenSet; }
172 template <typename StopTimestampT = Aws::Utils::DateTime>
173 void SetStopTimestamp(StopTimestampT&& value) {
174 m_stopTimestampHasBeenSet = true;
175 m_stopTimestamp = std::forward<StopTimestampT>(value);
176 }
177 template <typename StopTimestampT = Aws::Utils::DateTime>
178 RecordingInfo& WithStopTimestamp(StopTimestampT&& value) {
179 SetStopTimestamp(std::forward<StopTimestampT>(value));
180 return *this;
181 }
183
185
188 inline RecordingStatus GetStatus() const { return m_status; }
189 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
190 inline void SetStatus(RecordingStatus value) {
191 m_statusHasBeenSet = true;
192 m_status = value;
193 }
195 SetStatus(value);
196 return *this;
197 }
199
201
205 inline const Aws::String& GetDeletionReason() const { return m_deletionReason; }
206 inline bool DeletionReasonHasBeenSet() const { return m_deletionReasonHasBeenSet; }
207 template <typename DeletionReasonT = Aws::String>
208 void SetDeletionReason(DeletionReasonT&& value) {
209 m_deletionReasonHasBeenSet = true;
210 m_deletionReason = std::forward<DeletionReasonT>(value);
211 }
212 template <typename DeletionReasonT = Aws::String>
213 RecordingInfo& WithDeletionReason(DeletionReasonT&& value) {
214 SetDeletionReason(std::forward<DeletionReasonT>(value));
215 return *this;
216 }
218
220
224 inline const Aws::String& GetUnprocessedTranscriptLocation() const { return m_unprocessedTranscriptLocation; }
225 inline bool UnprocessedTranscriptLocationHasBeenSet() const { return m_unprocessedTranscriptLocationHasBeenSet; }
226 template <typename UnprocessedTranscriptLocationT = Aws::String>
227 void SetUnprocessedTranscriptLocation(UnprocessedTranscriptLocationT&& value) {
228 m_unprocessedTranscriptLocationHasBeenSet = true;
229 m_unprocessedTranscriptLocation = std::forward<UnprocessedTranscriptLocationT>(value);
230 }
231 template <typename UnprocessedTranscriptLocationT = Aws::String>
232 RecordingInfo& WithUnprocessedTranscriptLocation(UnprocessedTranscriptLocationT&& value) {
233 SetUnprocessedTranscriptLocation(std::forward<UnprocessedTranscriptLocationT>(value));
234 return *this;
235 }
237 private:
238 StorageType m_storageType{StorageType::NOT_SET};
239
240 Aws::String m_location;
241
242 MediaStreamType m_mediaStreamType{MediaStreamType::NOT_SET};
243
244 ParticipantType m_participantType{ParticipantType::NOT_SET};
245
246 Aws::String m_fragmentStartNumber;
247
248 Aws::String m_fragmentStopNumber;
249
250 Aws::Utils::DateTime m_startTimestamp{};
251
252 Aws::Utils::DateTime m_stopTimestamp{};
253
255
256 Aws::String m_deletionReason;
257
258 Aws::String m_unprocessedTranscriptLocation;
259 bool m_storageTypeHasBeenSet = false;
260 bool m_locationHasBeenSet = false;
261 bool m_mediaStreamTypeHasBeenSet = false;
262 bool m_participantTypeHasBeenSet = false;
263 bool m_fragmentStartNumberHasBeenSet = false;
264 bool m_fragmentStopNumberHasBeenSet = false;
265 bool m_startTimestampHasBeenSet = false;
266 bool m_stopTimestampHasBeenSet = false;
267 bool m_statusHasBeenSet = false;
268 bool m_deletionReasonHasBeenSet = false;
269 bool m_unprocessedTranscriptLocationHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace Connect
274} // namespace Aws
RecordingStatus GetStatus() const
void SetStopTimestamp(StopTimestampT &&value)
void SetDeletionReason(DeletionReasonT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDeletionReason() const
RecordingInfo & WithFragmentStopNumber(FragmentStopNumberT &&value)
const Aws::String & GetLocation() const
const Aws::String & GetFragmentStopNumber() const
RecordingInfo & WithLocation(LocationT &&value)
void SetLocation(LocationT &&value)
RecordingInfo & WithStatus(RecordingStatus value)
RecordingInfo & WithMediaStreamType(MediaStreamType value)
void SetStartTimestamp(StartTimestampT &&value)
void SetFragmentStopNumber(FragmentStopNumberT &&value)
RecordingInfo & WithFragmentStartNumber(FragmentStartNumberT &&value)
bool UnprocessedTranscriptLocationHasBeenSet() const
void SetFragmentStartNumber(FragmentStartNumberT &&value)
RecordingInfo & WithStartTimestamp(StartTimestampT &&value)
AWS_CONNECT_API RecordingInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMediaStreamType(MediaStreamType value)
void SetStorageType(StorageType value)
AWS_CONNECT_API RecordingInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTimestamp() const
RecordingInfo & WithDeletionReason(DeletionReasonT &&value)
RecordingInfo & WithStorageType(StorageType value)
RecordingInfo & WithParticipantType(ParticipantType value)
AWS_CONNECT_API RecordingInfo()=default
const Aws::String & GetFragmentStartNumber() const
void SetUnprocessedTranscriptLocation(UnprocessedTranscriptLocationT &&value)
void SetParticipantType(ParticipantType value)
const Aws::String & GetUnprocessedTranscriptLocation() const
ParticipantType GetParticipantType() const
RecordingInfo & WithUnprocessedTranscriptLocation(UnprocessedTranscriptLocationT &&value)
RecordingInfo & WithStopTimestamp(StopTimestampT &&value)
MediaStreamType GetMediaStreamType() const
const Aws::Utils::DateTime & GetStopTimestamp() const
void SetStatus(RecordingStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue