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/CoverageResourceType.h>
11#include <aws/inspector2/model/ResourceScanMetadata.h>
12#include <aws/inspector2/model/ScanMode.h>
13#include <aws/inspector2/model/ScanStatus.h>
14#include <aws/inspector2/model/ScanType.h>
48 m_resourceTypeHasBeenSet =
true;
49 m_resourceType = value;
63 template <
typename ResourceIdT = Aws::String>
65 m_resourceIdHasBeenSet =
true;
66 m_resourceId = std::forward<ResourceIdT>(value);
68 template <
typename ResourceIdT = Aws::String>
81 template <
typename AccountIdT = Aws::String>
83 m_accountIdHasBeenSet =
true;
84 m_accountId = std::forward<AccountIdT>(value);
86 template <
typename AccountIdT = Aws::String>
100 m_scanTypeHasBeenSet =
true;
115 template <
typename ScanStatusT = ScanStatus>
117 m_scanStatusHasBeenSet =
true;
118 m_scanStatus = std::forward<ScanStatusT>(value);
120 template <
typename ScanStatusT = ScanStatus>
133 template <
typename ResourceMetadataT = ResourceScanMetadata>
135 m_resourceMetadataHasBeenSet =
true;
136 m_resourceMetadata = std::forward<ResourceMetadataT>(value);
138 template <
typename ResourceMetadataT = ResourceScanMetadata>
151 template <
typename LastScannedAtT = Aws::Utils::DateTime>
153 m_lastScannedAtHasBeenSet =
true;
154 m_lastScannedAt = std::forward<LastScannedAtT>(value);
156 template <
typename LastScannedAtT = Aws::Utils::DateTime>
170 m_scanModeHasBeenSet =
true;
187 ScanStatus m_scanStatus;
189 ResourceScanMetadata m_resourceMetadata;
194 bool m_resourceTypeHasBeenSet =
false;
195 bool m_resourceIdHasBeenSet =
false;
196 bool m_accountIdHasBeenSet =
false;
197 bool m_scanTypeHasBeenSet =
false;
198 bool m_scanStatusHasBeenSet =
false;
199 bool m_resourceMetadataHasBeenSet =
false;
200 bool m_lastScannedAtHasBeenSet =
false;
201 bool m_scanModeHasBeenSet =
false;
void SetScanMode(ScanMode value)
CoveredResource & WithResourceMetadata(ResourceMetadataT &&value)
CoverageResourceType GetResourceType() const
CoveredResource & WithAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API CoveredResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
bool ResourceIdHasBeenSet() const
void SetScanType(ScanType value)
bool ScanTypeHasBeenSet() const
void SetScanStatus(ScanStatusT &&value)
bool ScanModeHasBeenSet() const
bool LastScannedAtHasBeenSet() const
CoveredResource & WithLastScannedAt(LastScannedAtT &&value)
CoveredResource & WithScanMode(ScanMode value)
ScanType GetScanType() const
CoveredResource & WithScanStatus(ScanStatusT &&value)
CoveredResource & WithScanType(ScanType value)
void SetResourceId(ResourceIdT &&value)
void SetLastScannedAt(LastScannedAtT &&value)
const Aws::String & GetResourceId() const
AWS_INSPECTOR2_API CoveredResource()=default
bool AccountIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastScannedAt() const
AWS_INSPECTOR2_API CoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
CoveredResource & WithResourceId(ResourceIdT &&value)
void SetResourceType(CoverageResourceType value)
void SetResourceMetadata(ResourceMetadataT &&value)
CoveredResource & WithResourceType(CoverageResourceType value)
ScanMode GetScanMode() const
bool ResourceMetadataHasBeenSet() const
bool ScanStatusHasBeenSet() const
const ResourceScanMetadata & GetResourceMetadata() const
const ScanStatus & GetScanStatus() const
void SetAccountId(AccountIdT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue