AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecordingInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/StorageType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/MediaStreamType.h>
11#include <aws/connect/model/ParticipantType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/connect/model/RecordingStatus.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 Connect
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CONNECT_API RecordingInfo() = default;
41 AWS_CONNECT_API RecordingInfo(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline StorageType GetStorageType() const { return m_storageType; }
51 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
52 inline void SetStorageType(StorageType value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
53 inline RecordingInfo& WithStorageType(StorageType value) { SetStorageType(value); return *this;}
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) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
64 template<typename LocationT = Aws::String>
65 RecordingInfo& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
67
69
72 inline MediaStreamType GetMediaStreamType() const { return m_mediaStreamType; }
73 inline bool MediaStreamTypeHasBeenSet() const { return m_mediaStreamTypeHasBeenSet; }
74 inline void SetMediaStreamType(MediaStreamType value) { m_mediaStreamTypeHasBeenSet = true; m_mediaStreamType = value; }
77
79
85 inline ParticipantType GetParticipantType() const { return m_participantType; }
86 inline bool ParticipantTypeHasBeenSet() const { return m_participantTypeHasBeenSet; }
87 inline void SetParticipantType(ParticipantType value) { m_participantTypeHasBeenSet = true; m_participantType = value; }
90
92
96 inline const Aws::String& GetFragmentStartNumber() const { return m_fragmentStartNumber; }
97 inline bool FragmentStartNumberHasBeenSet() const { return m_fragmentStartNumberHasBeenSet; }
98 template<typename FragmentStartNumberT = Aws::String>
99 void SetFragmentStartNumber(FragmentStartNumberT&& value) { m_fragmentStartNumberHasBeenSet = true; m_fragmentStartNumber = std::forward<FragmentStartNumberT>(value); }
100 template<typename FragmentStartNumberT = Aws::String>
101 RecordingInfo& WithFragmentStartNumber(FragmentStartNumberT&& value) { SetFragmentStartNumber(std::forward<FragmentStartNumberT>(value)); return *this;}
103
105
109 inline const Aws::String& GetFragmentStopNumber() const { return m_fragmentStopNumber; }
110 inline bool FragmentStopNumberHasBeenSet() const { return m_fragmentStopNumberHasBeenSet; }
111 template<typename FragmentStopNumberT = Aws::String>
112 void SetFragmentStopNumber(FragmentStopNumberT&& value) { m_fragmentStopNumberHasBeenSet = true; m_fragmentStopNumber = std::forward<FragmentStopNumberT>(value); }
113 template<typename FragmentStopNumberT = Aws::String>
114 RecordingInfo& WithFragmentStopNumber(FragmentStopNumberT&& value) { SetFragmentStopNumber(std::forward<FragmentStopNumberT>(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
123 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
124 template<typename StartTimestampT = Aws::Utils::DateTime>
125 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
126 template<typename StartTimestampT = Aws::Utils::DateTime>
127 RecordingInfo& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetStopTimestamp() const { return m_stopTimestamp; }
135 inline bool StopTimestampHasBeenSet() const { return m_stopTimestampHasBeenSet; }
136 template<typename StopTimestampT = Aws::Utils::DateTime>
137 void SetStopTimestamp(StopTimestampT&& value) { m_stopTimestampHasBeenSet = true; m_stopTimestamp = std::forward<StopTimestampT>(value); }
138 template<typename StopTimestampT = Aws::Utils::DateTime>
139 RecordingInfo& WithStopTimestamp(StopTimestampT&& value) { SetStopTimestamp(std::forward<StopTimestampT>(value)); return *this;}
141
143
146 inline RecordingStatus GetStatus() const { return m_status; }
147 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
148 inline void SetStatus(RecordingStatus value) { m_statusHasBeenSet = true; m_status = value; }
149 inline RecordingInfo& WithStatus(RecordingStatus value) { SetStatus(value); return *this;}
151
153
157 inline const Aws::String& GetDeletionReason() const { return m_deletionReason; }
158 inline bool DeletionReasonHasBeenSet() const { return m_deletionReasonHasBeenSet; }
159 template<typename DeletionReasonT = Aws::String>
160 void SetDeletionReason(DeletionReasonT&& value) { m_deletionReasonHasBeenSet = true; m_deletionReason = std::forward<DeletionReasonT>(value); }
161 template<typename DeletionReasonT = Aws::String>
162 RecordingInfo& WithDeletionReason(DeletionReasonT&& value) { SetDeletionReason(std::forward<DeletionReasonT>(value)); return *this;}
164 private:
165
166 StorageType m_storageType{StorageType::NOT_SET};
167 bool m_storageTypeHasBeenSet = false;
168
169 Aws::String m_location;
170 bool m_locationHasBeenSet = false;
171
172 MediaStreamType m_mediaStreamType{MediaStreamType::NOT_SET};
173 bool m_mediaStreamTypeHasBeenSet = false;
174
175 ParticipantType m_participantType{ParticipantType::NOT_SET};
176 bool m_participantTypeHasBeenSet = false;
177
178 Aws::String m_fragmentStartNumber;
179 bool m_fragmentStartNumberHasBeenSet = false;
180
181 Aws::String m_fragmentStopNumber;
182 bool m_fragmentStopNumberHasBeenSet = false;
183
184 Aws::Utils::DateTime m_startTimestamp{};
185 bool m_startTimestampHasBeenSet = false;
186
187 Aws::Utils::DateTime m_stopTimestamp{};
188 bool m_stopTimestampHasBeenSet = false;
189
191 bool m_statusHasBeenSet = false;
192
193 Aws::String m_deletionReason;
194 bool m_deletionReasonHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Connect
199} // 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)
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 SetParticipantType(ParticipantType value)
ParticipantType GetParticipantType() const
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