AWS SDK for C++  1.9.126
AWS SDK for C++
DeploymentConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace RoboMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline int GetConcurrentDeploymentPercentage() const{ return m_concurrentDeploymentPercentage; }
44 
48  inline bool ConcurrentDeploymentPercentageHasBeenSet() const { return m_concurrentDeploymentPercentageHasBeenSet; }
49 
53  inline void SetConcurrentDeploymentPercentage(int value) { m_concurrentDeploymentPercentageHasBeenSet = true; m_concurrentDeploymentPercentage = value; }
54 
58  inline DeploymentConfig& WithConcurrentDeploymentPercentage(int value) { SetConcurrentDeploymentPercentage(value); return *this;}
59 
60 
65  inline int GetFailureThresholdPercentage() const{ return m_failureThresholdPercentage; }
66 
71  inline bool FailureThresholdPercentageHasBeenSet() const { return m_failureThresholdPercentageHasBeenSet; }
72 
77  inline void SetFailureThresholdPercentage(int value) { m_failureThresholdPercentageHasBeenSet = true; m_failureThresholdPercentage = value; }
78 
83  inline DeploymentConfig& WithFailureThresholdPercentage(int value) { SetFailureThresholdPercentage(value); return *this;}
84 
85 
90  inline long long GetRobotDeploymentTimeoutInSeconds() const{ return m_robotDeploymentTimeoutInSeconds; }
91 
96  inline bool RobotDeploymentTimeoutInSecondsHasBeenSet() const { return m_robotDeploymentTimeoutInSecondsHasBeenSet; }
97 
102  inline void SetRobotDeploymentTimeoutInSeconds(long long value) { m_robotDeploymentTimeoutInSecondsHasBeenSet = true; m_robotDeploymentTimeoutInSeconds = value; }
103 
108  inline DeploymentConfig& WithRobotDeploymentTimeoutInSeconds(long long value) { SetRobotDeploymentTimeoutInSeconds(value); return *this;}
109 
110 
114  inline const S3Object& GetDownloadConditionFile() const{ return m_downloadConditionFile; }
115 
119  inline bool DownloadConditionFileHasBeenSet() const { return m_downloadConditionFileHasBeenSet; }
120 
124  inline void SetDownloadConditionFile(const S3Object& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = value; }
125 
129  inline void SetDownloadConditionFile(S3Object&& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = std::move(value); }
130 
134  inline DeploymentConfig& WithDownloadConditionFile(const S3Object& value) { SetDownloadConditionFile(value); return *this;}
135 
139  inline DeploymentConfig& WithDownloadConditionFile(S3Object&& value) { SetDownloadConditionFile(std::move(value)); return *this;}
140 
141  private:
142 
143  int m_concurrentDeploymentPercentage;
144  bool m_concurrentDeploymentPercentageHasBeenSet;
145 
146  int m_failureThresholdPercentage;
147  bool m_failureThresholdPercentageHasBeenSet;
148 
149  long long m_robotDeploymentTimeoutInSeconds;
150  bool m_robotDeploymentTimeoutInSecondsHasBeenSet;
151 
152  S3Object m_downloadConditionFile;
153  bool m_downloadConditionFileHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace RoboMaker
158 } // namespace Aws
Aws::RoboMaker::Model::DeploymentConfig::WithFailureThresholdPercentage
DeploymentConfig & WithFailureThresholdPercentage(int value)
Definition: DeploymentConfig.h:83
Aws::RoboMaker::Model::DeploymentConfig::GetRobotDeploymentTimeoutInSeconds
long long GetRobotDeploymentTimeoutInSeconds() const
Definition: DeploymentConfig.h:90
Aws::RoboMaker::Model::DeploymentConfig::SetFailureThresholdPercentage
void SetFailureThresholdPercentage(int value)
Definition: DeploymentConfig.h:77
Aws::RoboMaker::Model::S3Object
Definition: S3Object.h:32
Aws::RoboMaker::Model::DeploymentConfig::SetConcurrentDeploymentPercentage
void SetConcurrentDeploymentPercentage(int value)
Definition: DeploymentConfig.h:53
Aws::RoboMaker::Model::DeploymentConfig::ConcurrentDeploymentPercentageHasBeenSet
bool ConcurrentDeploymentPercentageHasBeenSet() const
Definition: DeploymentConfig.h:48
Aws::RoboMaker::Model::DeploymentConfig::GetDownloadConditionFile
const S3Object & GetDownloadConditionFile() const
Definition: DeploymentConfig.h:114
Aws::RoboMaker::Model::DeploymentConfig::DeploymentConfig
DeploymentConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::DeploymentConfig::SetRobotDeploymentTimeoutInSeconds
void SetRobotDeploymentTimeoutInSeconds(long long value)
Definition: DeploymentConfig.h:102
Aws::RoboMaker::Model::DeploymentConfig::DownloadConditionFileHasBeenSet
bool DownloadConditionFileHasBeenSet() const
Definition: DeploymentConfig.h:119
Aws::RoboMaker::Model::DeploymentConfig::WithRobotDeploymentTimeoutInSeconds
DeploymentConfig & WithRobotDeploymentTimeoutInSeconds(long long value)
Definition: DeploymentConfig.h:108
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::DeploymentConfig::DeploymentConfig
DeploymentConfig()
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DeploymentConfig::SetDownloadConditionFile
void SetDownloadConditionFile(S3Object &&value)
Definition: DeploymentConfig.h:129
Aws::RoboMaker::Model::DeploymentConfig::SetDownloadConditionFile
void SetDownloadConditionFile(const S3Object &value)
Definition: DeploymentConfig.h:124
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::RoboMaker::Model::DeploymentConfig
Definition: DeploymentConfig.h:32
Aws::RoboMaker::Model::DeploymentConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::DeploymentConfig::GetFailureThresholdPercentage
int GetFailureThresholdPercentage() const
Definition: DeploymentConfig.h:65
Aws::RoboMaker::Model::DeploymentConfig::GetConcurrentDeploymentPercentage
int GetConcurrentDeploymentPercentage() const
Definition: DeploymentConfig.h:43
Aws::RoboMaker::Model::DeploymentConfig::operator=
DeploymentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::DeploymentConfig::WithDownloadConditionFile
DeploymentConfig & WithDownloadConditionFile(const S3Object &value)
Definition: DeploymentConfig.h:134
Aws::RoboMaker::Model::DeploymentConfig::WithDownloadConditionFile
DeploymentConfig & WithDownloadConditionFile(S3Object &&value)
Definition: DeploymentConfig.h:139
S3Object.h
Aws::RoboMaker::Model::DeploymentConfig::WithConcurrentDeploymentPercentage
DeploymentConfig & WithConcurrentDeploymentPercentage(int value)
Definition: DeploymentConfig.h:58
Aws::RoboMaker::Model::DeploymentConfig::FailureThresholdPercentageHasBeenSet
bool FailureThresholdPercentageHasBeenSet() const
Definition: DeploymentConfig.h:71
Aws::RoboMaker::Model::DeploymentConfig::RobotDeploymentTimeoutInSecondsHasBeenSet
bool RobotDeploymentTimeoutInSecondsHasBeenSet() const
Definition: DeploymentConfig.h:96