/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the last Fleet Advisor collector health check.See
* Also:
AWS
* API Reference
The status of the Fleet Advisor collector.
*/ inline const CollectorStatus& GetCollectorStatus() const{ return m_collectorStatus; } /** *The status of the Fleet Advisor collector.
*/ inline bool CollectorStatusHasBeenSet() const { return m_collectorStatusHasBeenSet; } /** *The status of the Fleet Advisor collector.
*/ inline void SetCollectorStatus(const CollectorStatus& value) { m_collectorStatusHasBeenSet = true; m_collectorStatus = value; } /** *The status of the Fleet Advisor collector.
*/ inline void SetCollectorStatus(CollectorStatus&& value) { m_collectorStatusHasBeenSet = true; m_collectorStatus = std::move(value); } /** *The status of the Fleet Advisor collector.
*/ inline CollectorHealthCheck& WithCollectorStatus(const CollectorStatus& value) { SetCollectorStatus(value); return *this;} /** *The status of the Fleet Advisor collector.
*/ inline CollectorHealthCheck& WithCollectorStatus(CollectorStatus&& value) { SetCollectorStatus(std::move(value)); return *this;} /** *Whether the local collector can access its Amazon S3 bucket.
*/ inline bool GetLocalCollectorS3Access() const{ return m_localCollectorS3Access; } /** *Whether the local collector can access its Amazon S3 bucket.
*/ inline bool LocalCollectorS3AccessHasBeenSet() const { return m_localCollectorS3AccessHasBeenSet; } /** *Whether the local collector can access its Amazon S3 bucket.
*/ inline void SetLocalCollectorS3Access(bool value) { m_localCollectorS3AccessHasBeenSet = true; m_localCollectorS3Access = value; } /** *Whether the local collector can access its Amazon S3 bucket.
*/ inline CollectorHealthCheck& WithLocalCollectorS3Access(bool value) { SetLocalCollectorS3Access(value); return *this;} /** *Whether the web collector can access its Amazon S3 bucket.
*/ inline bool GetWebCollectorS3Access() const{ return m_webCollectorS3Access; } /** *Whether the web collector can access its Amazon S3 bucket.
*/ inline bool WebCollectorS3AccessHasBeenSet() const { return m_webCollectorS3AccessHasBeenSet; } /** *Whether the web collector can access its Amazon S3 bucket.
*/ inline void SetWebCollectorS3Access(bool value) { m_webCollectorS3AccessHasBeenSet = true; m_webCollectorS3Access = value; } /** *Whether the web collector can access its Amazon S3 bucket.
*/ inline CollectorHealthCheck& WithWebCollectorS3Access(bool value) { SetWebCollectorS3Access(value); return *this;} /** *Whether the role that you provided when creating the Fleet Advisor collector * has sufficient permissions to access the Fleet Advisor web collector.
*/ inline bool GetWebCollectorGrantedRoleBasedAccess() const{ return m_webCollectorGrantedRoleBasedAccess; } /** *Whether the role that you provided when creating the Fleet Advisor collector * has sufficient permissions to access the Fleet Advisor web collector.
*/ inline bool WebCollectorGrantedRoleBasedAccessHasBeenSet() const { return m_webCollectorGrantedRoleBasedAccessHasBeenSet; } /** *Whether the role that you provided when creating the Fleet Advisor collector * has sufficient permissions to access the Fleet Advisor web collector.
*/ inline void SetWebCollectorGrantedRoleBasedAccess(bool value) { m_webCollectorGrantedRoleBasedAccessHasBeenSet = true; m_webCollectorGrantedRoleBasedAccess = value; } /** *Whether the role that you provided when creating the Fleet Advisor collector * has sufficient permissions to access the Fleet Advisor web collector.
*/ inline CollectorHealthCheck& WithWebCollectorGrantedRoleBasedAccess(bool value) { SetWebCollectorGrantedRoleBasedAccess(value); return *this;} private: CollectorStatus m_collectorStatus; bool m_collectorStatusHasBeenSet = false; bool m_localCollectorS3Access; bool m_localCollectorS3AccessHasBeenSet = false; bool m_webCollectorS3Access; bool m_webCollectorS3AccessHasBeenSet = false; bool m_webCollectorGrantedRoleBasedAccess; bool m_webCollectorGrantedRoleBasedAccessHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws