AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Phase.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
29 class Phase
30 {
31 public:
32 AWS_SAGEMAKER_API Phase();
33 AWS_SAGEMAKER_API Phase(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Phase& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetInitialNumberOfUsers() const{ return m_initialNumberOfUsers; }
44 inline bool InitialNumberOfUsersHasBeenSet() const { return m_initialNumberOfUsersHasBeenSet; }
45 inline void SetInitialNumberOfUsers(int value) { m_initialNumberOfUsersHasBeenSet = true; m_initialNumberOfUsers = value; }
46 inline Phase& WithInitialNumberOfUsers(int value) { SetInitialNumberOfUsers(value); return *this;}
48
50
53 inline int GetSpawnRate() const{ return m_spawnRate; }
54 inline bool SpawnRateHasBeenSet() const { return m_spawnRateHasBeenSet; }
55 inline void SetSpawnRate(int value) { m_spawnRateHasBeenSet = true; m_spawnRate = value; }
56 inline Phase& WithSpawnRate(int value) { SetSpawnRate(value); return *this;}
58
60
65 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
66 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
67 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
68 inline Phase& WithDurationInSeconds(int value) { SetDurationInSeconds(value); return *this;}
70 private:
71
72 int m_initialNumberOfUsers;
73 bool m_initialNumberOfUsersHasBeenSet = false;
74
75 int m_spawnRate;
76 bool m_spawnRateHasBeenSet = false;
77
78 int m_durationInSeconds;
79 bool m_durationInSecondsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
void SetDurationInSeconds(int value)
Definition Phase.h:67
AWS_SAGEMAKER_API Phase()
bool DurationInSecondsHasBeenSet() const
Definition Phase.h:66
AWS_SAGEMAKER_API Phase & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Phase(Aws::Utils::Json::JsonView jsonValue)
Phase & WithDurationInSeconds(int value)
Definition Phase.h:68
int GetSpawnRate() const
Definition Phase.h:53
void SetInitialNumberOfUsers(int value)
Definition Phase.h:45
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpawnRate(int value)
Definition Phase.h:55
bool SpawnRateHasBeenSet() const
Definition Phase.h:54
int GetInitialNumberOfUsers() const
Definition Phase.h:43
Phase & WithSpawnRate(int value)
Definition Phase.h:56
Phase & WithInitialNumberOfUsers(int value)
Definition Phase.h:46
int GetDurationInSeconds() const
Definition Phase.h:65
bool InitialNumberOfUsersHasBeenSet() const
Definition Phase.h:44
Aws::Utils::Json::JsonValue JsonValue