/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Amazon Web Services Systems Manager (SSM) specific remediation
* controls.See Also:
AWS
* API Reference
The maximum percentage of remediation actions allowed to run in parallel on * the non-compliant resources for that specific rule. You can specify a * percentage, such as 10%. The default value is 10.
*/ inline int GetConcurrentExecutionRatePercentage() const{ return m_concurrentExecutionRatePercentage; } /** *The maximum percentage of remediation actions allowed to run in parallel on * the non-compliant resources for that specific rule. You can specify a * percentage, such as 10%. The default value is 10.
*/ inline bool ConcurrentExecutionRatePercentageHasBeenSet() const { return m_concurrentExecutionRatePercentageHasBeenSet; } /** *The maximum percentage of remediation actions allowed to run in parallel on * the non-compliant resources for that specific rule. You can specify a * percentage, such as 10%. The default value is 10.
*/ inline void SetConcurrentExecutionRatePercentage(int value) { m_concurrentExecutionRatePercentageHasBeenSet = true; m_concurrentExecutionRatePercentage = value; } /** *The maximum percentage of remediation actions allowed to run in parallel on * the non-compliant resources for that specific rule. You can specify a * percentage, such as 10%. The default value is 10.
*/ inline SsmControls& WithConcurrentExecutionRatePercentage(int value) { SetConcurrentExecutionRatePercentage(value); return *this;} /** *The percentage of errors that are allowed before SSM stops running * automations on non-compliant resources for that specific rule. You can specify a * percentage of errors, for example 10%. If you do not specifiy a percentage, the * default is 50%. For example, if you set the ErrorPercentage to 40% for 10 * non-compliant resources, then SSM stops running the automations when the fifth * error is received.
*/ inline int GetErrorPercentage() const{ return m_errorPercentage; } /** *The percentage of errors that are allowed before SSM stops running * automations on non-compliant resources for that specific rule. You can specify a * percentage of errors, for example 10%. If you do not specifiy a percentage, the * default is 50%. For example, if you set the ErrorPercentage to 40% for 10 * non-compliant resources, then SSM stops running the automations when the fifth * error is received.
*/ inline bool ErrorPercentageHasBeenSet() const { return m_errorPercentageHasBeenSet; } /** *The percentage of errors that are allowed before SSM stops running * automations on non-compliant resources for that specific rule. You can specify a * percentage of errors, for example 10%. If you do not specifiy a percentage, the * default is 50%. For example, if you set the ErrorPercentage to 40% for 10 * non-compliant resources, then SSM stops running the automations when the fifth * error is received.
*/ inline void SetErrorPercentage(int value) { m_errorPercentageHasBeenSet = true; m_errorPercentage = value; } /** *The percentage of errors that are allowed before SSM stops running * automations on non-compliant resources for that specific rule. You can specify a * percentage of errors, for example 10%. If you do not specifiy a percentage, the * default is 50%. For example, if you set the ErrorPercentage to 40% for 10 * non-compliant resources, then SSM stops running the automations when the fifth * error is received.
*/ inline SsmControls& WithErrorPercentage(int value) { SetErrorPercentage(value); return *this;} private: int m_concurrentExecutionRatePercentage; bool m_concurrentExecutionRatePercentageHasBeenSet = false; int m_errorPercentage; bool m_errorPercentageHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws