AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
SignalExploitability.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/ExploitabilityVerdict.h>
9#include <aws/continuum/model/ValidationConfidenceTier.h>
10#include <aws/core/utils/memory/stl/AWSString.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
31 public:
32 AWS_CONTINUUM_API SignalExploitability() = default;
35 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline ExploitabilityVerdict GetVerdict() const { return m_verdict; }
44 inline bool VerdictHasBeenSet() const { return m_verdictHasBeenSet; }
45 inline void SetVerdict(ExploitabilityVerdict value) {
46 m_verdictHasBeenSet = true;
47 m_verdict = value;
48 }
50 SetVerdict(value);
51 return *this;
52 }
54
56
62 inline bool GetReachedCrownJewels() const { return m_reachedCrownJewels; }
63 inline bool ReachedCrownJewelsHasBeenSet() const { return m_reachedCrownJewelsHasBeenSet; }
64 inline void SetReachedCrownJewels(bool value) {
65 m_reachedCrownJewelsHasBeenSet = true;
66 m_reachedCrownJewels = value;
67 }
70 return *this;
71 }
73
75
79 inline int GetHighestLayerReached() const { return m_highestLayerReached; }
80 inline bool HighestLayerReachedHasBeenSet() const { return m_highestLayerReachedHasBeenSet; }
81 inline void SetHighestLayerReached(int value) {
82 m_highestLayerReachedHasBeenSet = true;
83 m_highestLayerReached = value;
84 }
87 return *this;
88 }
90
92
95 inline ValidationConfidenceTier GetConfidenceTier() const { return m_confidenceTier; }
96 inline bool ConfidenceTierHasBeenSet() const { return m_confidenceTierHasBeenSet; }
98 m_confidenceTierHasBeenSet = true;
99 m_confidenceTier = value;
100 }
102 SetConfidenceTier(value);
103 return *this;
104 }
106
108
113 inline bool GetScriptable() const { return m_scriptable; }
114 inline bool ScriptableHasBeenSet() const { return m_scriptableHasBeenSet; }
115 inline void SetScriptable(bool value) {
116 m_scriptableHasBeenSet = true;
117 m_scriptable = value;
118 }
120 SetScriptable(value);
121 return *this;
122 }
124
126
131 inline const Aws::String& GetSourceValidationArtifactId() const { return m_sourceValidationArtifactId; }
132 inline bool SourceValidationArtifactIdHasBeenSet() const { return m_sourceValidationArtifactIdHasBeenSet; }
133 template <typename SourceValidationArtifactIdT = Aws::String>
134 void SetSourceValidationArtifactId(SourceValidationArtifactIdT&& value) {
135 m_sourceValidationArtifactIdHasBeenSet = true;
136 m_sourceValidationArtifactId = std::forward<SourceValidationArtifactIdT>(value);
137 }
138 template <typename SourceValidationArtifactIdT = Aws::String>
139 SignalExploitability& WithSourceValidationArtifactId(SourceValidationArtifactIdT&& value) {
140 SetSourceValidationArtifactId(std::forward<SourceValidationArtifactIdT>(value));
141 return *this;
142 }
144 private:
146
147 bool m_reachedCrownJewels{false};
148
149 int m_highestLayerReached{0};
150
152
153 bool m_scriptable{false};
154
155 Aws::String m_sourceValidationArtifactId;
156 bool m_verdictHasBeenSet = false;
157 bool m_reachedCrownJewelsHasBeenSet = false;
158 bool m_highestLayerReachedHasBeenSet = false;
159 bool m_confidenceTierHasBeenSet = false;
160 bool m_scriptableHasBeenSet = false;
161 bool m_sourceValidationArtifactIdHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace Continuum
166} // namespace Aws
AWS_CONTINUUM_API SignalExploitability & operator=(Aws::Utils::Json::JsonView jsonValue)
SignalExploitability & WithScriptable(bool value)
SignalExploitability & WithReachedCrownJewels(bool value)
ValidationConfidenceTier GetConfidenceTier() const
void SetConfidenceTier(ValidationConfidenceTier value)
const Aws::String & GetSourceValidationArtifactId() const
AWS_CONTINUUM_API SignalExploitability()=default
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVerdict(ExploitabilityVerdict value)
void SetSourceValidationArtifactId(SourceValidationArtifactIdT &&value)
AWS_CONTINUUM_API SignalExploitability(Aws::Utils::Json::JsonView jsonValue)
SignalExploitability & WithHighestLayerReached(int value)
SignalExploitability & WithConfidenceTier(ValidationConfidenceTier value)
SignalExploitability & WithVerdict(ExploitabilityVerdict value)
SignalExploitability & WithSourceValidationArtifactId(SourceValidationArtifactIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue