AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProgressDetail.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/model/RobotDeploymentStep.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RoboMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ROBOMAKER_API ProgressDetail();
37 AWS_ROBOMAKER_API ProgressDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const RobotDeploymentStep& GetCurrentProgress() const{ return m_currentProgress; }
53 inline bool CurrentProgressHasBeenSet() const { return m_currentProgressHasBeenSet; }
54 inline void SetCurrentProgress(const RobotDeploymentStep& value) { m_currentProgressHasBeenSet = true; m_currentProgress = value; }
55 inline void SetCurrentProgress(RobotDeploymentStep&& value) { m_currentProgressHasBeenSet = true; m_currentProgress = std::move(value); }
56 inline ProgressDetail& WithCurrentProgress(const RobotDeploymentStep& value) { SetCurrentProgress(value); return *this;}
57 inline ProgressDetail& WithCurrentProgress(RobotDeploymentStep&& value) { SetCurrentProgress(std::move(value)); return *this;}
59
61
66 inline double GetPercentDone() const{ return m_percentDone; }
67 inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; }
68 inline void SetPercentDone(double value) { m_percentDoneHasBeenSet = true; m_percentDone = value; }
69 inline ProgressDetail& WithPercentDone(double value) { SetPercentDone(value); return *this;}
71
73
78 inline int GetEstimatedTimeRemainingSeconds() const{ return m_estimatedTimeRemainingSeconds; }
79 inline bool EstimatedTimeRemainingSecondsHasBeenSet() const { return m_estimatedTimeRemainingSecondsHasBeenSet; }
80 inline void SetEstimatedTimeRemainingSeconds(int value) { m_estimatedTimeRemainingSecondsHasBeenSet = true; m_estimatedTimeRemainingSeconds = value; }
83
85
88 inline const Aws::String& GetTargetResource() const{ return m_targetResource; }
89 inline bool TargetResourceHasBeenSet() const { return m_targetResourceHasBeenSet; }
90 inline void SetTargetResource(const Aws::String& value) { m_targetResourceHasBeenSet = true; m_targetResource = value; }
91 inline void SetTargetResource(Aws::String&& value) { m_targetResourceHasBeenSet = true; m_targetResource = std::move(value); }
92 inline void SetTargetResource(const char* value) { m_targetResourceHasBeenSet = true; m_targetResource.assign(value); }
93 inline ProgressDetail& WithTargetResource(const Aws::String& value) { SetTargetResource(value); return *this;}
94 inline ProgressDetail& WithTargetResource(Aws::String&& value) { SetTargetResource(std::move(value)); return *this;}
95 inline ProgressDetail& WithTargetResource(const char* value) { SetTargetResource(value); return *this;}
97 private:
98
99 RobotDeploymentStep m_currentProgress;
100 bool m_currentProgressHasBeenSet = false;
101
102 double m_percentDone;
103 bool m_percentDoneHasBeenSet = false;
104
105 int m_estimatedTimeRemainingSeconds;
106 bool m_estimatedTimeRemainingSecondsHasBeenSet = false;
107
108 Aws::String m_targetResource;
109 bool m_targetResourceHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace RoboMaker
114} // namespace Aws
void SetTargetResource(const char *value)
ProgressDetail & WithEstimatedTimeRemainingSeconds(int value)
ProgressDetail & WithPercentDone(double value)
void SetTargetResource(Aws::String &&value)
void SetCurrentProgress(const RobotDeploymentStep &value)
ProgressDetail & WithTargetResource(Aws::String &&value)
const RobotDeploymentStep & GetCurrentProgress() const
AWS_ROBOMAKER_API ProgressDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentProgress(RobotDeploymentStep &&value)
ProgressDetail & WithCurrentProgress(RobotDeploymentStep &&value)
const Aws::String & GetTargetResource() const
AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROBOMAKER_API ProgressDetail(Aws::Utils::Json::JsonView jsonValue)
ProgressDetail & WithCurrentProgress(const RobotDeploymentStep &value)
ProgressDetail & WithTargetResource(const Aws::String &value)
ProgressDetail & WithTargetResource(const char *value)
void SetTargetResource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue