AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePipelineResult.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/elastictranscoder/model/Pipeline.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elastictranscoder/model/Warning.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ElasticTranscoder
27{
28namespace Model
29{
37 {
38 public:
39 AWS_ELASTICTRANSCODER_API UpdatePipelineResult();
42
43
45
48 inline const Pipeline& GetPipeline() const{ return m_pipeline; }
49 inline void SetPipeline(const Pipeline& value) { m_pipeline = value; }
50 inline void SetPipeline(Pipeline&& value) { m_pipeline = std::move(value); }
51 inline UpdatePipelineResult& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;}
52 inline UpdatePipelineResult& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;}
54
56
62 inline const Aws::Vector<Warning>& GetWarnings() const{ return m_warnings; }
63 inline void SetWarnings(const Aws::Vector<Warning>& value) { m_warnings = value; }
64 inline void SetWarnings(Aws::Vector<Warning>&& value) { m_warnings = std::move(value); }
65 inline UpdatePipelineResult& WithWarnings(const Aws::Vector<Warning>& value) { SetWarnings(value); return *this;}
66 inline UpdatePipelineResult& WithWarnings(Aws::Vector<Warning>&& value) { SetWarnings(std::move(value)); return *this;}
67 inline UpdatePipelineResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; }
68 inline UpdatePipelineResult& AddWarnings(Warning&& value) { m_warnings.push_back(std::move(value)); return *this; }
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline UpdatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline UpdatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline UpdatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Pipeline m_pipeline;
84
85 Aws::Vector<Warning> m_warnings;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace ElasticTranscoder
92} // namespace Aws
UpdatePipelineResult & WithPipeline(const Pipeline &value)
UpdatePipelineResult & WithRequestId(const char *value)
void SetWarnings(const Aws::Vector< Warning > &value)
AWS_ELASTICTRANSCODER_API UpdatePipelineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePipelineResult & WithWarnings(const Aws::Vector< Warning > &value)
UpdatePipelineResult & WithWarnings(Aws::Vector< Warning > &&value)
UpdatePipelineResult & AddWarnings(Warning &&value)
UpdatePipelineResult & WithRequestId(const Aws::String &value)
const Aws::Vector< Warning > & GetWarnings() const
UpdatePipelineResult & WithPipeline(Pipeline &&value)
UpdatePipelineResult & WithRequestId(Aws::String &&value)
AWS_ELASTICTRANSCODER_API UpdatePipelineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePipelineResult & AddWarnings(const Warning &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue