/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the resource of the GuardDuty account.See
* Also:
AWS
* API Reference
The unique ID of the resource.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The unique ID of the resource.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The unique ID of the resource.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The unique ID of the resource.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The unique ID of the resource.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The unique ID of the resource.
*/ inline CoverageResource& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The unique ID of the resource.
*/ inline CoverageResource& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The unique ID of the resource.
*/ inline CoverageResource& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; } /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; } /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); } /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); } /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline CoverageResource& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline CoverageResource& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *The unique ID of the GuardDuty detector associated with the resource.
*/ inline CoverageResource& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *The unique ID of the Amazon Web Services account.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The unique ID of the Amazon Web Services account.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The unique ID of the Amazon Web Services account.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The unique ID of the Amazon Web Services account.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The unique ID of the Amazon Web Services account.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The unique ID of the Amazon Web Services account.
*/ inline CoverageResource& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The unique ID of the Amazon Web Services account.
*/ inline CoverageResource& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The unique ID of the Amazon Web Services account.
*/ inline CoverageResource& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline const CoverageResourceDetails& GetResourceDetails() const{ return m_resourceDetails; } /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline bool ResourceDetailsHasBeenSet() const { return m_resourceDetailsHasBeenSet; } /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline void SetResourceDetails(const CoverageResourceDetails& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = value; } /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline void SetResourceDetails(CoverageResourceDetails&& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = std::move(value); } /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline CoverageResource& WithResourceDetails(const CoverageResourceDetails& value) { SetResourceDetails(value); return *this;} /** *Information about the resource for which the coverage statistics are * retrieved.
*/ inline CoverageResource& WithResourceDetails(CoverageResourceDetails&& value) { SetResourceDetails(std::move(value)); return *this;} /** *Represents the status of the EKS cluster coverage.
*/ inline const CoverageStatus& GetCoverageStatus() const{ return m_coverageStatus; } /** *Represents the status of the EKS cluster coverage.
*/ inline bool CoverageStatusHasBeenSet() const { return m_coverageStatusHasBeenSet; } /** *Represents the status of the EKS cluster coverage.
*/ inline void SetCoverageStatus(const CoverageStatus& value) { m_coverageStatusHasBeenSet = true; m_coverageStatus = value; } /** *Represents the status of the EKS cluster coverage.
*/ inline void SetCoverageStatus(CoverageStatus&& value) { m_coverageStatusHasBeenSet = true; m_coverageStatus = std::move(value); } /** *Represents the status of the EKS cluster coverage.
*/ inline CoverageResource& WithCoverageStatus(const CoverageStatus& value) { SetCoverageStatus(value); return *this;} /** *Represents the status of the EKS cluster coverage.
*/ inline CoverageResource& WithCoverageStatus(CoverageStatus&& value) { SetCoverageStatus(std::move(value)); return *this;} /** *Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
Represents the reason why a coverage status was UNHEALTHY
for
* the EKS cluster.
The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline CoverageResource& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The timestamp at which the coverage details for the resource were last * updated. This is in UTC format.
*/ inline CoverageResource& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; Aws::String m_detectorId; bool m_detectorIdHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; CoverageResourceDetails m_resourceDetails; bool m_resourceDetailsHasBeenSet = false; CoverageStatus m_coverageStatus; bool m_coverageStatusHasBeenSet = false; Aws::String m_issue; bool m_issueHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws