AWS SDK for C++  1.9.104
AWS SDK for C++
UpdatePipelineResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticTranscoder
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Pipeline& GetPipeline() const{ return m_pipeline; }
47 
51  inline void SetPipeline(const Pipeline& value) { m_pipeline = value; }
52 
56  inline void SetPipeline(Pipeline&& value) { m_pipeline = std::move(value); }
57 
61  inline UpdatePipelineResult& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;}
62 
66  inline UpdatePipelineResult& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;}
67 
68 
75  inline const Aws::Vector<Warning>& GetWarnings() const{ return m_warnings; }
76 
83  inline void SetWarnings(const Aws::Vector<Warning>& value) { m_warnings = value; }
84 
91  inline void SetWarnings(Aws::Vector<Warning>&& value) { m_warnings = std::move(value); }
92 
99  inline UpdatePipelineResult& WithWarnings(const Aws::Vector<Warning>& value) { SetWarnings(value); return *this;}
100 
107  inline UpdatePipelineResult& WithWarnings(Aws::Vector<Warning>&& value) { SetWarnings(std::move(value)); return *this;}
108 
115  inline UpdatePipelineResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; }
116 
123  inline UpdatePipelineResult& AddWarnings(Warning&& value) { m_warnings.push_back(std::move(value)); return *this; }
124 
125  private:
126 
127  Pipeline m_pipeline;
128 
129  Aws::Vector<Warning> m_warnings;
130  };
131 
132 } // namespace Model
133 } // namespace ElasticTranscoder
134 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Warning.h
Aws::ElasticTranscoder::Model::UpdatePipelineResult::SetPipeline
void SetPipeline(Pipeline &&value)
Definition: UpdatePipelineResult.h:56
Aws::ElasticTranscoder::Model::UpdatePipelineResult::AddWarnings
UpdatePipelineResult & AddWarnings(Warning &&value)
Definition: UpdatePipelineResult.h:123
Aws::ElasticTranscoder::Model::UpdatePipelineResult::WithPipeline
UpdatePipelineResult & WithPipeline(Pipeline &&value)
Definition: UpdatePipelineResult.h:66
AWS_ELASTICTRANSCODER_API
#define AWS_ELASTICTRANSCODER_API
Definition: ElasticTranscoder_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ElasticTranscoder::Model::UpdatePipelineResult::operator=
UpdatePipelineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticTranscoder::Model::UpdatePipelineResult::AddWarnings
UpdatePipelineResult & AddWarnings(const Warning &value)
Definition: UpdatePipelineResult.h:115
Aws::ElasticTranscoder::Model::UpdatePipelineResult::UpdatePipelineResult
UpdatePipelineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ElasticTranscoder::Model::Warning
Definition: Warning.h:36
Aws::ElasticTranscoder::Model::UpdatePipelineResult::SetWarnings
void SetWarnings(Aws::Vector< Warning > &&value)
Definition: UpdatePipelineResult.h:91
Pipeline.h
Aws::ElasticTranscoder::Model::UpdatePipelineResult::GetWarnings
const Aws::Vector< Warning > & GetWarnings() const
Definition: UpdatePipelineResult.h:75
Aws::ElasticTranscoder::Model::UpdatePipelineResult::SetPipeline
void SetPipeline(const Pipeline &value)
Definition: UpdatePipelineResult.h:51
Aws::ElasticTranscoder::Model::UpdatePipelineResult::UpdatePipelineResult
UpdatePipelineResult()
Aws::ElasticTranscoder::Model::UpdatePipelineResult::SetWarnings
void SetWarnings(const Aws::Vector< Warning > &value)
Definition: UpdatePipelineResult.h:83
Aws::ElasticTranscoder::Model::UpdatePipelineResult
Definition: UpdatePipelineResult.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticTranscoder::Model::UpdatePipelineResult::WithWarnings
UpdatePipelineResult & WithWarnings(const Aws::Vector< Warning > &value)
Definition: UpdatePipelineResult.h:99
Aws::ElasticTranscoder::Model::Pipeline
Definition: Pipeline.h:35
Aws::ElasticTranscoder::Model::UpdatePipelineResult::WithWarnings
UpdatePipelineResult & WithWarnings(Aws::Vector< Warning > &&value)
Definition: UpdatePipelineResult.h:107
Aws::ElasticTranscoder::Model::UpdatePipelineResult::GetPipeline
const Pipeline & GetPipeline() const
Definition: UpdatePipelineResult.h:46
ElasticTranscoder_EXPORTS.h
Aws::ElasticTranscoder::Model::UpdatePipelineResult::WithPipeline
UpdatePipelineResult & WithPipeline(const Pipeline &value)
Definition: UpdatePipelineResult.h:61