AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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 <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace CodePipeline {
20namespace Model {
21
29 public:
30 AWS_CODEPIPELINE_API RuleExecutionOutput() = default;
31 AWS_CODEPIPELINE_API RuleExecutionOutput(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CODEPIPELINE_API RuleExecutionOutput& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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
const RuleExecutionResult & GetExecutionResult() const
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
RuleExecutionOutput & WithExecutionResult(ExecutionResultT &&value)
AWS_CODEPIPELINE_API RuleExecutionOutput & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEPIPELINE_API RuleExecutionOutput()=default
void SetExecutionResult(ExecutionResultT &&value)
AWS_CODEPIPELINE_API RuleExecutionOutput(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)