AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePipelineResult.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 CreatePipelineResult();
42
43
45
49 inline const Pipeline& GetPipeline() const{ return m_pipeline; }
50 inline void SetPipeline(const Pipeline& value) { m_pipeline = value; }
51 inline void SetPipeline(Pipeline&& value) { m_pipeline = std::move(value); }
52 inline CreatePipelineResult& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;}
53 inline CreatePipelineResult& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;}
55
57
63 inline const Aws::Vector<Warning>& GetWarnings() const{ return m_warnings; }
64 inline void SetWarnings(const Aws::Vector<Warning>& value) { m_warnings = value; }
65 inline void SetWarnings(Aws::Vector<Warning>&& value) { m_warnings = std::move(value); }
66 inline CreatePipelineResult& WithWarnings(const Aws::Vector<Warning>& value) { SetWarnings(value); return *this;}
67 inline CreatePipelineResult& WithWarnings(Aws::Vector<Warning>&& value) { SetWarnings(std::move(value)); return *this;}
68 inline CreatePipelineResult& AddWarnings(const Warning& value) { m_warnings.push_back(value); return *this; }
69 inline CreatePipelineResult& AddWarnings(Warning&& value) { m_warnings.push_back(std::move(value)); return *this; }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline CreatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline CreatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline CreatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Pipeline m_pipeline;
85
86 Aws::Vector<Warning> m_warnings;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace ElasticTranscoder
93} // namespace Aws
CreatePipelineResult & AddWarnings(Warning &&value)
CreatePipelineResult & WithRequestId(const Aws::String &value)
CreatePipelineResult & WithRequestId(Aws::String &&value)
AWS_ELASTICTRANSCODER_API CreatePipelineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePipelineResult & WithWarnings(Aws::Vector< Warning > &&value)
void SetWarnings(const Aws::Vector< Warning > &value)
CreatePipelineResult & WithRequestId(const char *value)
CreatePipelineResult & WithPipeline(Pipeline &&value)
CreatePipelineResult & WithWarnings(const Aws::Vector< Warning > &value)
CreatePipelineResult & AddWarnings(const Warning &value)
CreatePipelineResult & WithPipeline(const Pipeline &value)
const Aws::Vector< Warning > & GetWarnings() const
AWS_ELASTICTRANSCODER_API CreatePipelineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue