7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/CoverageResourceDetails.h>
10#include <aws/guardduty/model/CoverageStatus.h>
11#include <aws/core/utils/DateTime.h>
52 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
66 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
80 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
120 inline void SetIssue(
const char* value) { m_issueHasBeenSet =
true; m_issue.assign(value); }
141 bool m_resourceIdHasBeenSet =
false;
144 bool m_detectorIdHasBeenSet =
false;
147 bool m_accountIdHasBeenSet =
false;
150 bool m_resourceDetailsHasBeenSet =
false;
153 bool m_coverageStatusHasBeenSet =
false;
156 bool m_issueHasBeenSet =
false;
159 bool m_updatedAtHasBeenSet =
false;
CoverageResource & WithResourceId(const Aws::String &value)
void SetResourceId(Aws::String &&value)
CoverageResource & WithIssue(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool DetectorIdHasBeenSet() const
CoverageResource & WithResourceId(const char *value)
bool UpdatedAtHasBeenSet() const
const Aws::String & GetIssue() const
CoverageResource & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetAccountId(const char *value)
void SetDetectorId(Aws::String &&value)
CoverageResource & WithCoverageStatus(const CoverageStatus &value)
void SetDetectorId(const char *value)
CoverageResource & WithIssue(const Aws::String &value)
void SetAccountId(Aws::String &&value)
void SetResourceDetails(const CoverageResourceDetails &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const CoverageStatus & GetCoverageStatus() const
CoverageResource & WithAccountId(Aws::String &&value)
bool ResourceDetailsHasBeenSet() const
CoverageResource & WithResourceDetails(CoverageResourceDetails &&value)
CoverageResource & WithCoverageStatus(CoverageStatus &&value)
const Aws::String & GetDetectorId() const
bool IssueHasBeenSet() const
void SetResourceId(const char *value)
CoverageResource & WithUpdatedAt(Aws::Utils::DateTime &&value)
CoverageResource & WithResourceId(Aws::String &&value)
void SetDetectorId(const Aws::String &value)
void SetIssue(Aws::String &&value)
void SetResourceId(const Aws::String &value)
const Aws::String & GetAccountId() const
CoverageResource & WithAccountId(const char *value)
void SetIssue(const Aws::String &value)
bool AccountIdHasBeenSet() const
const Aws::String & GetResourceId() const
const CoverageResourceDetails & GetResourceDetails() const
CoverageResource & WithDetectorId(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_GUARDDUTY_API CoverageResource()
bool ResourceIdHasBeenSet() const
void SetResourceDetails(CoverageResourceDetails &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCoverageStatus(CoverageStatus &&value)
CoverageResource & WithAccountId(const Aws::String &value)
CoverageResource & WithIssue(Aws::String &&value)
void SetIssue(const char *value)
CoverageResource & WithDetectorId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
CoverageResource & WithResourceDetails(const CoverageResourceDetails &value)
void SetCoverageStatus(const CoverageStatus &value)
bool CoverageStatusHasBeenSet() const
CoverageResource & WithDetectorId(Aws::String &&value)
AWS_GUARDDUTY_API CoverageResource(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API CoverageResource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue