AWS SDK for C++  1.9.159
AWS SDK for C++
AccelerationSettings.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const AccelerationMode& GetMode() const{ return m_mode; }
46 
51  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
52 
57  inline void SetMode(const AccelerationMode& value) { m_modeHasBeenSet = true; m_mode = value; }
58 
63  inline void SetMode(AccelerationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
64 
69  inline AccelerationSettings& WithMode(const AccelerationMode& value) { SetMode(value); return *this;}
70 
75  inline AccelerationSettings& WithMode(AccelerationMode&& value) { SetMode(std::move(value)); return *this;}
76 
77  private:
78 
79  AccelerationMode m_mode;
80  bool m_modeHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace MediaConvert
85 } // namespace Aws
Aws::MediaConvert::Model::AccelerationSettings::WithMode
AccelerationSettings & WithMode(const AccelerationMode &value)
Definition: AccelerationSettings.h:69
Aws::MediaConvert::Model::AccelerationSettings::AccelerationSettings
AccelerationSettings()
Aws::MediaConvert::Model::AccelerationSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::AccelerationSettings
Definition: AccelerationSettings.h:33
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::AccelerationMode
AccelerationMode
Definition: AccelerationMode.h:17
AccelerationMode.h
Aws::MediaConvert::Model::AccelerationSettings::SetMode
void SetMode(AccelerationMode &&value)
Definition: AccelerationSettings.h:63
Aws::MediaConvert::Model::AccelerationSettings::AccelerationSettings
AccelerationSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::AccelerationSettings::SetMode
void SetMode(const AccelerationMode &value)
Definition: AccelerationSettings.h:57
Aws::MediaConvert::Model::AccelerationSettings::WithMode
AccelerationSettings & WithMode(AccelerationMode &&value)
Definition: AccelerationSettings.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::AccelerationSettings::operator=
AccelerationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::AccelerationSettings::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: AccelerationSettings.h:51
Aws::MediaConvert::Model::AccelerationSettings::GetMode
const AccelerationMode & GetMode() const
Definition: AccelerationSettings.h:45