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();
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
69 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
70 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
87 inline void SetPipelineId(
const char* value) { m_pipelineIdHasBeenSet =
true; m_pipelineId.assign(value); }
101 inline void SetInput(
JobInput&& value) { m_inputHasBeenSet =
true; m_input = std::move(value); }
118 inline Job&
AddInputs(
const JobInput& value) { m_inputsHasBeenSet =
true; m_inputs.push_back(value);
return *
this; }
119 inline Job&
AddInputs(
JobInput&& value) { m_inputsHasBeenSet =
true; m_inputs.push_back(std::move(value));
return *
this; }
156 inline Job&
AddOutputs(
JobOutput&& value) { m_outputsHasBeenSet =
true; m_outputs.push_back(std::move(value));
return *
this; }
170 inline void SetOutputKeyPrefix(
const char* value) { m_outputKeyPrefixHasBeenSet =
true; m_outputKeyPrefix.assign(value); }
192 inline Job&
AddPlaylists(
Playlist&& value) { m_playlistsHasBeenSet =
true; m_playlists.push_back(std::move(value));
return *
this; }
204 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
232 inline Job&
AddUserMetadata(
const char* key,
Aws::String&& value) { m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(key, std::move(value));
return *
this; }
233 inline Job&
AddUserMetadata(
Aws::String&& key,
const char* value) { m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(std::move(key), value);
return *
this; }
234 inline Job&
AddUserMetadata(
const char* key,
const char* value) { m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(key, value);
return *
this; }
243 inline void SetTiming(
const Timing& value) { m_timingHasBeenSet =
true; m_timing = value; }
244 inline void SetTiming(
Timing&& value) { m_timingHasBeenSet =
true; m_timing = std::move(value); }
251 bool m_idHasBeenSet =
false;
254 bool m_arnHasBeenSet =
false;
257 bool m_pipelineIdHasBeenSet =
false;
260 bool m_inputHasBeenSet =
false;
263 bool m_inputsHasBeenSet =
false;
266 bool m_outputHasBeenSet =
false;
269 bool m_outputsHasBeenSet =
false;
272 bool m_outputKeyPrefixHasBeenSet =
false;
275 bool m_playlistsHasBeenSet =
false;
278 bool m_statusHasBeenSet =
false;
281 bool m_userMetadataHasBeenSet =
false;
284 bool m_timingHasBeenSet =
false;
Job & WithArn(const Aws::String &value)
Job & AddInputs(const JobInput &value)
const Aws::String & GetOutputKeyPrefix() const
void SetUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
Job & AddUserMetadata(Aws::String &&key, const char *value)
void SetInputs(Aws::Vector< JobInput > &&value)
Job & WithOutputKeyPrefix(Aws::String &&value)
Job & AddUserMetadata(const char *key, Aws::String &&value)
Job & WithId(Aws::String &&value)
bool OutputKeyPrefixHasBeenSet() const
const Aws::String & GetId() const
Job & WithPipelineId(Aws::String &&value)
void SetOutputKeyPrefix(const char *value)
void SetId(const char *value)
bool OutputsHasBeenSet() const
void SetInput(JobInput &&value)
Job & WithOutput(const JobOutput &value)
void SetTiming(Timing &&value)
Job & WithTiming(const Timing &value)
void SetId(Aws::String &&value)
bool StatusHasBeenSet() const
Job & WithArn(const char *value)
Job & WithUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
bool UserMetadataHasBeenSet() const
Job & AddPlaylists(Playlist &&value)
bool InputHasBeenSet() const
Job & WithPlaylists(const Aws::Vector< Playlist > &value)
void SetUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
Job & AddUserMetadata(Aws::String &&key, const Aws::String &value)
void SetPipelineId(Aws::String &&value)
AWS_ELASTICTRANSCODER_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithInput(const JobInput &value)
void SetTiming(const Timing &value)
bool PlaylistsHasBeenSet() const
Job & WithPlaylists(Aws::Vector< Playlist > &&value)
Job & WithOutputKeyPrefix(const char *value)
const JobInput & GetInput() const
const Aws::String & GetPipelineId() const
const Aws::String & GetArn() const
bool TimingHasBeenSet() const
Job & WithStatus(Aws::String &&value)
Job & AddPlaylists(const Playlist &value)
bool IdHasBeenSet() const
void SetPlaylists(const Aws::Vector< Playlist > &value)
void SetPipelineId(const Aws::String &value)
Job & WithId(const Aws::String &value)
void SetPlaylists(Aws::Vector< Playlist > &&value)
void SetInputs(const Aws::Vector< JobInput > &value)
const Timing & GetTiming() const
Job & WithOutputs(const Aws::Vector< JobOutput > &value)
Job & WithArn(Aws::String &&value)
void SetOutputKeyPrefix(Aws::String &&value)
void SetOutputKeyPrefix(const Aws::String &value)
const Aws::Vector< Playlist > & GetPlaylists() const
AWS_ELASTICTRANSCODER_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
bool InputsHasBeenSet() const
Job & AddOutputs(JobOutput &&value)
void SetInput(const JobInput &value)
bool OutputHasBeenSet() const
void SetArn(Aws::String &&value)
Job & AddUserMetadata(const char *key, const char *value)
Job & WithUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
Job & AddUserMetadata(const Aws::String &key, Aws::String &&value)
Job & WithInputs(Aws::Vector< JobInput > &&value)
void SetStatus(Aws::String &&value)
void SetOutputs(Aws::Vector< JobOutput > &&value)
const Aws::Vector< JobInput > & GetInputs() const
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
Job & AddUserMetadata(Aws::String &&key, Aws::String &&value)
Job & AddOutputs(const JobOutput &value)
void SetOutput(const JobOutput &value)
void SetPipelineId(const char *value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOutputs(const Aws::Vector< JobOutput > &value)
Job & WithTiming(Timing &&value)
const Aws::Vector< JobOutput > & GetOutputs() const
Job & WithInputs(const Aws::Vector< JobInput > &value)
void SetStatus(const Aws::String &value)
AWS_ELASTICTRANSCODER_API Job()
Job & WithStatus(const Aws::String &value)
Job & WithId(const char *value)
void SetArn(const char *value)
Job & AddUserMetadata(const Aws::String &key, const Aws::String &value)
Job & WithInput(JobInput &&value)
void SetArn(const Aws::String &value)
void SetOutput(JobOutput &&value)
Job & WithPipelineId(const char *value)
const Aws::String & GetStatus() const
Job & WithOutput(JobOutput &&value)
Job & WithStatus(const char *value)
Job & WithOutputs(Aws::Vector< JobOutput > &&value)
Job & WithOutputKeyPrefix(const Aws::String &value)
void SetStatus(const char *value)
const JobOutput & GetOutput() const
Job & AddInputs(JobInput &&value)
void SetId(const Aws::String &value)
Job & WithPipelineId(const Aws::String &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