7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetThreshold(
const char* value) { m_thresholdHasBeenSet =
true; m_threshold.assign(value); }
65 inline void SetDuration(
const char* value) { m_durationHasBeenSet =
true; m_duration.assign(value); }
73 bool m_thresholdHasBeenSet =
false;
76 bool m_durationHasBeenSet =
false;
bool DurationHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API StopInstanceOnIdleRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDuration(const char *value)
void SetThreshold(const Aws::String &value)
StopInstanceOnIdleRequest & WithDuration(const Aws::String &value)
const Aws::String & GetThreshold() const
StopInstanceOnIdleRequest & WithThreshold(const char *value)
void SetDuration(Aws::String &&value)
StopInstanceOnIdleRequest & WithDuration(const char *value)
StopInstanceOnIdleRequest & WithThreshold(const Aws::String &value)
StopInstanceOnIdleRequest & WithDuration(Aws::String &&value)
StopInstanceOnIdleRequest & WithThreshold(Aws::String &&value)
void SetDuration(const Aws::String &value)
const Aws::String & GetDuration() const
AWS_LIGHTSAIL_API StopInstanceOnIdleRequest(Aws::Utils::Json::JsonView jsonValue)
void SetThreshold(Aws::String &&value)
bool ThresholdHasBeenSet() const
void SetThreshold(const char *value)
AWS_LIGHTSAIL_API StopInstanceOnIdleRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue