AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePresetResult.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/model/Preset.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ElasticTranscoder
25{
26namespace Model
27{
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API CreatePresetResult();
40
41
43
47 inline const Preset& GetPreset() const{ return m_preset; }
48 inline void SetPreset(const Preset& value) { m_preset = value; }
49 inline void SetPreset(Preset&& value) { m_preset = std::move(value); }
50 inline CreatePresetResult& WithPreset(const Preset& value) { SetPreset(value); return *this;}
51 inline CreatePresetResult& WithPreset(Preset&& value) { SetPreset(std::move(value)); return *this;}
53
55
61 inline const Aws::String& GetWarning() const{ return m_warning; }
62 inline void SetWarning(const Aws::String& value) { m_warning = value; }
63 inline void SetWarning(Aws::String&& value) { m_warning = std::move(value); }
64 inline void SetWarning(const char* value) { m_warning.assign(value); }
65 inline CreatePresetResult& WithWarning(const Aws::String& value) { SetWarning(value); return *this;}
66 inline CreatePresetResult& WithWarning(Aws::String&& value) { SetWarning(std::move(value)); return *this;}
67 inline CreatePresetResult& WithWarning(const char* value) { SetWarning(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline CreatePresetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline CreatePresetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline CreatePresetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Preset m_preset;
83
84 Aws::String m_warning;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace ElasticTranscoder
91} // namespace Aws
CreatePresetResult & WithWarning(Aws::String &&value)
CreatePresetResult & WithRequestId(Aws::String &&value)
CreatePresetResult & WithPreset(Preset &&value)
CreatePresetResult & WithRequestId(const char *value)
CreatePresetResult & WithRequestId(const Aws::String &value)
AWS_ELASTICTRANSCODER_API CreatePresetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICTRANSCODER_API CreatePresetResult()
AWS_ELASTICTRANSCODER_API CreatePresetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePresetResult & WithPreset(const Preset &value)
CreatePresetResult & WithWarning(const char *value)
CreatePresetResult & WithWarning(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue