7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/model/Channel.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ivs/model/IngestConfiguration.h>
11#include <aws/ivs/model/IngestConfigurations.h>
12#include <aws/ivs/model/RecordingConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/ivs/model/StreamEvent.h>
55 template<
typename ChannelT = Channel>
56 void SetChannel(ChannelT&& value) { m_channelHasBeenSet =
true; m_channel = std::forward<ChannelT>(value); }
57 template<
typename ChannelT = Channel>
69 template<
typename EndTimeT = Aws::Utils::DateTime>
70 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
71 template<
typename EndTimeT = Aws::Utils::DateTime>
88 template<
typename IngestConfigurationT = IngestConfiguration>
89 void SetIngestConfiguration(IngestConfigurationT&& value) { m_ingestConfigurationHasBeenSet =
true; m_ingestConfiguration = std::forward<IngestConfigurationT>(value); }
90 template<
typename IngestConfigurationT = IngestConfiguration>
102 template<
typename IngestConfigurationsT = IngestConfigurations>
103 void SetIngestConfigurations(IngestConfigurationsT&& value) { m_ingestConfigurationsHasBeenSet =
true; m_ingestConfigurations = std::forward<IngestConfigurationsT>(value); }
104 template<
typename IngestConfigurationsT = IngestConfigurations>
114 template<
typename RecordingConfigurationT = RecordingConfiguration>
115 void SetRecordingConfiguration(RecordingConfigurationT&& value) { m_recordingConfigurationHasBeenSet =
true; m_recordingConfiguration = std::forward<RecordingConfigurationT>(value); }
116 template<
typename RecordingConfigurationT = RecordingConfiguration>
127 template<
typename StartTimeT = Aws::Utils::DateTime>
128 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
129 template<
typename StartTimeT = Aws::Utils::DateTime>
140 template<
typename StreamIdT = Aws::String>
141 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet =
true; m_streamId = std::forward<StreamIdT>(value); }
142 template<
typename StreamIdT = Aws::String>
155 template<
typename TruncatedEventsT = Aws::Vector<StreamEvent>>
156 void SetTruncatedEvents(TruncatedEventsT&& value) { m_truncatedEventsHasBeenSet =
true; m_truncatedEvents = std::forward<TruncatedEventsT>(value); }
157 template<
typename TruncatedEventsT = Aws::Vector<StreamEvent>>
159 template<
typename TruncatedEventsT = StreamEvent>
160 StreamSession&
AddTruncatedEvents(TruncatedEventsT&& value) { m_truncatedEventsHasBeenSet =
true; m_truncatedEvents.emplace_back(std::forward<TruncatedEventsT>(value));
return *
this; }
165 bool m_channelHasBeenSet =
false;
168 bool m_endTimeHasBeenSet =
false;
170 IngestConfiguration m_ingestConfiguration;
171 bool m_ingestConfigurationHasBeenSet =
false;
173 IngestConfigurations m_ingestConfigurations;
174 bool m_ingestConfigurationsHasBeenSet =
false;
176 RecordingConfiguration m_recordingConfiguration;
177 bool m_recordingConfigurationHasBeenSet =
false;
180 bool m_startTimeHasBeenSet =
false;
183 bool m_streamIdHasBeenSet =
false;
186 bool m_truncatedEventsHasBeenSet =
false;
const Aws::Utils::DateTime & GetStartTime() 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)
StreamSession & WithIngestConfigurations(IngestConfigurationsT &&value)
const Channel & GetChannel() const
bool IngestConfigurationHasBeenSet() const
StreamSession & WithChannel(ChannelT &&value)
StreamSession & AddTruncatedEvents(TruncatedEventsT &&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