This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/JobExecutionsRolloutConfig.h

113 lines
3.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/iot/model/ExponentialRolloutRate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* <p>Allows you to create a staged rollout of a job.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/JobExecutionsRolloutConfig">AWS
* API Reference</a></p>
*/
class AWS_IOT_API JobExecutionsRolloutConfig
{
public:
JobExecutionsRolloutConfig();
JobExecutionsRolloutConfig(Aws::Utils::Json::JsonView jsonValue);
JobExecutionsRolloutConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The maximum number of things that will be notified of a pending job, per
* minute. This parameter allows you to create a staged rollout.</p>
*/
inline int GetMaximumPerMinute() const{ return m_maximumPerMinute; }
/**
* <p>The maximum number of things that will be notified of a pending job, per
* minute. This parameter allows you to create a staged rollout.</p>
*/
inline bool MaximumPerMinuteHasBeenSet() const { return m_maximumPerMinuteHasBeenSet; }
/**
* <p>The maximum number of things that will be notified of a pending job, per
* minute. This parameter allows you to create a staged rollout.</p>
*/
inline void SetMaximumPerMinute(int value) { m_maximumPerMinuteHasBeenSet = true; m_maximumPerMinute = value; }
/**
* <p>The maximum number of things that will be notified of a pending job, per
* minute. This parameter allows you to create a staged rollout.</p>
*/
inline JobExecutionsRolloutConfig& WithMaximumPerMinute(int value) { SetMaximumPerMinute(value); return *this;}
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline const ExponentialRolloutRate& GetExponentialRate() const{ return m_exponentialRate; }
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline bool ExponentialRateHasBeenSet() const { return m_exponentialRateHasBeenSet; }
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline void SetExponentialRate(const ExponentialRolloutRate& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = value; }
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline void SetExponentialRate(ExponentialRolloutRate&& value) { m_exponentialRateHasBeenSet = true; m_exponentialRate = std::move(value); }
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline JobExecutionsRolloutConfig& WithExponentialRate(const ExponentialRolloutRate& value) { SetExponentialRate(value); return *this;}
/**
* <p>The rate of increase for a job rollout. This parameter allows you to define
* an exponential rate for a job rollout.</p>
*/
inline JobExecutionsRolloutConfig& WithExponentialRate(ExponentialRolloutRate&& value) { SetExponentialRate(std::move(value)); return *this;}
private:
int m_maximumPerMinute;
bool m_maximumPerMinuteHasBeenSet;
ExponentialRolloutRate m_exponentialRate;
bool m_exponentialRateHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws