/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The image scanning configuration for a repository.See Also:
* AWS
* API Reference
Whether to scan images after they are pushed to a repository.
*/ inline bool GetScanOnPush() const{ return m_scanOnPush; } /** *Whether to scan images after they are pushed to a repository.
*/ inline bool ScanOnPushHasBeenSet() const { return m_scanOnPushHasBeenSet; } /** *Whether to scan images after they are pushed to a repository.
*/ inline void SetScanOnPush(bool value) { m_scanOnPushHasBeenSet = true; m_scanOnPush = value; } /** *Whether to scan images after they are pushed to a repository.
*/ inline AwsEcrRepositoryImageScanningConfigurationDetails& WithScanOnPush(bool value) { SetScanOnPush(value); return *this;} private: bool m_scanOnPush; bool m_scanOnPushHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws