AWS SDK for C++

AWS SDK for C++ Version 1.11.923

Loading...
Searching...
No Matches
ScanResultCondition.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/MaximumSeverityLabel.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
30 public:
31 AWS_IMAGEBUILDER_API ScanResultCondition() = default;
32 AWS_IMAGEBUILDER_API ScanResultCondition(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline MaximumSeverityLabel GetMaximumSeverityLabel() const { return m_maximumSeverityLabel; }
45 inline bool MaximumSeverityLabelHasBeenSet() const { return m_maximumSeverityLabelHasBeenSet; }
47 m_maximumSeverityLabelHasBeenSet = true;
48 m_maximumSeverityLabel = value;
49 }
52 return *this;
53 }
55
57
62 inline bool GetFixAvailable() const { return m_fixAvailable; }
63 inline bool FixAvailableHasBeenSet() const { return m_fixAvailableHasBeenSet; }
64 inline void SetFixAvailable(bool value) {
65 m_fixAvailableHasBeenSet = true;
66 m_fixAvailable = value;
67 }
69 SetFixAvailable(value);
70 return *this;
71 }
73 private:
75
76 bool m_fixAvailable{false};
77 bool m_maximumSeverityLabelHasBeenSet = false;
78 bool m_fixAvailableHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace imagebuilder
83} // namespace Aws
void SetMaximumSeverityLabel(MaximumSeverityLabel value)
ScanResultCondition & WithFixAvailable(bool value)
ScanResultCondition & WithMaximumSeverityLabel(MaximumSeverityLabel value)
AWS_IMAGEBUILDER_API ScanResultCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
MaximumSeverityLabel GetMaximumSeverityLabel() const
AWS_IMAGEBUILDER_API ScanResultCondition()=default
AWS_IMAGEBUILDER_API ScanResultCondition(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue