AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodePipeline {
20namespace Model {
21
29 public:
30 AWS_CODEPIPELINE_API RuleExecutionOutput() = default;
31 AWS_CODEPIPELINE_API RuleExecutionOutput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const RuleExecutionResult& GetExecutionResult() const { return m_executionResult; }
41 inline bool ExecutionResultHasBeenSet() const { return m_executionResultHasBeenSet; }
42 template <typename ExecutionResultT = RuleExecutionResult>
43 void SetExecutionResult(ExecutionResultT&& value) {
44 m_executionResultHasBeenSet = true;
45 m_executionResult = std::forward<ExecutionResultT>(value);
46 }
47 template <typename ExecutionResultT = RuleExecutionResult>
48 RuleExecutionOutput& WithExecutionResult(ExecutionResultT&& value) {
49 SetExecutionResult(std::forward<ExecutionResultT>(value));
50 return *this;
51 }
53 private:
54 RuleExecutionResult m_executionResult;
55 bool m_executionResultHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace CodePipeline
60} // 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