AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentConfig.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/S3Object.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace RoboMaker
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ROBOMAKER_API DeploymentConfig();
35 AWS_ROBOMAKER_API DeploymentConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline int GetConcurrentDeploymentPercentage() const{ return m_concurrentDeploymentPercentage; }
45 inline bool ConcurrentDeploymentPercentageHasBeenSet() const { return m_concurrentDeploymentPercentageHasBeenSet; }
46 inline void SetConcurrentDeploymentPercentage(int value) { m_concurrentDeploymentPercentageHasBeenSet = true; m_concurrentDeploymentPercentage = value; }
49
51
55 inline int GetFailureThresholdPercentage() const{ return m_failureThresholdPercentage; }
56 inline bool FailureThresholdPercentageHasBeenSet() const { return m_failureThresholdPercentageHasBeenSet; }
57 inline void SetFailureThresholdPercentage(int value) { m_failureThresholdPercentageHasBeenSet = true; m_failureThresholdPercentage = value; }
60
62
66 inline long long GetRobotDeploymentTimeoutInSeconds() const{ return m_robotDeploymentTimeoutInSeconds; }
67 inline bool RobotDeploymentTimeoutInSecondsHasBeenSet() const { return m_robotDeploymentTimeoutInSecondsHasBeenSet; }
68 inline void SetRobotDeploymentTimeoutInSeconds(long long value) { m_robotDeploymentTimeoutInSecondsHasBeenSet = true; m_robotDeploymentTimeoutInSeconds = value; }
71
73
76 inline const S3Object& GetDownloadConditionFile() const{ return m_downloadConditionFile; }
77 inline bool DownloadConditionFileHasBeenSet() const { return m_downloadConditionFileHasBeenSet; }
78 inline void SetDownloadConditionFile(const S3Object& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = value; }
79 inline void SetDownloadConditionFile(S3Object&& value) { m_downloadConditionFileHasBeenSet = true; m_downloadConditionFile = std::move(value); }
80 inline DeploymentConfig& WithDownloadConditionFile(const S3Object& value) { SetDownloadConditionFile(value); return *this;}
81 inline DeploymentConfig& WithDownloadConditionFile(S3Object&& value) { SetDownloadConditionFile(std::move(value)); return *this;}
83 private:
84
85 int m_concurrentDeploymentPercentage;
86 bool m_concurrentDeploymentPercentageHasBeenSet = false;
87
88 int m_failureThresholdPercentage;
89 bool m_failureThresholdPercentageHasBeenSet = false;
90
91 long long m_robotDeploymentTimeoutInSeconds;
92 bool m_robotDeploymentTimeoutInSecondsHasBeenSet = false;
93
94 S3Object m_downloadConditionFile;
95 bool m_downloadConditionFileHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace RoboMaker
100} // namespace Aws
DeploymentConfig & WithConcurrentDeploymentPercentage(int value)
void SetDownloadConditionFile(S3Object &&value)
AWS_ROBOMAKER_API DeploymentConfig(Aws::Utils::Json::JsonView jsonValue)
const S3Object & GetDownloadConditionFile() const
DeploymentConfig & WithDownloadConditionFile(const S3Object &value)
void SetDownloadConditionFile(const S3Object &value)
AWS_ROBOMAKER_API DeploymentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentConfig & WithRobotDeploymentTimeoutInSeconds(long long value)
DeploymentConfig & WithFailureThresholdPercentage(int value)
DeploymentConfig & WithDownloadConditionFile(S3Object &&value)
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRobotDeploymentTimeoutInSeconds(long long value)
Aws::Utils::Json::JsonValue JsonValue