AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
PutActionRevisionResult.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline {
23namespace Model {
31 public:
32 AWS_CODEPIPELINE_API PutActionRevisionResult() = default;
35
37
41 inline bool GetNewRevision() const { return m_newRevision; }
42 inline void SetNewRevision(bool value) {
43 m_newRevisionHasBeenSet = true;
44 m_newRevision = value;
45 }
47 SetNewRevision(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetPipelineExecutionId() const { return m_pipelineExecutionId; }
57 template <typename PipelineExecutionIdT = Aws::String>
58 void SetPipelineExecutionId(PipelineExecutionIdT&& value) {
59 m_pipelineExecutionIdHasBeenSet = true;
60 m_pipelineExecutionId = std::forward<PipelineExecutionIdT>(value);
61 }
62 template <typename PipelineExecutionIdT = Aws::String>
63 PutActionRevisionResult& WithPipelineExecutionId(PipelineExecutionIdT&& value) {
64 SetPipelineExecutionId(std::forward<PipelineExecutionIdT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 bool m_newRevision{false};
87
88 Aws::String m_pipelineExecutionId;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_newRevisionHasBeenSet = false;
93 bool m_pipelineExecutionIdHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace CodePipeline
99} // namespace Aws
PutActionRevisionResult & WithNewRevision(bool value)
AWS_CODEPIPELINE_API PutActionRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutActionRevisionResult & WithPipelineExecutionId(PipelineExecutionIdT &&value)
AWS_CODEPIPELINE_API PutActionRevisionResult()=default
PutActionRevisionResult & WithRequestId(RequestIdT &&value)
void SetPipelineExecutionId(PipelineExecutionIdT &&value)
AWS_CODEPIPELINE_API PutActionRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue