AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ValidationExecutedProof.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/ExploitEffect.h>
9#include <aws/continuum/model/ValidationProofCode.h>
10#include <aws/continuum/model/ValidationProofOutput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Continuum {
22namespace Model {
23
32 public:
33 AWS_CONTINUUM_API ValidationExecutedProof() = default;
36 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const ValidationProofCode& GetCode() const { return m_code; }
44 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
45 template <typename CodeT = ValidationProofCode>
46 void SetCode(CodeT&& value) {
47 m_codeHasBeenSet = true;
48 m_code = std::forward<CodeT>(value);
49 }
50 template <typename CodeT = ValidationProofCode>
52 SetCode(std::forward<CodeT>(value));
53 return *this;
54 }
56
58
62 inline const ValidationProofOutput& GetOutput() const { return m_output; }
63 inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
64 template <typename OutputT = ValidationProofOutput>
65 void SetOutput(OutputT&& value) {
66 m_outputHasBeenSet = true;
67 m_output = std::forward<OutputT>(value);
68 }
69 template <typename OutputT = ValidationProofOutput>
71 SetOutput(std::forward<OutputT>(value));
72 return *this;
73 }
75
77
83 inline ExploitEffect GetObservedEffect() const { return m_observedEffect; }
84 inline bool ObservedEffectHasBeenSet() const { return m_observedEffectHasBeenSet; }
85 inline void SetObservedEffect(ExploitEffect value) {
86 m_observedEffectHasBeenSet = true;
87 m_observedEffect = value;
88 }
90 SetObservedEffect(value);
91 return *this;
92 }
94 private:
96
97 ValidationProofOutput m_output;
98
99 ExploitEffect m_observedEffect{ExploitEffect::NOT_SET};
100 bool m_codeHasBeenSet = false;
101 bool m_outputHasBeenSet = false;
102 bool m_observedEffectHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Continuum
107} // namespace Aws
ValidationExecutedProof & WithObservedEffect(ExploitEffect value)
ValidationExecutedProof & WithCode(CodeT &&value)
const ValidationProofOutput & GetOutput() const
AWS_CONTINUUM_API ValidationExecutedProof & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API ValidationExecutedProof()=default
AWS_CONTINUUM_API ValidationExecutedProof(Aws::Utils::Json::JsonView jsonValue)
ValidationExecutedProof & WithOutput(OutputT &&value)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue