AWS SDK for C++  1.9.158
AWS SDK for C++
UpdatePresetResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaConvert
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Preset& GetPreset() const{ return m_preset; }
40 
45  inline void SetPreset(const Preset& value) { m_preset = value; }
46 
51  inline void SetPreset(Preset&& value) { m_preset = std::move(value); }
52 
57  inline UpdatePresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;}
58 
63  inline UpdatePresetResult& WithPreset(Preset&& value) { SetPreset(std::move(value)); return *this;}
64 
65  private:
66 
67  Preset m_preset;
68  };
69 
70 } // namespace Model
71 } // namespace MediaConvert
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::UpdatePresetResult::UpdatePresetResult
UpdatePresetResult()
Aws::MediaConvert::Model::UpdatePresetResult::operator=
UpdatePresetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::UpdatePresetResult::SetPreset
void SetPreset(const Preset &value)
Definition: UpdatePresetResult.h:45
Aws::MediaConvert::Model::Preset
Definition: Preset.h:37
Aws::MediaConvert::Model::UpdatePresetResult::GetPreset
const Preset & GetPreset() const
Definition: UpdatePresetResult.h:39
Preset.h
Aws::MediaConvert::Model::UpdatePresetResult::WithPreset
UpdatePresetResult & WithPreset(const Preset &value)
Definition: UpdatePresetResult.h:57
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::UpdatePresetResult::UpdatePresetResult
UpdatePresetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::UpdatePresetResult
Definition: UpdatePresetResult.h:28
Aws::MediaConvert::Model::UpdatePresetResult::WithPreset
UpdatePresetResult & WithPreset(Preset &&value)
Definition: UpdatePresetResult.h:63
Aws::MediaConvert::Model::UpdatePresetResult::SetPreset
void SetPreset(Preset &&value)
Definition: UpdatePresetResult.h:51