AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioTrackSelection.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/AudioDolbyEDecode.h>
10#include <aws/medialive/model/AudioTrack.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API AudioTrackSelection();
37 AWS_MEDIALIVE_API AudioTrackSelection(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<AudioTrack>& GetTracks() const{ return m_tracks; }
47 inline bool TracksHasBeenSet() const { return m_tracksHasBeenSet; }
48 inline void SetTracks(const Aws::Vector<AudioTrack>& value) { m_tracksHasBeenSet = true; m_tracks = value; }
49 inline void SetTracks(Aws::Vector<AudioTrack>&& value) { m_tracksHasBeenSet = true; m_tracks = std::move(value); }
50 inline AudioTrackSelection& WithTracks(const Aws::Vector<AudioTrack>& value) { SetTracks(value); return *this;}
51 inline AudioTrackSelection& WithTracks(Aws::Vector<AudioTrack>&& value) { SetTracks(std::move(value)); return *this;}
52 inline AudioTrackSelection& AddTracks(const AudioTrack& value) { m_tracksHasBeenSet = true; m_tracks.push_back(value); return *this; }
53 inline AudioTrackSelection& AddTracks(AudioTrack&& value) { m_tracksHasBeenSet = true; m_tracks.push_back(std::move(value)); return *this; }
55
57
61 inline const AudioDolbyEDecode& GetDolbyEDecode() const{ return m_dolbyEDecode; }
62 inline bool DolbyEDecodeHasBeenSet() const { return m_dolbyEDecodeHasBeenSet; }
63 inline void SetDolbyEDecode(const AudioDolbyEDecode& value) { m_dolbyEDecodeHasBeenSet = true; m_dolbyEDecode = value; }
64 inline void SetDolbyEDecode(AudioDolbyEDecode&& value) { m_dolbyEDecodeHasBeenSet = true; m_dolbyEDecode = std::move(value); }
65 inline AudioTrackSelection& WithDolbyEDecode(const AudioDolbyEDecode& value) { SetDolbyEDecode(value); return *this;}
66 inline AudioTrackSelection& WithDolbyEDecode(AudioDolbyEDecode&& value) { SetDolbyEDecode(std::move(value)); return *this;}
68 private:
69
71 bool m_tracksHasBeenSet = false;
72
73 AudioDolbyEDecode m_dolbyEDecode;
74 bool m_dolbyEDecodeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MediaLive
79} // namespace Aws
AWS_MEDIALIVE_API AudioTrackSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioTrackSelection & WithDolbyEDecode(AudioDolbyEDecode &&value)
AWS_MEDIALIVE_API AudioTrackSelection(Aws::Utils::Json::JsonView jsonValue)
AudioTrackSelection & WithTracks(const Aws::Vector< AudioTrack > &value)
AudioTrackSelection & WithTracks(Aws::Vector< AudioTrack > &&value)
AudioTrackSelection & WithDolbyEDecode(const AudioDolbyEDecode &value)
AudioTrackSelection & AddTracks(AudioTrack &&value)
void SetDolbyEDecode(AudioDolbyEDecode &&value)
const AudioDolbyEDecode & GetDolbyEDecode() const
const Aws::Vector< AudioTrack > & GetTracks() const
AudioTrackSelection & AddTracks(const AudioTrack &value)
void SetDolbyEDecode(const AudioDolbyEDecode &value)
void SetTracks(const Aws::Vector< AudioTrack > &value)
void SetTracks(Aws::Vector< AudioTrack > &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue