7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/SeverityLabel.h>
49 m_fixAvailableHasBeenSet =
true;
50 m_fixAvailable = value;
62 inline double GetScore()
const {
return m_score; }
65 m_scoreHasBeenSet =
true;
82 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
84 m_firstObservedAtHasBeenSet =
true;
85 m_firstObservedAt = std::forward<FirstObservedAtT>(value);
87 template <
typename FirstObservedAtT = Aws::Utils::DateTime>
101 template <
typename UpdatedAtT = Aws::Utils::DateTime>
103 m_updatedAtHasBeenSet =
true;
104 m_updatedAt = std::forward<UpdatedAtT>(value);
106 template <
typename UpdatedAtT = Aws::Utils::DateTime>
119 template <
typename TitleT = Aws::String>
121 m_titleHasBeenSet =
true;
122 m_title = std::forward<TitleT>(value);
124 template <
typename TitleT = Aws::String>
126 SetTitle(std::forward<TitleT>(value));
138 template <
typename PathsT = Aws::Vector<Aws::String>>
140 m_pathsHasBeenSet =
true;
141 m_paths = std::forward<PathsT>(value);
143 template <
typename PathsT = Aws::Vector<Aws::String>>
145 SetPaths(std::forward<PathsT>(value));
148 template <
typename PathsT = Aws::String>
150 m_pathsHasBeenSet =
true;
151 m_paths.emplace_back(std::forward<PathsT>(value));
173 m_severityLabelHasBeenSet =
true;
174 m_severityLabel = value;
189 template <
typename SnapshotIdT = Aws::String>
191 m_snapshotIdHasBeenSet =
true;
192 m_snapshotId = std::forward<SnapshotIdT>(value);
194 template <
typename SnapshotIdT = Aws::String>
201 bool m_fixAvailable{
false};
216 bool m_fixAvailableHasBeenSet =
false;
217 bool m_scoreHasBeenSet =
false;
218 bool m_firstObservedAtHasBeenSet =
false;
219 bool m_updatedAtHasBeenSet =
false;
220 bool m_titleHasBeenSet =
false;
221 bool m_pathsHasBeenSet =
false;
222 bool m_severityLabelHasBeenSet =
false;
223 bool m_snapshotIdHasBeenSet =
false;
AWS_EC2_API ImageFinding & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFixAvailable(bool value)
bool UpdatedAtHasBeenSet() const
void SetSnapshotId(SnapshotIdT &&value)
ImageFinding & WithPaths(PathsT &&value)
bool SeverityLabelHasBeenSet() const
void SetScore(double value)
SeverityLabel GetSeverityLabel() const
AWS_EC2_API ImageFinding()=default
bool GetFixAvailable() const
ImageFinding & WithFixAvailable(bool value)
ImageFinding & AddPaths(PathsT &&value)
ImageFinding & WithSnapshotId(SnapshotIdT &&value)
bool TitleHasBeenSet() const
const Aws::Vector< Aws::String > & GetPaths() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTitle(TitleT &&value)
ImageFinding & WithUpdatedAt(UpdatedAtT &&value)
void SetPaths(PathsT &&value)
void SetSeverityLabel(SeverityLabel value)
bool FirstObservedAtHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetSnapshotId() const
ImageFinding & WithSeverityLabel(SeverityLabel value)
const Aws::Utils::DateTime & GetFirstObservedAt() const
ImageFinding & WithFirstObservedAt(FirstObservedAtT &&value)
bool ScoreHasBeenSet() const
bool PathsHasBeenSet() const
bool FixAvailableHasBeenSet() const
ImageFinding & WithScore(double value)
void SetFirstObservedAt(FirstObservedAtT &&value)
const Aws::String & GetTitle() const
ImageFinding & WithTitle(TitleT &&value)
bool SnapshotIdHasBeenSet() const
AWS_EC2_API ImageFinding(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream
std::vector< T, Aws::Allocator< T > > Vector