7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/CisScanStatus.h>
11#include <aws/inspector2/model/CisSecurityLevel.h>
12#include <aws/inspector2/model/CisTargets.h>
44 template <
typename ScanArnT = Aws::String>
46 m_scanArnHasBeenSet =
true;
47 m_scanArn = std::forward<ScanArnT>(value);
49 template <
typename ScanArnT = Aws::String>
62 template <
typename ScanConfigurationArnT = Aws::String>
64 m_scanConfigurationArnHasBeenSet =
true;
65 m_scanConfigurationArn = std::forward<ScanConfigurationArnT>(value);
67 template <
typename ScanConfigurationArnT = Aws::String>
81 m_statusHasBeenSet =
true;
96 template <
typename ScanNameT = Aws::String>
98 m_scanNameHasBeenSet =
true;
99 m_scanName = std::forward<ScanNameT>(value);
101 template <
typename ScanNameT = Aws::String>
114 template <
typename ScanDateT = Aws::Utils::DateTime>
116 m_scanDateHasBeenSet =
true;
117 m_scanDate = std::forward<ScanDateT>(value);
119 template <
typename ScanDateT = Aws::Utils::DateTime>
133 m_failedChecksHasBeenSet =
true;
134 m_failedChecks = value;
149 m_totalChecksHasBeenSet =
true;
150 m_totalChecks = value;
164 template <
typename TargetsT = CisTargets>
166 m_targetsHasBeenSet =
true;
167 m_targets = std::forward<TargetsT>(value);
169 template <
typename TargetsT = CisTargets>
182 template <
typename ScheduledByT = Aws::String>
184 m_scheduledByHasBeenSet =
true;
185 m_scheduledBy = std::forward<ScheduledByT>(value);
187 template <
typename ScheduledByT = Aws::String>
202 m_securityLevelHasBeenSet =
true;
203 m_securityLevel = value;
221 int m_failedChecks{0};
223 int m_totalChecks{0};
225 CisTargets m_targets;
230 bool m_scanArnHasBeenSet =
false;
231 bool m_scanConfigurationArnHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
233 bool m_scanNameHasBeenSet =
false;
234 bool m_scanDateHasBeenSet =
false;
235 bool m_failedChecksHasBeenSet =
false;
236 bool m_totalChecksHasBeenSet =
false;
237 bool m_targetsHasBeenSet =
false;
238 bool m_scheduledByHasBeenSet =
false;
239 bool m_securityLevelHasBeenSet =
false;
AWS_INSPECTOR2_API CisScan & operator=(Aws::Utils::Json::JsonView jsonValue)
const CisTargets & GetTargets() const
bool ScanArnHasBeenSet() const
void SetStatus(CisScanStatus value)
bool TargetsHasBeenSet() const
void SetSecurityLevel(CisSecurityLevel value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
CisSecurityLevel GetSecurityLevel() const
CisScan & WithScanDate(ScanDateT &&value)
CisScan & WithScheduledBy(ScheduledByT &&value)
bool ScanNameHasBeenSet() const
AWS_INSPECTOR2_API CisScan(Aws::Utils::Json::JsonView jsonValue)
CisScan & WithTotalChecks(int value)
CisScan & WithScanName(ScanNameT &&value)
bool TotalChecksHasBeenSet() const
void SetScheduledBy(ScheduledByT &&value)
CisScan & WithScanConfigurationArn(ScanConfigurationArnT &&value)
CisScanStatus GetStatus() const
const Aws::String & GetScanName() const
const Aws::String & GetScanArn() const
CisScan & WithFailedChecks(int value)
void SetScanConfigurationArn(ScanConfigurationArnT &&value)
CisScan & WithSecurityLevel(CisSecurityLevel value)
bool SecurityLevelHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Utils::DateTime & GetScanDate() const
void SetFailedChecks(int value)
void SetTotalChecks(int value)
void SetScanArn(ScanArnT &&value)
void SetScanName(ScanNameT &&value)
CisScan & WithScanArn(ScanArnT &&value)
const Aws::String & GetScheduledBy() const
bool FailedChecksHasBeenSet() const
const Aws::String & GetScanConfigurationArn() const
bool ScanDateHasBeenSet() const
AWS_INSPECTOR2_API CisScan()=default
CisScan & WithStatus(CisScanStatus value)
void SetScanDate(ScanDateT &&value)
void SetTargets(TargetsT &&value)
CisScan & WithTargets(TargetsT &&value)
bool ScheduledByHasBeenSet() const
int GetFailedChecks() const
int GetTotalChecks() const
bool ScanConfigurationArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue