AWS SDK for C++

AWS SDK for C++ Version 1.11.905

Loading...
Searching...
No Matches
RemediationGuidanceMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
30 public:
31 AWS_SECURITYHUB_API RemediationGuidanceMetadata() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetResourceType() const { return m_resourceType; }
41 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
42 template <typename ResourceTypeT = Aws::String>
43 void SetResourceType(ResourceTypeT&& value) {
44 m_resourceTypeHasBeenSet = true;
45 m_resourceType = std::forward<ResourceTypeT>(value);
46 }
47 template <typename ResourceTypeT = Aws::String>
49 SetResourceType(std::forward<ResourceTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExposureType() const { return m_exposureType; }
59 inline bool ExposureTypeHasBeenSet() const { return m_exposureTypeHasBeenSet; }
60 template <typename ExposureTypeT = Aws::String>
61 void SetExposureType(ExposureTypeT&& value) {
62 m_exposureTypeHasBeenSet = true;
63 m_exposureType = std::forward<ExposureTypeT>(value);
64 }
65 template <typename ExposureTypeT = Aws::String>
67 SetExposureType(std::forward<ExposureTypeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetTraitTitles() const { return m_traitTitles; }
77 inline bool TraitTitlesHasBeenSet() const { return m_traitTitlesHasBeenSet; }
78 template <typename TraitTitlesT = Aws::Vector<Aws::String>>
79 void SetTraitTitles(TraitTitlesT&& value) {
80 m_traitTitlesHasBeenSet = true;
81 m_traitTitles = std::forward<TraitTitlesT>(value);
82 }
83 template <typename TraitTitlesT = Aws::Vector<Aws::String>>
85 SetTraitTitles(std::forward<TraitTitlesT>(value));
86 return *this;
87 }
88 template <typename TraitTitlesT = Aws::String>
90 m_traitTitlesHasBeenSet = true;
91 m_traitTitles.emplace_back(std::forward<TraitTitlesT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetReversibility() const { return m_reversibility; }
102 inline bool ReversibilityHasBeenSet() const { return m_reversibilityHasBeenSet; }
103 template <typename ReversibilityT = Aws::String>
104 void SetReversibility(ReversibilityT&& value) {
105 m_reversibilityHasBeenSet = true;
106 m_reversibility = std::forward<ReversibilityT>(value);
107 }
108 template <typename ReversibilityT = Aws::String>
110 SetReversibility(std::forward<ReversibilityT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetFixEffect() const { return m_fixEffect; }
121 inline bool FixEffectHasBeenSet() const { return m_fixEffectHasBeenSet; }
122 template <typename FixEffectT = Aws::String>
123 void SetFixEffect(FixEffectT&& value) {
124 m_fixEffectHasBeenSet = true;
125 m_fixEffect = std::forward<FixEffectT>(value);
126 }
127 template <typename FixEffectT = Aws::String>
129 SetFixEffect(std::forward<FixEffectT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetRiskLevel() const { return m_riskLevel; }
139 inline bool RiskLevelHasBeenSet() const { return m_riskLevelHasBeenSet; }
140 template <typename RiskLevelT = Aws::String>
141 void SetRiskLevel(RiskLevelT&& value) {
142 m_riskLevelHasBeenSet = true;
143 m_riskLevel = std::forward<RiskLevelT>(value);
144 }
145 template <typename RiskLevelT = Aws::String>
147 SetRiskLevel(std::forward<RiskLevelT>(value));
148 return *this;
149 }
151
153
157 inline const Aws::String& GetAutomationLevel() const { return m_automationLevel; }
158 inline bool AutomationLevelHasBeenSet() const { return m_automationLevelHasBeenSet; }
159 template <typename AutomationLevelT = Aws::String>
160 void SetAutomationLevel(AutomationLevelT&& value) {
161 m_automationLevelHasBeenSet = true;
162 m_automationLevel = std::forward<AutomationLevelT>(value);
163 }
164 template <typename AutomationLevelT = Aws::String>
166 SetAutomationLevel(std::forward<AutomationLevelT>(value));
167 return *this;
168 }
170
172
175 inline bool GetHumanReviewRequired() const { return m_humanReviewRequired; }
176 inline bool HumanReviewRequiredHasBeenSet() const { return m_humanReviewRequiredHasBeenSet; }
177 inline void SetHumanReviewRequired(bool value) {
178 m_humanReviewRequiredHasBeenSet = true;
179 m_humanReviewRequired = value;
180 }
183 return *this;
184 }
186
188
194 inline const Aws::Utils::DateTime& GetGeneratedAt() const { return m_generatedAt; }
195 inline bool GeneratedAtHasBeenSet() const { return m_generatedAtHasBeenSet; }
196 template <typename GeneratedAtT = Aws::Utils::DateTime>
197 void SetGeneratedAt(GeneratedAtT&& value) {
198 m_generatedAtHasBeenSet = true;
199 m_generatedAt = std::forward<GeneratedAtT>(value);
200 }
201 template <typename GeneratedAtT = Aws::Utils::DateTime>
203 SetGeneratedAt(std::forward<GeneratedAtT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::String& GetVerificationStatus() const { return m_verificationStatus; }
213 inline bool VerificationStatusHasBeenSet() const { return m_verificationStatusHasBeenSet; }
214 template <typename VerificationStatusT = Aws::String>
215 void SetVerificationStatus(VerificationStatusT&& value) {
216 m_verificationStatusHasBeenSet = true;
217 m_verificationStatus = std::forward<VerificationStatusT>(value);
218 }
219 template <typename VerificationStatusT = Aws::String>
221 SetVerificationStatus(std::forward<VerificationStatusT>(value));
222 return *this;
223 }
225 private:
226 Aws::String m_resourceType;
227
228 Aws::String m_exposureType;
229
230 Aws::Vector<Aws::String> m_traitTitles;
231
232 Aws::String m_reversibility;
233
234 Aws::String m_fixEffect;
235
236 Aws::String m_riskLevel;
237
238 Aws::String m_automationLevel;
239
240 bool m_humanReviewRequired{false};
241
242 Aws::Utils::DateTime m_generatedAt{};
243
244 Aws::String m_verificationStatus;
245 bool m_resourceTypeHasBeenSet = false;
246 bool m_exposureTypeHasBeenSet = false;
247 bool m_traitTitlesHasBeenSet = false;
248 bool m_reversibilityHasBeenSet = false;
249 bool m_fixEffectHasBeenSet = false;
250 bool m_riskLevelHasBeenSet = false;
251 bool m_automationLevelHasBeenSet = false;
252 bool m_humanReviewRequiredHasBeenSet = false;
253 bool m_generatedAtHasBeenSet = false;
254 bool m_verificationStatusHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace SecurityHub
259} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTraitTitles() const
RemediationGuidanceMetadata & WithVerificationStatus(VerificationStatusT &&value)
RemediationGuidanceMetadata & WithAutomationLevel(AutomationLevelT &&value)
RemediationGuidanceMetadata & WithFixEffect(FixEffectT &&value)
RemediationGuidanceMetadata & WithResourceType(ResourceTypeT &&value)
RemediationGuidanceMetadata & WithExposureType(ExposureTypeT &&value)
RemediationGuidanceMetadata & WithGeneratedAt(GeneratedAtT &&value)
RemediationGuidanceMetadata & WithRiskLevel(RiskLevelT &&value)
AWS_SECURITYHUB_API RemediationGuidanceMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
RemediationGuidanceMetadata & WithReversibility(ReversibilityT &&value)
AWS_SECURITYHUB_API RemediationGuidanceMetadata(Aws::Utils::Json::JsonView jsonValue)
RemediationGuidanceMetadata & WithHumanReviewRequired(bool value)
RemediationGuidanceMetadata & AddTraitTitles(TraitTitlesT &&value)
RemediationGuidanceMetadata & WithTraitTitles(TraitTitlesT &&value)
AWS_SECURITYHUB_API RemediationGuidanceMetadata()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue