/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a deployment configuration.See Also:
AWS
* API Reference
The percentage of robots receiving the deployment at the same time.
*/ inline int GetConcurrentDeploymentPercentage() const{ return m_concurrentDeploymentPercentage; } /** *The percentage of robots receiving the deployment at the same time.
*/ inline bool ConcurrentDeploymentPercentageHasBeenSet() const { return m_concurrentDeploymentPercentageHasBeenSet; } /** *The percentage of robots receiving the deployment at the same time.
*/ inline void SetConcurrentDeploymentPercentage(int value) { m_concurrentDeploymentPercentageHasBeenSet = true; m_concurrentDeploymentPercentage = value; } /** *The percentage of robots receiving the deployment at the same time.
*/ inline DeploymentConfig& WithConcurrentDeploymentPercentage(int value) { SetConcurrentDeploymentPercentage(value); return *this;} /** *The percentage of deployments that need to fail before stopping * deployment.
*/ inline int GetFailureThresholdPercentage() const{ return m_failureThresholdPercentage; } /** *The percentage of deployments that need to fail before stopping * deployment.
*/ inline bool FailureThresholdPercentageHasBeenSet() const { return m_failureThresholdPercentageHasBeenSet; } /** *The percentage of deployments that need to fail before stopping * deployment.
*/ inline void SetFailureThresholdPercentage(int value) { m_failureThresholdPercentageHasBeenSet = true; m_failureThresholdPercentage = value; } /** *The percentage of deployments that need to fail before stopping * deployment.
*/ inline DeploymentConfig& WithFailureThresholdPercentage(int value) { SetFailureThresholdPercentage(value); return *this;} /** *The amount of time, in seconds, to wait for deployment to a single robot to * complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
*/ inline long long GetRobotDeploymentTimeoutInSeconds() const{ return m_robotDeploymentTimeoutInSeconds; } /** *The amount of time, in seconds, to wait for deployment to a single robot to * complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
*/ inline bool RobotDeploymentTimeoutInSecondsHasBeenSet() const { return m_robotDeploymentTimeoutInSecondsHasBeenSet; } /** *The amount of time, in seconds, to wait for deployment to a single robot to * complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
*/ inline void SetRobotDeploymentTimeoutInSeconds(long long value) { m_robotDeploymentTimeoutInSecondsHasBeenSet = true; m_robotDeploymentTimeoutInSeconds = value; } /** *The amount of time, in seconds, to wait for deployment to a single robot to * complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
*/ inline DeploymentConfig& WithRobotDeploymentTimeoutInSeconds(long long value) { SetRobotDeploymentTimeoutInSeconds(value); return *this;} /** *The download condition file.
*/ inline const S3Object& GetDownloadConditionFile() const{ return m_downloadConditionFile; } /** *The download condition file.
*/ inline bool DownloadConditionFileHasBeenSet() const { return m_downloadConditionFileHasBeenSet; } /** *The download condition file.
*/ inline void SetDownloadConditionFile(const S3Object& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = value; } /** *The download condition file.
*/ inline void SetDownloadConditionFile(S3Object&& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = std::move(value); } /** *The download condition file.
*/ inline DeploymentConfig& WithDownloadConditionFile(const S3Object& value) { SetDownloadConditionFile(value); return *this;} /** *The download condition file.
*/ inline DeploymentConfig& WithDownloadConditionFile(S3Object&& value) { SetDownloadConditionFile(std::move(value)); return *this;} private: int m_concurrentDeploymentPercentage; bool m_concurrentDeploymentPercentageHasBeenSet = false; int m_failureThresholdPercentage; bool m_failureThresholdPercentageHasBeenSet = false; long long m_robotDeploymentTimeoutInSeconds; bool m_robotDeploymentTimeoutInSecondsHasBeenSet = false; S3Object m_downloadConditionFile; bool m_downloadConditionFileHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws