7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/inspector2/model/ResourceScanMetadata.h>
11#include <aws/inspector2/model/CoverageResourceType.h>
12#include <aws/inspector2/model/ScanMode.h>
13#include <aws/inspector2/model/ScanStatus.h>
14#include <aws/inspector2/model/ScanType.h>
55 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
81 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
149 bool m_accountIdHasBeenSet =
false;
152 bool m_lastScannedAtHasBeenSet =
false;
155 bool m_resourceIdHasBeenSet =
false;
158 bool m_resourceMetadataHasBeenSet =
false;
161 bool m_resourceTypeHasBeenSet =
false;
164 bool m_scanModeHasBeenSet =
false;
167 bool m_scanStatusHasBeenSet =
false;
170 bool m_scanTypeHasBeenSet =
false;
void SetResourceType(CoverageResourceType &&value)
AWS_INSPECTOR2_API CoveredResource()
CoveredResource & WithAccountId(const char *value)
void SetResourceMetadata(ResourceScanMetadata &&value)
CoveredResource & WithResourceMetadata(const ResourceScanMetadata &value)
void SetResourceId(const Aws::String &value)
void SetLastScannedAt(const Aws::Utils::DateTime &value)
AWS_INSPECTOR2_API CoveredResource(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(Aws::String &&value)
void SetResourceMetadata(const ResourceScanMetadata &value)
const Aws::String & GetAccountId() const
bool ResourceIdHasBeenSet() const
bool ScanTypeHasBeenSet() const
CoveredResource & WithResourceId(const char *value)
CoveredResource & WithResourceType(const CoverageResourceType &value)
bool ScanModeHasBeenSet() const
CoveredResource & WithResourceId(Aws::String &&value)
CoveredResource & WithScanStatus(ScanStatus &&value)
bool LastScannedAtHasBeenSet() const
void SetAccountId(const char *value)
CoveredResource & WithResourceType(CoverageResourceType &&value)
void SetScanStatus(const ScanStatus &value)
void SetScanType(ScanType &&value)
void SetAccountId(Aws::String &&value)
void SetResourceType(const CoverageResourceType &value)
const CoverageResourceType & GetResourceType() const
void SetLastScannedAt(Aws::Utils::DateTime &&value)
CoveredResource & WithAccountId(const Aws::String &value)
CoveredResource & WithLastScannedAt(const Aws::Utils::DateTime &value)
void SetScanType(const ScanType &value)
CoveredResource & WithScanMode(const ScanMode &value)
const Aws::String & GetResourceId() const
void SetScanMode(const ScanMode &value)
CoveredResource & WithScanMode(ScanMode &&value)
void SetScanStatus(ScanStatus &&value)
bool AccountIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastScannedAt() const
AWS_INSPECTOR2_API CoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
CoveredResource & WithScanType(ScanType &&value)
void SetAccountId(const Aws::String &value)
bool ResourceMetadataHasBeenSet() const
const ScanMode & GetScanMode() const
const ScanType & GetScanType() const
void SetResourceId(const char *value)
bool ScanStatusHasBeenSet() const
CoveredResource & WithAccountId(Aws::String &&value)
CoveredResource & WithLastScannedAt(Aws::Utils::DateTime &&value)
CoveredResource & WithResourceMetadata(ResourceScanMetadata &&value)
void SetScanMode(ScanMode &&value)
CoveredResource & WithScanType(const ScanType &value)
CoveredResource & WithScanStatus(const ScanStatus &value)
CoveredResource & WithResourceId(const Aws::String &value)
const ResourceScanMetadata & GetResourceMetadata() const
const ScanStatus & GetScanStatus() const
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