AWS SDK for C++  1.9.158
AWS SDK for C++
TimecodeConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
55  inline const Aws::String& GetAnchor() const{ return m_anchor; }
56 
70  inline bool AnchorHasBeenSet() const { return m_anchorHasBeenSet; }
71 
85  inline void SetAnchor(const Aws::String& value) { m_anchorHasBeenSet = true; m_anchor = value; }
86 
100  inline void SetAnchor(Aws::String&& value) { m_anchorHasBeenSet = true; m_anchor = std::move(value); }
101 
115  inline void SetAnchor(const char* value) { m_anchorHasBeenSet = true; m_anchor.assign(value); }
116 
130  inline TimecodeConfig& WithAnchor(const Aws::String& value) { SetAnchor(value); return *this;}
131 
145  inline TimecodeConfig& WithAnchor(Aws::String&& value) { SetAnchor(std::move(value)); return *this;}
146 
160  inline TimecodeConfig& WithAnchor(const char* value) { SetAnchor(value); return *this;}
161 
162 
175  inline const TimecodeSource& GetSource() const{ return m_source; }
176 
189  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
190 
203  inline void SetSource(const TimecodeSource& value) { m_sourceHasBeenSet = true; m_source = value; }
204 
217  inline void SetSource(TimecodeSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
218 
231  inline TimecodeConfig& WithSource(const TimecodeSource& value) { SetSource(value); return *this;}
232 
245  inline TimecodeConfig& WithSource(TimecodeSource&& value) { SetSource(std::move(value)); return *this;}
246 
247 
254  inline const Aws::String& GetStart() const{ return m_start; }
255 
262  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
263 
270  inline void SetStart(const Aws::String& value) { m_startHasBeenSet = true; m_start = value; }
271 
278  inline void SetStart(Aws::String&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
279 
286  inline void SetStart(const char* value) { m_startHasBeenSet = true; m_start.assign(value); }
287 
294  inline TimecodeConfig& WithStart(const Aws::String& value) { SetStart(value); return *this;}
295 
302  inline TimecodeConfig& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;}
303 
310  inline TimecodeConfig& WithStart(const char* value) { SetStart(value); return *this;}
311 
312 
322  inline const Aws::String& GetTimestampOffset() const{ return m_timestampOffset; }
323 
333  inline bool TimestampOffsetHasBeenSet() const { return m_timestampOffsetHasBeenSet; }
334 
344  inline void SetTimestampOffset(const Aws::String& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = value; }
345 
355  inline void SetTimestampOffset(Aws::String&& value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset = std::move(value); }
356 
366  inline void SetTimestampOffset(const char* value) { m_timestampOffsetHasBeenSet = true; m_timestampOffset.assign(value); }
367 
377  inline TimecodeConfig& WithTimestampOffset(const Aws::String& value) { SetTimestampOffset(value); return *this;}
378 
388  inline TimecodeConfig& WithTimestampOffset(Aws::String&& value) { SetTimestampOffset(std::move(value)); return *this;}
389 
399  inline TimecodeConfig& WithTimestampOffset(const char* value) { SetTimestampOffset(value); return *this;}
400 
401  private:
402 
403  Aws::String m_anchor;
404  bool m_anchorHasBeenSet;
405 
406  TimecodeSource m_source;
407  bool m_sourceHasBeenSet;
408 
409  Aws::String m_start;
410  bool m_startHasBeenSet;
411 
412  Aws::String m_timestampOffset;
413  bool m_timestampOffsetHasBeenSet;
414  };
415 
416 } // namespace Model
417 } // namespace MediaConvert
418 } // namespace Aws
Aws::MediaConvert::Model::TimecodeConfig::WithTimestampOffset
TimecodeConfig & WithTimestampOffset(const char *value)
Definition: TimecodeConfig.h:399
Aws::MediaConvert::Model::TimecodeConfig::WithSource
TimecodeConfig & WithSource(const TimecodeSource &value)
Definition: TimecodeConfig.h:231
Aws::MediaConvert::Model::TimecodeConfig::SetSource
void SetSource(const TimecodeSource &value)
Definition: TimecodeConfig.h:203
Aws::MediaConvert::Model::TimecodeConfig::SetAnchor
void SetAnchor(const Aws::String &value)
Definition: TimecodeConfig.h:85
Aws::MediaConvert::Model::TimecodeConfig::WithStart
TimecodeConfig & WithStart(const Aws::String &value)
Definition: TimecodeConfig.h:294
Aws::MediaConvert::Model::TimecodeConfig::WithAnchor
TimecodeConfig & WithAnchor(Aws::String &&value)
Definition: TimecodeConfig.h:145
Aws::MediaConvert::Model::TimecodeConfig::SetStart
void SetStart(Aws::String &&value)
Definition: TimecodeConfig.h:278
Aws::MediaConvert::Model::TimecodeConfig::SetTimestampOffset
void SetTimestampOffset(Aws::String &&value)
Definition: TimecodeConfig.h:355
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::TimecodeConfig::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: TimecodeConfig.h:189
Aws::MediaConvert::Model::TimecodeConfig::SetStart
void SetStart(const char *value)
Definition: TimecodeConfig.h:286
Aws::MediaConvert::Model::TimecodeConfig::WithAnchor
TimecodeConfig & WithAnchor(const char *value)
Definition: TimecodeConfig.h:160
Aws::MediaConvert::Model::TimecodeConfig::AnchorHasBeenSet
bool AnchorHasBeenSet() const
Definition: TimecodeConfig.h:70
Aws::MediaConvert::Model::TimecodeConfig::GetSource
const TimecodeSource & GetSource() const
Definition: TimecodeConfig.h:175
Aws::MediaConvert::Model::TimecodeConfig::SetStart
void SetStart(const Aws::String &value)
Definition: TimecodeConfig.h:270
Aws::MediaConvert::Model::TimecodeConfig::SetSource
void SetSource(TimecodeSource &&value)
Definition: TimecodeConfig.h:217
Aws::MediaConvert::Model::TimecodeConfig::WithStart
TimecodeConfig & WithStart(const char *value)
Definition: TimecodeConfig.h:310
Aws::MediaConvert::Model::TimecodeConfig::GetTimestampOffset
const Aws::String & GetTimestampOffset() const
Definition: TimecodeConfig.h:322
Aws::MediaConvert::Model::TimecodeSource
TimecodeSource
Definition: TimecodeSource.h:17
Aws::MediaConvert::Model::TimecodeConfig::TimecodeConfig
TimecodeConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::TimecodeConfig::WithStart
TimecodeConfig & WithStart(Aws::String &&value)
Definition: TimecodeConfig.h:302
Aws::MediaConvert::Model::TimecodeConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::TimecodeConfig::WithSource
TimecodeConfig & WithSource(TimecodeSource &&value)
Definition: TimecodeConfig.h:245
Aws::MediaConvert::Model::TimecodeConfig::operator=
TimecodeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::TimecodeConfig::GetStart
const Aws::String & GetStart() const
Definition: TimecodeConfig.h:254
Aws::MediaConvert::Model::TimecodeConfig::TimecodeConfig
TimecodeConfig()
Aws::MediaConvert::Model::TimecodeConfig
Definition: TimecodeConfig.h:34
Aws::MediaConvert::Model::TimecodeConfig::TimestampOffsetHasBeenSet
bool TimestampOffsetHasBeenSet() const
Definition: TimecodeConfig.h:333
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::TimecodeConfig::SetTimestampOffset
void SetTimestampOffset(const char *value)
Definition: TimecodeConfig.h:366
Aws::MediaConvert::Model::TimecodeConfig::GetAnchor
const Aws::String & GetAnchor() const
Definition: TimecodeConfig.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::TimecodeConfig::SetAnchor
void SetAnchor(Aws::String &&value)
Definition: TimecodeConfig.h:100
Aws::MediaConvert::Model::TimecodeConfig::StartHasBeenSet
bool StartHasBeenSet() const
Definition: TimecodeConfig.h:262
Aws::MediaConvert::Model::TimecodeConfig::SetTimestampOffset
void SetTimestampOffset(const Aws::String &value)
Definition: TimecodeConfig.h:344
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::TimecodeConfig::WithTimestampOffset
TimecodeConfig & WithTimestampOffset(const Aws::String &value)
Definition: TimecodeConfig.h:377
Aws::MediaConvert::Model::TimecodeConfig::SetAnchor
void SetAnchor(const char *value)
Definition: TimecodeConfig.h:115
Aws::MediaConvert::Model::TimecodeConfig::WithTimestampOffset
TimecodeConfig & WithTimestampOffset(Aws::String &&value)
Definition: TimecodeConfig.h:388
TimecodeSource.h
Aws::MediaConvert::Model::TimecodeConfig::WithAnchor
TimecodeConfig & WithAnchor(const Aws::String &value)
Definition: TimecodeConfig.h:130