7#include <aws/sagemaker/SageMaker_EXPORTS.h>
45 inline void SetInitialNumberOfUsers(
int value) { m_initialNumberOfUsersHasBeenSet =
true; m_initialNumberOfUsers = value; }
55 inline void SetSpawnRate(
int value) { m_spawnRateHasBeenSet =
true; m_spawnRate = value; }
67 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
72 int m_initialNumberOfUsers;
73 bool m_initialNumberOfUsersHasBeenSet =
false;
76 bool m_spawnRateHasBeenSet =
false;
78 int m_durationInSeconds;
79 bool m_durationInSecondsHasBeenSet =
false;
void SetDurationInSeconds(int value)
AWS_SAGEMAKER_API Phase()
bool DurationInSecondsHasBeenSet() const
AWS_SAGEMAKER_API Phase & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Phase(Aws::Utils::Json::JsonView jsonValue)
Phase & WithDurationInSeconds(int value)
void SetInitialNumberOfUsers(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSpawnRate(int value)
bool SpawnRateHasBeenSet() const
int GetInitialNumberOfUsers() const
Phase & WithSpawnRate(int value)
Phase & WithInitialNumberOfUsers(int value)
int GetDurationInSeconds() const
bool InitialNumberOfUsersHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue