7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/JobInput.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elastictranscoder/model/JobOutput.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/elastictranscoder/model/Timing.h>
14#include <aws/elastictranscoder/model/Playlist.h>
27namespace ElasticTranscoder
41 AWS_ELASTICTRANSCODER_API
Job() =
default;
54 template<
typename IdT = Aws::String>
55 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
56 template<
typename IdT = Aws::String>
66 template<
typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
68 template<
typename ArnT = Aws::String>
81 template<
typename PipelineIdT = Aws::String>
82 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet =
true; m_pipelineId = std::forward<PipelineIdT>(value); }
83 template<
typename PipelineIdT = Aws::String>
94 template<
typename InputT = JobInput>
95 void SetInput(InputT&& value) { m_inputHasBeenSet =
true; m_input = std::forward<InputT>(value); }
96 template<
typename InputT = JobInput>
108 template<
typename InputsT = Aws::Vector<JobInput>>
109 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
110 template<
typename InputsT = Aws::Vector<JobInput>>
112 template<
typename InputsT = JobInput>
113 Job&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
127 template<
typename OutputT = JobOutput>
128 void SetOutput(OutputT&& value) { m_outputHasBeenSet =
true; m_output = std::forward<OutputT>(value); }
129 template<
typename OutputT = JobOutput>
145 template<
typename OutputsT = Aws::Vector<JobOutput>>
146 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
147 template<
typename OutputsT = Aws::Vector<JobOutput>>
149 template<
typename OutputsT = JobOutput>
150 Job&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
162 template<
typename OutputKeyPrefixT = Aws::String>
163 void SetOutputKeyPrefix(OutputKeyPrefixT&& value) { m_outputKeyPrefixHasBeenSet =
true; m_outputKeyPrefix = std::forward<OutputKeyPrefixT>(value); }
164 template<
typename OutputKeyPrefixT = Aws::String>
179 template<
typename PlaylistsT = Aws::Vector<Playlist>>
180 void SetPlaylists(PlaylistsT&& value) { m_playlistsHasBeenSet =
true; m_playlists = std::forward<PlaylistsT>(value); }
181 template<
typename PlaylistsT = Aws::Vector<Playlist>>
183 template<
typename PlaylistsT = Playlist>
184 Job&
AddPlaylists(PlaylistsT&& value) { m_playlistsHasBeenSet =
true; m_playlists.emplace_back(std::forward<PlaylistsT>(value));
return *
this; }
194 template<
typename StatusT = Aws::String>
195 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
196 template<
typename StatusT = Aws::String>
214 template<
typename UserMetadataT = Aws::Map<Aws::String, Aws::String>>
215 void SetUserMetadata(UserMetadataT&& value) { m_userMetadataHasBeenSet =
true; m_userMetadata = std::forward<UserMetadataT>(value); }
216 template<
typename UserMetadataT = Aws::Map<Aws::String, Aws::String>>
218 template<
typename UserMetadataKeyT = Aws::String,
typename UserMetadataValueT = Aws::String>
220 m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(std::forward<UserMetadataKeyT>(key), std::forward<UserMetadataValueT>(value));
return *
this;
230 template<
typename TimingT = Timing>
231 void SetTiming(TimingT&& value) { m_timingHasBeenSet =
true; m_timing = std::forward<TimingT>(value); }
232 template<
typename TimingT = Timing>
238 bool m_idHasBeenSet =
false;
241 bool m_arnHasBeenSet =
false;
244 bool m_pipelineIdHasBeenSet =
false;
247 bool m_inputHasBeenSet =
false;
250 bool m_inputsHasBeenSet =
false;
253 bool m_outputHasBeenSet =
false;
256 bool m_outputsHasBeenSet =
false;
259 bool m_outputKeyPrefixHasBeenSet =
false;
262 bool m_playlistsHasBeenSet =
false;
265 bool m_statusHasBeenSet =
false;
268 bool m_userMetadataHasBeenSet =
false;
271 bool m_timingHasBeenSet =
false;
void SetPipelineId(PipelineIdT &&value)
const Aws::String & GetOutputKeyPrefix() const
void SetArn(ArnT &&value)
Job & WithOutputs(OutputsT &&value)
Job & WithId(IdT &&value)
Job & WithInputs(InputsT &&value)
void SetTiming(TimingT &&value)
bool OutputKeyPrefixHasBeenSet() const
const Aws::String & GetId() const
bool OutputsHasBeenSet() const
void SetOutput(OutputT &&value)
bool StatusHasBeenSet() const
bool UserMetadataHasBeenSet() const
bool InputHasBeenSet() const
AWS_ELASTICTRANSCODER_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithOutputKeyPrefix(OutputKeyPrefixT &&value)
Job & WithTiming(TimingT &&value)
bool PlaylistsHasBeenSet() const
void SetStatus(StatusT &&value)
void SetUserMetadata(UserMetadataT &&value)
const JobInput & GetInput() const
const Aws::String & GetPipelineId() const
Job & AddPlaylists(PlaylistsT &&value)
const Aws::String & GetArn() const
bool TimingHasBeenSet() const
bool IdHasBeenSet() const
const Timing & GetTiming() const
const Aws::Vector< Playlist > & GetPlaylists() const
Job & WithUserMetadata(UserMetadataT &&value)
Job & WithPipelineId(PipelineIdT &&value)
AWS_ELASTICTRANSCODER_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & AddOutputs(OutputsT &&value)
bool InputsHasBeenSet() const
Job & AddInputs(InputsT &&value)
bool OutputHasBeenSet() const
void SetOutputKeyPrefix(OutputKeyPrefixT &&value)
Job & WithArn(ArnT &&value)
const Aws::Vector< JobInput > & GetInputs() const
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
Job & WithPlaylists(PlaylistsT &&value)
Job & WithOutput(OutputT &&value)
Job & WithInput(InputT &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Job & AddUserMetadata(UserMetadataKeyT &&key, UserMetadataValueT &&value)
const Aws::Vector< JobOutput > & GetOutputs() const
void SetInput(InputT &&value)
void SetOutputs(OutputsT &&value)
void SetInputs(InputsT &&value)
Job & WithStatus(StatusT &&value)
const Aws::String & GetStatus() const
AWS_ELASTICTRANSCODER_API Job()=default
const JobOutput & GetOutput() const
void SetPlaylists(PlaylistsT &&value)
bool PipelineIdHasBeenSet() const
bool ArnHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue