/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The criteria to initiate the increase in rate of rollout for a
* job.See Also:
AWS
* API Reference
When this number of things have been notified, it will initiate an increase * in the rollout rate.
*/ inline int GetNumberOfNotifiedThings() const{ return m_numberOfNotifiedThings; } /** *When this number of things have been notified, it will initiate an increase * in the rollout rate.
*/ inline bool NumberOfNotifiedThingsHasBeenSet() const { return m_numberOfNotifiedThingsHasBeenSet; } /** *When this number of things have been notified, it will initiate an increase * in the rollout rate.
*/ inline void SetNumberOfNotifiedThings(int value) { m_numberOfNotifiedThingsHasBeenSet = true; m_numberOfNotifiedThings = value; } /** *When this number of things have been notified, it will initiate an increase * in the rollout rate.
*/ inline AwsJobRateIncreaseCriteria& WithNumberOfNotifiedThings(int value) { SetNumberOfNotifiedThings(value); return *this;} /** *When this number of things have succeeded in their job execution, it will * initiate an increase in the rollout rate.
*/ inline int GetNumberOfSucceededThings() const{ return m_numberOfSucceededThings; } /** *When this number of things have succeeded in their job execution, it will * initiate an increase in the rollout rate.
*/ inline bool NumberOfSucceededThingsHasBeenSet() const { return m_numberOfSucceededThingsHasBeenSet; } /** *When this number of things have succeeded in their job execution, it will * initiate an increase in the rollout rate.
*/ inline void SetNumberOfSucceededThings(int value) { m_numberOfSucceededThingsHasBeenSet = true; m_numberOfSucceededThings = value; } /** *When this number of things have succeeded in their job execution, it will * initiate an increase in the rollout rate.
*/ inline AwsJobRateIncreaseCriteria& WithNumberOfSucceededThings(int value) { SetNumberOfSucceededThings(value); return *this;} private: int m_numberOfNotifiedThings; bool m_numberOfNotifiedThingsHasBeenSet = false; int m_numberOfSucceededThings; bool m_numberOfSucceededThingsHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws