7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
50 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
59 template <
typename CommandT = Aws::Vector<Aws::String>>
61 m_commandHasBeenSet =
true;
62 m_command = std::forward<CommandT>(value);
64 template <
typename CommandT = Aws::Vector<Aws::String>>
69 template <
typename CommandT = Aws::String>
71 m_commandHasBeenSet =
true;
72 m_command.emplace_back(std::forward<CommandT>(value));
84 m_intervalHasBeenSet =
true;
101 m_retriesHasBeenSet =
true;
118 m_startPeriodHasBeenSet =
true;
119 m_startPeriod = value;
135 m_timeoutHasBeenSet =
true;
146 int64_t m_interval{0};
148 int64_t m_retries{0};
150 int64_t m_startPeriod{0};
152 int64_t m_timeout{0};
153 bool m_commandHasBeenSet =
false;
154 bool m_intervalHasBeenSet =
false;
155 bool m_retriesHasBeenSet =
false;
156 bool m_startPeriodHasBeenSet =
false;
157 bool m_timeoutHasBeenSet =
false;
bool CommandHasBeenSet() const
void SetInterval(int64_t value)
void SetCommand(CommandT &&value)
void SetStartPeriod(int64_t value)
AWS_GAMELIFT_API ContainerHealthCheck & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ContainerHealthCheck & WithInterval(int64_t value)
AWS_GAMELIFT_API ContainerHealthCheck(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ContainerHealthCheck & WithCommand(CommandT &&value)
int64_t GetStartPeriod() const
bool RetriesHasBeenSet() const
void SetTimeout(int64_t value)
ContainerHealthCheck & AddCommand(CommandT &&value)
ContainerHealthCheck & WithTimeout(int64_t value)
void SetRetries(int64_t value)
int64_t GetTimeout() const
bool StartPeriodHasBeenSet() const
bool IntervalHasBeenSet() const
AWS_GAMELIFT_API ContainerHealthCheck()=default
ContainerHealthCheck & WithStartPeriod(int64_t value)
bool TimeoutHasBeenSet() const
int64_t GetInterval() const
const Aws::Vector< Aws::String > & GetCommand() const
ContainerHealthCheck & WithRetries(int64_t value)
int64_t GetRetries() const
std::vector< T, Aws::Allocator< T > > Vector