AWS SDK for C++  1.9.160
AWS SDK for C++
CreatePresetResult.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 CreatePresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;}
58 
63  inline CreatePresetResult& 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::CreatePresetResult::WithPreset
CreatePresetResult & WithPreset(const Preset &value)
Definition: CreatePresetResult.h:57
Aws::MediaConvert::Model::CreatePresetResult::GetPreset
const Preset & GetPreset() const
Definition: CreatePresetResult.h:39
Aws::MediaConvert::Model::CreatePresetResult::SetPreset
void SetPreset(const Preset &value)
Definition: CreatePresetResult.h:45
Aws::MediaConvert::Model::CreatePresetResult::WithPreset
CreatePresetResult & WithPreset(Preset &&value)
Definition: CreatePresetResult.h:63
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Preset
Definition: Preset.h:37
Aws::MediaConvert::Model::CreatePresetResult
Definition: CreatePresetResult.h:28
Aws::MediaConvert::Model::CreatePresetResult::CreatePresetResult
CreatePresetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::CreatePresetResult::CreatePresetResult
CreatePresetResult()
Preset.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::CreatePresetResult::operator=
CreatePresetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MediaConvert::Model::CreatePresetResult::SetPreset
void SetPreset(Preset &&value)
Definition: CreatePresetResult.h:51