7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
140 inline HealthCheck&
AddCommand(
const char* value) { m_commandHasBeenSet =
true; m_command.push_back(value);
return *
this; }
150 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
162 inline void SetTimeout(
int value) { m_timeoutHasBeenSet =
true; m_timeout = value; }
174 inline void SetRetries(
int value) { m_retriesHasBeenSet =
true; m_retries = value; }
189 inline void SetStartPeriod(
int value) { m_startPeriodHasBeenSet =
true; m_startPeriod = value; }
195 bool m_commandHasBeenSet =
false;
198 bool m_intervalHasBeenSet =
false;
201 bool m_timeoutHasBeenSet =
false;
204 bool m_retriesHasBeenSet =
false;
207 bool m_startPeriodHasBeenSet =
false;
HealthCheck & WithRetries(int value)
void SetCommand(const Aws::Vector< Aws::String > &value)
AWS_ECS_API HealthCheck & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API HealthCheck()
HealthCheck & WithCommand(Aws::Vector< Aws::String > &&value)
void SetCommand(Aws::Vector< Aws::String > &&value)
HealthCheck & WithCommand(const Aws::Vector< Aws::String > &value)
bool IntervalHasBeenSet() const
bool StartPeriodHasBeenSet() const
int GetStartPeriod() const
HealthCheck & WithStartPeriod(int value)
HealthCheck & WithTimeout(int value)
void SetRetries(int value)
bool CommandHasBeenSet() const
const Aws::Vector< Aws::String > & GetCommand() const
HealthCheck & AddCommand(const Aws::String &value)
void SetTimeout(int value)
HealthCheck & AddCommand(Aws::String &&value)
bool TimeoutHasBeenSet() const
void SetInterval(int value)
bool RetriesHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStartPeriod(int value)
HealthCheck & AddCommand(const char *value)
HealthCheck & WithInterval(int value)
AWS_ECS_API HealthCheck(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue