7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ivs/IVS_EXPORTS.h>
11#include <aws/ivs/model/Channel.h>
12#include <aws/ivs/model/FailoverSlateConfiguration.h>
13#include <aws/ivs/model/IngestConfiguration.h>
14#include <aws/ivs/model/IngestConfigurations.h>
15#include <aws/ivs/model/RecordingConfiguration.h>
16#include <aws/ivs/model/StreamEvent.h>
51 template <
typename StreamIdT = Aws::String>
53 m_streamIdHasBeenSet =
true;
54 m_streamId = std::forward<StreamIdT>(value);
56 template <
typename StreamIdT = Aws::String>
70 template <
typename StartTimeT = Aws::Utils::DateTime>
72 m_startTimeHasBeenSet =
true;
73 m_startTime = std::forward<StartTimeT>(value);
75 template <
typename StartTimeT = Aws::Utils::DateTime>
90 template <
typename EndTimeT = Aws::Utils::DateTime>
92 m_endTimeHasBeenSet =
true;
93 m_endTime = std::forward<EndTimeT>(value);
95 template <
typename EndTimeT = Aws::Utils::DateTime>
108 template <
typename ChannelT = Channel>
110 m_channelHasBeenSet =
true;
111 m_channel = std::forward<ChannelT>(value);
113 template <
typename ChannelT = Channel>
133 template <
typename IngestConfigurationT = IngestConfiguration>
135 m_ingestConfigurationHasBeenSet =
true;
136 m_ingestConfiguration = std::forward<IngestConfigurationT>(value);
138 template <
typename IngestConfigurationT = IngestConfiguration>
153 template <
typename IngestConfigurationsT = IngestConfigurations>
155 m_ingestConfigurationsHasBeenSet =
true;
156 m_ingestConfigurations = std::forward<IngestConfigurationsT>(value);
158 template <
typename IngestConfigurationsT = IngestConfigurations>
171 template <
typename RecordingConfigurationT = RecordingConfiguration>
173 m_recordingConfigurationHasBeenSet =
true;
174 m_recordingConfiguration = std::forward<RecordingConfigurationT>(value);
176 template <
typename RecordingConfigurationT = RecordingConfiguration>
192 template <
typename TruncatedEventsT = Aws::Vector<StreamEvent>>
194 m_truncatedEventsHasBeenSet =
true;
195 m_truncatedEvents = std::forward<TruncatedEventsT>(value);
197 template <
typename TruncatedEventsT = Aws::Vector<StreamEvent>>
202 template <
typename TruncatedEventsT = StreamEvent>
204 m_truncatedEventsHasBeenSet =
true;
205 m_truncatedEvents.emplace_back(std::forward<TruncatedEventsT>(value));
217 template <
typename FailoverSlateConfigurationT = FailoverSlateConfiguration>
219 m_failoverSlateConfigurationHasBeenSet =
true;
220 m_failoverSlateConfiguration = std::forward<FailoverSlateConfigurationT>(value);
222 template <
typename FailoverSlateConfigurationT = FailoverSlateConfiguration>
237 IngestConfiguration m_ingestConfiguration;
239 IngestConfigurations m_ingestConfigurations;
241 RecordingConfiguration m_recordingConfiguration;
245 FailoverSlateConfiguration m_failoverSlateConfiguration;
246 bool m_streamIdHasBeenSet =
false;
247 bool m_startTimeHasBeenSet =
false;
248 bool m_endTimeHasBeenSet =
false;
249 bool m_channelHasBeenSet =
false;
250 bool m_ingestConfigurationHasBeenSet =
false;
251 bool m_ingestConfigurationsHasBeenSet =
false;
252 bool m_recordingConfigurationHasBeenSet =
false;
253 bool m_truncatedEventsHasBeenSet =
false;
254 bool m_failoverSlateConfigurationHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() const
bool FailoverSlateConfigurationHasBeenSet() const
const IngestConfigurations & GetIngestConfigurations() const
bool StreamIdHasBeenSet() const
AWS_IVS_API StreamSession & operator=(Aws::Utils::Json::JsonView jsonValue)
StreamSession & WithIngestConfiguration(IngestConfigurationT &&value)
void SetStartTime(StartTimeT &&value)
StreamSession & WithTruncatedEvents(TruncatedEventsT &&value)
const IngestConfiguration & GetIngestConfiguration() const
const Aws::Vector< StreamEvent > & GetTruncatedEvents() const
const Aws::String & GetStreamId() const
AWS_IVS_API StreamSession()=default
const RecordingConfiguration & GetRecordingConfiguration() const
void SetRecordingConfiguration(RecordingConfigurationT &&value)
bool TruncatedEventsHasBeenSet() const
void SetIngestConfigurations(IngestConfigurationsT &&value)
bool RecordingConfigurationHasBeenSet() const
void SetStreamId(StreamIdT &&value)
StreamSession & WithEndTime(EndTimeT &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIngestConfiguration(IngestConfigurationT &&value)
StreamSession & WithStreamId(StreamIdT &&value)
bool EndTimeHasBeenSet() const
void SetTruncatedEvents(TruncatedEventsT &&value)
void SetChannel(ChannelT &&value)
AWS_IVS_API StreamSession(Aws::Utils::Json::JsonView jsonValue)
bool IngestConfigurationsHasBeenSet() const
const Aws::Utils::DateTime & GetEndTime() const
StreamSession & WithRecordingConfiguration(RecordingConfigurationT &&value)
void SetEndTime(EndTimeT &&value)
const FailoverSlateConfiguration & GetFailoverSlateConfiguration() const
StreamSession & WithIngestConfigurations(IngestConfigurationsT &&value)
void SetFailoverSlateConfiguration(FailoverSlateConfigurationT &&value)
const Channel & GetChannel() const
bool IngestConfigurationHasBeenSet() const
StreamSession & WithChannel(ChannelT &&value)
StreamSession & AddTruncatedEvents(TruncatedEventsT &&value)
StreamSession & WithFailoverSlateConfiguration(FailoverSlateConfigurationT &&value)
bool ChannelHasBeenSet() const
StreamSession & WithStartTime(StartTimeT &&value)
bool StartTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue