AWS SDK for C++  1.9.19
AWS SDK for C++
ProgressDetail.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace RoboMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
51  inline const RobotDeploymentStep& GetCurrentProgress() const{ return m_currentProgress; }
52 
62  inline bool CurrentProgressHasBeenSet() const { return m_currentProgressHasBeenSet; }
63 
73  inline void SetCurrentProgress(const RobotDeploymentStep& value) { m_currentProgressHasBeenSet = true; m_currentProgress = value; }
74 
84  inline void SetCurrentProgress(RobotDeploymentStep&& value) { m_currentProgressHasBeenSet = true; m_currentProgress = std::move(value); }
85 
95  inline ProgressDetail& WithCurrentProgress(const RobotDeploymentStep& value) { SetCurrentProgress(value); return *this;}
96 
106  inline ProgressDetail& WithCurrentProgress(RobotDeploymentStep&& value) { SetCurrentProgress(std::move(value)); return *this;}
107 
108 
114  inline double GetPercentDone() const{ return m_percentDone; }
115 
121  inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; }
122 
128  inline void SetPercentDone(double value) { m_percentDoneHasBeenSet = true; m_percentDone = value; }
129 
135  inline ProgressDetail& WithPercentDone(double value) { SetPercentDone(value); return *this;}
136 
137 
143  inline int GetEstimatedTimeRemainingSeconds() const{ return m_estimatedTimeRemainingSeconds; }
144 
150  inline bool EstimatedTimeRemainingSecondsHasBeenSet() const { return m_estimatedTimeRemainingSecondsHasBeenSet; }
151 
157  inline void SetEstimatedTimeRemainingSeconds(int value) { m_estimatedTimeRemainingSecondsHasBeenSet = true; m_estimatedTimeRemainingSeconds = value; }
158 
164  inline ProgressDetail& WithEstimatedTimeRemainingSeconds(int value) { SetEstimatedTimeRemainingSeconds(value); return *this;}
165 
166 
170  inline const Aws::String& GetTargetResource() const{ return m_targetResource; }
171 
175  inline bool TargetResourceHasBeenSet() const { return m_targetResourceHasBeenSet; }
176 
180  inline void SetTargetResource(const Aws::String& value) { m_targetResourceHasBeenSet = true; m_targetResource = value; }
181 
185  inline void SetTargetResource(Aws::String&& value) { m_targetResourceHasBeenSet = true; m_targetResource = std::move(value); }
186 
190  inline void SetTargetResource(const char* value) { m_targetResourceHasBeenSet = true; m_targetResource.assign(value); }
191 
195  inline ProgressDetail& WithTargetResource(const Aws::String& value) { SetTargetResource(value); return *this;}
196 
200  inline ProgressDetail& WithTargetResource(Aws::String&& value) { SetTargetResource(std::move(value)); return *this;}
201 
205  inline ProgressDetail& WithTargetResource(const char* value) { SetTargetResource(value); return *this;}
206 
207  private:
208 
209  RobotDeploymentStep m_currentProgress;
210  bool m_currentProgressHasBeenSet;
211 
212  double m_percentDone;
213  bool m_percentDoneHasBeenSet;
214 
215  int m_estimatedTimeRemainingSeconds;
216  bool m_estimatedTimeRemainingSecondsHasBeenSet;
217 
218  Aws::String m_targetResource;
219  bool m_targetResourceHasBeenSet;
220  };
221 
222 } // namespace Model
223 } // namespace RoboMaker
224 } // namespace Aws
Aws::RoboMaker::Model::ProgressDetail::EstimatedTimeRemainingSecondsHasBeenSet
bool EstimatedTimeRemainingSecondsHasBeenSet() const
Definition: ProgressDetail.h:150
Aws::RoboMaker::Model::ProgressDetail::ProgressDetail
ProgressDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::ProgressDetail::SetTargetResource
void SetTargetResource(const char *value)
Definition: ProgressDetail.h:190
RobotDeploymentStep.h
Aws::RoboMaker::Model::ProgressDetail::operator=
ProgressDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RoboMaker::Model::ProgressDetail
Definition: ProgressDetail.h:34
Aws::RoboMaker::Model::ProgressDetail::PercentDoneHasBeenSet
bool PercentDoneHasBeenSet() const
Definition: ProgressDetail.h:121
Aws::RoboMaker::Model::ProgressDetail::ProgressDetail
ProgressDetail()
Aws::RoboMaker::Model::ProgressDetail::WithTargetResource
ProgressDetail & WithTargetResource(const char *value)
Definition: ProgressDetail.h:205
Aws::RoboMaker::Model::ProgressDetail::SetTargetResource
void SetTargetResource(Aws::String &&value)
Definition: ProgressDetail.h:185
Aws::RoboMaker::Model::RobotDeploymentStep
RobotDeploymentStep
Definition: RobotDeploymentStep.h:17
Aws::RoboMaker::Model::ProgressDetail::TargetResourceHasBeenSet
bool TargetResourceHasBeenSet() const
Definition: ProgressDetail.h:175
Aws::RoboMaker::Model::ProgressDetail::GetPercentDone
double GetPercentDone() const
Definition: ProgressDetail.h:114
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ProgressDetail::WithTargetResource
ProgressDetail & WithTargetResource(Aws::String &&value)
Definition: ProgressDetail.h:200
Aws::RoboMaker::Model::ProgressDetail::WithEstimatedTimeRemainingSeconds
ProgressDetail & WithEstimatedTimeRemainingSeconds(int value)
Definition: ProgressDetail.h:164
Aws::RoboMaker::Model::ProgressDetail::SetEstimatedTimeRemainingSeconds
void SetEstimatedTimeRemainingSeconds(int value)
Definition: ProgressDetail.h:157
Aws::RoboMaker::Model::ProgressDetail::SetPercentDone
void SetPercentDone(double value)
Definition: ProgressDetail.h:128
Aws::RoboMaker::Model::ProgressDetail::SetCurrentProgress
void SetCurrentProgress(RobotDeploymentStep &&value)
Definition: ProgressDetail.h:84
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ProgressDetail::WithCurrentProgress
ProgressDetail & WithCurrentProgress(RobotDeploymentStep &&value)
Definition: ProgressDetail.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::RoboMaker::Model::ProgressDetail::CurrentProgressHasBeenSet
bool CurrentProgressHasBeenSet() const
Definition: ProgressDetail.h:62
Aws::RoboMaker::Model::ProgressDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RoboMaker::Model::ProgressDetail::GetTargetResource
const Aws::String & GetTargetResource() const
Definition: ProgressDetail.h:170
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ProgressDetail::WithPercentDone
ProgressDetail & WithPercentDone(double value)
Definition: ProgressDetail.h:135
Aws::RoboMaker::Model::ProgressDetail::GetCurrentProgress
const RobotDeploymentStep & GetCurrentProgress() const
Definition: ProgressDetail.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ProgressDetail::WithCurrentProgress
ProgressDetail & WithCurrentProgress(const RobotDeploymentStep &value)
Definition: ProgressDetail.h:95
Aws::RoboMaker::Model::ProgressDetail::SetTargetResource
void SetTargetResource(const Aws::String &value)
Definition: ProgressDetail.h:180
Aws::RoboMaker::Model::ProgressDetail::GetEstimatedTimeRemainingSeconds
int GetEstimatedTimeRemainingSeconds() const
Definition: ProgressDetail.h:143
Aws::RoboMaker::Model::ProgressDetail::WithTargetResource
ProgressDetail & WithTargetResource(const Aws::String &value)
Definition: ProgressDetail.h:195
Aws::RoboMaker::Model::ProgressDetail::SetCurrentProgress
void SetCurrentProgress(const RobotDeploymentStep &value)
Definition: ProgressDetail.h:73