/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Image tests configuration.See Also:
AWS
* API Reference
Defines if tests should be executed when building this image.
*/ inline bool GetImageTestsEnabled() const{ return m_imageTestsEnabled; } /** *Defines if tests should be executed when building this image.
*/ inline bool ImageTestsEnabledHasBeenSet() const { return m_imageTestsEnabledHasBeenSet; } /** *Defines if tests should be executed when building this image.
*/ inline void SetImageTestsEnabled(bool value) { m_imageTestsEnabledHasBeenSet = true; m_imageTestsEnabled = value; } /** *Defines if tests should be executed when building this image.
*/ inline ImageTestsConfiguration& WithImageTestsEnabled(bool value) { SetImageTestsEnabled(value); return *this;} /** *The maximum time in minutes that tests are permitted to run.
*/ inline int GetTimeoutMinutes() const{ return m_timeoutMinutes; } /** *The maximum time in minutes that tests are permitted to run.
*/ inline bool TimeoutMinutesHasBeenSet() const { return m_timeoutMinutesHasBeenSet; } /** *The maximum time in minutes that tests are permitted to run.
*/ inline void SetTimeoutMinutes(int value) { m_timeoutMinutesHasBeenSet = true; m_timeoutMinutes = value; } /** *The maximum time in minutes that tests are permitted to run.
*/ inline ImageTestsConfiguration& WithTimeoutMinutes(int value) { SetTimeoutMinutes(value); return *this;} private: bool m_imageTestsEnabled; bool m_imageTestsEnabledHasBeenSet; int m_timeoutMinutes; bool m_timeoutMinutesHasBeenSet; }; } // namespace Model } // namespace imagebuilder } // namespace Aws