AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutActionRevisionResult.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodePipeline
24{
25namespace Model
26{
34 {
35 public:
36 AWS_CODEPIPELINE_API PutActionRevisionResult();
39
40
42
46 inline bool GetNewRevision() const{ return m_newRevision; }
47 inline void SetNewRevision(bool value) { m_newRevision = value; }
48 inline PutActionRevisionResult& WithNewRevision(bool value) { SetNewRevision(value); return *this;}
50
52
55 inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; }
56 inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionId = value; }
57 inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionId = std::move(value); }
58 inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionId.assign(value); }
60 inline PutActionRevisionResult& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;}
61 inline PutActionRevisionResult& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline PutActionRevisionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline PutActionRevisionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline PutActionRevisionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 bool m_newRevision;
77
78 Aws::String m_pipelineExecutionId;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace CodePipeline
85} // namespace Aws
PutActionRevisionResult & WithNewRevision(bool value)
PutActionRevisionResult & WithRequestId(const Aws::String &value)
AWS_CODEPIPELINE_API PutActionRevisionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutActionRevisionResult & WithPipelineExecutionId(const Aws::String &value)
PutActionRevisionResult & WithPipelineExecutionId(Aws::String &&value)
PutActionRevisionResult & WithPipelineExecutionId(const char *value)
PutActionRevisionResult & WithRequestId(const char *value)
AWS_CODEPIPELINE_API PutActionRevisionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutActionRevisionResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue