AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Stairs.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
32 class Stairs
33 {
34 public:
35 AWS_SAGEMAKER_API Stairs();
36 AWS_SAGEMAKER_API Stairs(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Stairs& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
46 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
47 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
48 inline Stairs& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;}
50
52
55 inline int GetNumberOfSteps() const{ return m_numberOfSteps; }
56 inline bool NumberOfStepsHasBeenSet() const { return m_numberOfStepsHasBeenSet; }
57 inline void SetNumberOfSteps(int value) { m_numberOfStepsHasBeenSet = true; m_numberOfSteps = value; }
58 inline Stairs& WithNumberOfSteps(int value) { SetNumberOfSteps(value); return *this;}
60
62
65 inline int GetUsersPerStep() const{ return m_usersPerStep; }
66 inline bool UsersPerStepHasBeenSet() const { return m_usersPerStepHasBeenSet; }
67 inline void SetUsersPerStep(int value) { m_usersPerStepHasBeenSet = true; m_usersPerStep = value; }
68 inline Stairs& WithUsersPerStep(int value) { SetUsersPerStep(value); return *this;}
70 private:
71
72 int m_durationInSeconds;
73 bool m_durationInSecondsHasBeenSet = false;
74
75 int m_numberOfSteps;
76 bool m_numberOfStepsHasBeenSet = false;
77
78 int m_usersPerStep;
79 bool m_usersPerStepHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
bool DurationInSecondsHasBeenSet() const
Definition Stairs.h:46
void SetUsersPerStep(int value)
Definition Stairs.h:67
bool NumberOfStepsHasBeenSet() const
Definition Stairs.h:56
AWS_SAGEMAKER_API Stairs()
int GetDurationInSeconds() const
Definition Stairs.h:45
Stairs & WithDurationInSeconds(int value)
Definition Stairs.h:48
Stairs & WithUsersPerStep(int value)
Definition Stairs.h:68
void SetDurationInSeconds(int value)
Definition Stairs.h:47
AWS_SAGEMAKER_API Stairs(Aws::Utils::Json::JsonView jsonValue)
Stairs & WithNumberOfSteps(int value)
Definition Stairs.h:58
void SetNumberOfSteps(int value)
Definition Stairs.h:57
int GetNumberOfSteps() const
Definition Stairs.h:55
int GetUsersPerStep() const
Definition Stairs.h:65
bool UsersPerStepHasBeenSet() const
Definition Stairs.h:66
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Stairs & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue