7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/ElasticTranscoderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elastictranscoder/model/JobInput.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/elastictranscoder/model/CreateJobOutput.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/elastictranscoder/model/CreateJobPlaylist.h>
19namespace ElasticTranscoder
52 template<
typename PipelineIdT = Aws::String>
53 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet =
true; m_pipelineId = std::forward<PipelineIdT>(value); }
54 template<
typename PipelineIdT = Aws::String>
65 template<
typename InputT = JobInput>
66 void SetInput(InputT&& value) { m_inputHasBeenSet =
true; m_input = std::forward<InputT>(value); }
67 template<
typename InputT = JobInput>
78 template<
typename InputsT = Aws::Vector<JobInput>>
79 void SetInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs = std::forward<InputsT>(value); }
80 template<
typename InputsT = Aws::Vector<JobInput>>
82 template<
typename InputsT = JobInput>
83 CreateJobRequest&
AddInputs(InputsT&& value) { m_inputsHasBeenSet =
true; m_inputs.emplace_back(std::forward<InputsT>(value));
return *
this; }
94 template<
typename OutputT = CreateJobOutput>
95 void SetOutput(OutputT&& value) { m_outputHasBeenSet =
true; m_output = std::forward<OutputT>(value); }
96 template<
typename OutputT = CreateJobOutput>
108 template<
typename OutputsT = Aws::Vector<CreateJobOutput>>
109 void SetOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs = std::forward<OutputsT>(value); }
110 template<
typename OutputsT = Aws::Vector<CreateJobOutput>>
112 template<
typename OutputsT = CreateJobOutput>
113 CreateJobRequest&
AddOutputs(OutputsT&& value) { m_outputsHasBeenSet =
true; m_outputs.emplace_back(std::forward<OutputsT>(value));
return *
this; }
124 template<
typename OutputKeyPrefixT = Aws::String>
125 void SetOutputKeyPrefix(OutputKeyPrefixT&& value) { m_outputKeyPrefixHasBeenSet =
true; m_outputKeyPrefix = std::forward<OutputKeyPrefixT>(value); }
126 template<
typename OutputKeyPrefixT = Aws::String>
139 template<
typename PlaylistsT = Aws::Vector<CreateJobPlaylist>>
140 void SetPlaylists(PlaylistsT&& value) { m_playlistsHasBeenSet =
true; m_playlists = std::forward<PlaylistsT>(value); }
141 template<
typename PlaylistsT = Aws::Vector<CreateJobPlaylist>>
143 template<
typename PlaylistsT = CreateJobPlaylist>
144 CreateJobRequest&
AddPlaylists(PlaylistsT&& value) { m_playlistsHasBeenSet =
true; m_playlists.emplace_back(std::forward<PlaylistsT>(value));
return *
this; }
157 template<
typename UserMetadataT = Aws::Map<Aws::String, Aws::String>>
158 void SetUserMetadata(UserMetadataT&& value) { m_userMetadataHasBeenSet =
true; m_userMetadata = std::forward<UserMetadataT>(value); }
159 template<
typename UserMetadataT = Aws::Map<Aws::String, Aws::String>>
161 template<
typename UserMetadataKeyT = Aws::String,
typename UserMetadataValueT = Aws::String>
163 m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(std::forward<UserMetadataKeyT>(key), std::forward<UserMetadataValueT>(value));
return *
this;
169 bool m_pipelineIdHasBeenSet =
false;
172 bool m_inputHasBeenSet =
false;
175 bool m_inputsHasBeenSet =
false;
178 bool m_outputHasBeenSet =
false;
181 bool m_outputsHasBeenSet =
false;
184 bool m_outputKeyPrefixHasBeenSet =
false;
187 bool m_playlistsHasBeenSet =
false;
190 bool m_userMetadataHasBeenSet =
false;
const Aws::Vector< CreateJobPlaylist > & GetPlaylists() const
const Aws::Vector< JobInput > & GetInputs() const
void SetPipelineId(PipelineIdT &&value)
CreateJobRequest & AddUserMetadata(UserMetadataKeyT &&key, UserMetadataValueT &&value)
CreateJobRequest & WithPlaylists(PlaylistsT &&value)
const CreateJobOutput & GetOutput() const
bool OutputHasBeenSet() const
void SetInput(InputT &&value)
void SetInputs(InputsT &&value)
void SetOutputs(OutputsT &&value)
bool PipelineIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateJobRequest & WithOutputKeyPrefix(OutputKeyPrefixT &&value)
CreateJobRequest & AddPlaylists(PlaylistsT &&value)
void SetPlaylists(PlaylistsT &&value)
CreateJobRequest & WithUserMetadata(UserMetadataT &&value)
CreateJobRequest & WithInputs(InputsT &&value)
CreateJobRequest & AddInputs(InputsT &&value)
CreateJobRequest & WithInput(InputT &&value)
AWS_ELASTICTRANSCODER_API CreateJobRequest()=default
const Aws::String & GetOutputKeyPrefix() const
void SetUserMetadata(UserMetadataT &&value)
const Aws::Vector< CreateJobOutput > & GetOutputs() const
CreateJobRequest & WithOutput(OutputT &&value)
bool InputHasBeenSet() const
const JobInput & GetInput() const
void SetOutputKeyPrefix(OutputKeyPrefixT &&value)
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
void SetOutput(OutputT &&value)
bool OutputsHasBeenSet() const
bool OutputKeyPrefixHasBeenSet() const
AWS_ELASTICTRANSCODER_API Aws::String SerializePayload() const override
CreateJobRequest & AddOutputs(OutputsT &&value)
bool PlaylistsHasBeenSet() const
CreateJobRequest & WithPipelineId(PipelineIdT &&value)
CreateJobRequest & WithOutputs(OutputsT &&value)
bool InputsHasBeenSet() const
bool UserMetadataHasBeenSet() const
const Aws::String & GetPipelineId() 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