AWS SDK for C++  1.9.129
AWS SDK for C++
AiffSettings.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace MediaConvert
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline int GetBitDepth() const{ return m_bitDepth; }
44 
49  inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
50 
55  inline void SetBitDepth(int value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
56 
61  inline AiffSettings& WithBitDepth(int value) { SetBitDepth(value); return *this;}
62 
63 
68  inline int GetChannels() const{ return m_channels; }
69 
74  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
75 
80  inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
81 
86  inline AiffSettings& WithChannels(int value) { SetChannels(value); return *this;}
87 
88 
92  inline int GetSampleRate() const{ return m_sampleRate; }
93 
97  inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
98 
102  inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
103 
107  inline AiffSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
108 
109  private:
110 
111  int m_bitDepth;
112  bool m_bitDepthHasBeenSet;
113 
114  int m_channels;
115  bool m_channelsHasBeenSet;
116 
117  int m_sampleRate;
118  bool m_sampleRateHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace MediaConvert
123 } // namespace Aws
Aws::MediaConvert::Model::AiffSettings::SampleRateHasBeenSet
bool SampleRateHasBeenSet() const
Definition: AiffSettings.h:97
Aws::MediaConvert::Model::AiffSettings::WithChannels
AiffSettings & WithChannels(int value)
Definition: AiffSettings.h:86
Aws::MediaConvert::Model::AiffSettings::BitDepthHasBeenSet
bool BitDepthHasBeenSet() const
Definition: AiffSettings.h:49
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::AiffSettings::AiffSettings
AiffSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::AiffSettings::AiffSettings
AiffSettings()
Aws::MediaConvert::Model::AiffSettings::WithSampleRate
AiffSettings & WithSampleRate(int value)
Definition: AiffSettings.h:107
Aws::MediaConvert::Model::AiffSettings::GetBitDepth
int GetBitDepth() const
Definition: AiffSettings.h:43
Aws::MediaConvert::Model::AiffSettings::GetSampleRate
int GetSampleRate() const
Definition: AiffSettings.h:92
Aws::MediaConvert::Model::AiffSettings::GetChannels
int GetChannels() const
Definition: AiffSettings.h:68
Aws::MediaConvert::Model::AiffSettings::SetSampleRate
void SetSampleRate(int value)
Definition: AiffSettings.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::AiffSettings
Definition: AiffSettings.h:31
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::AiffSettings::WithBitDepth
AiffSettings & WithBitDepth(int value)
Definition: AiffSettings.h:61
Aws::MediaConvert::Model::AiffSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::AiffSettings::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: AiffSettings.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::AiffSettings::operator=
AiffSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::AiffSettings::SetBitDepth
void SetBitDepth(int value)
Definition: AiffSettings.h:55
Aws::MediaConvert::Model::AiffSettings::SetChannels
void SetChannels(int value)
Definition: AiffSettings.h:80