AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPipelineResult.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/PipelineDeclaration.h>
9#include <aws/codepipeline/model/PipelineMetadata.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodePipeline
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CODEPIPELINE_API GetPipelineResult();
41
42
44
48 inline const PipelineDeclaration& GetPipeline() const{ return m_pipeline; }
49 inline void SetPipeline(const PipelineDeclaration& value) { m_pipeline = value; }
50 inline void SetPipeline(PipelineDeclaration&& value) { m_pipeline = std::move(value); }
51 inline GetPipelineResult& WithPipeline(const PipelineDeclaration& value) { SetPipeline(value); return *this;}
52 inline GetPipelineResult& WithPipeline(PipelineDeclaration&& value) { SetPipeline(std::move(value)); return *this;}
54
56
60 inline const PipelineMetadata& GetMetadata() const{ return m_metadata; }
61 inline void SetMetadata(const PipelineMetadata& value) { m_metadata = value; }
62 inline void SetMetadata(PipelineMetadata&& value) { m_metadata = std::move(value); }
63 inline GetPipelineResult& WithMetadata(const PipelineMetadata& value) { SetMetadata(value); return *this;}
64 inline GetPipelineResult& WithMetadata(PipelineMetadata&& value) { SetMetadata(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetPipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetPipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetPipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 PipelineDeclaration m_pipeline;
80
81 PipelineMetadata m_metadata;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CodePipeline
88} // namespace Aws
void SetPipeline(PipelineDeclaration &&value)
GetPipelineResult & WithRequestId(const char *value)
GetPipelineResult & WithRequestId(const Aws::String &value)
void SetMetadata(const PipelineMetadata &value)
AWS_CODEPIPELINE_API GetPipelineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPipeline(const PipelineDeclaration &value)
const PipelineMetadata & GetMetadata() const
void SetMetadata(PipelineMetadata &&value)
const PipelineDeclaration & GetPipeline() const
GetPipelineResult & WithRequestId(Aws::String &&value)
GetPipelineResult & WithMetadata(PipelineMetadata &&value)
GetPipelineResult & WithPipeline(PipelineDeclaration &&value)
GetPipelineResult & WithPipeline(const PipelineDeclaration &value)
GetPipelineResult & WithMetadata(const PipelineMetadata &value)
void SetRequestId(const Aws::String &value)
AWS_CODEPIPELINE_API GetPipelineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue