AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RuleExecutionOutput.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/RuleExecutionResult.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodePipeline
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEPIPELINE_API RuleExecutionOutput() = default;
36 AWS_CODEPIPELINE_API RuleExecutionOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const RuleExecutionResult& GetExecutionResult() const { return m_executionResult; }
47 inline bool ExecutionResultHasBeenSet() const { return m_executionResultHasBeenSet; }
48 template<typename ExecutionResultT = RuleExecutionResult>
49 void SetExecutionResult(ExecutionResultT&& value) { m_executionResultHasBeenSet = true; m_executionResult = std::forward<ExecutionResultT>(value); }
50 template<typename ExecutionResultT = RuleExecutionResult>
51 RuleExecutionOutput& WithExecutionResult(ExecutionResultT&& value) { SetExecutionResult(std::forward<ExecutionResultT>(value)); return *this;}
53 private:
54
55 RuleExecutionResult m_executionResult;
56 bool m_executionResultHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace CodePipeline
61} // namespace Aws
AWS_CODEPIPELINE_API RuleExecutionOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleExecutionResult & GetExecutionResult() const
RuleExecutionOutput & WithExecutionResult(ExecutionResultT &&value)
AWS_CODEPIPELINE_API RuleExecutionOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API RuleExecutionOutput()=default
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExecutionResult(ExecutionResultT &&value)
Aws::Utils::Json::JsonValue JsonValue