7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
42 template <
typename ThresholdT = Aws::String>
44 m_thresholdHasBeenSet =
true;
45 m_threshold = std::forward<ThresholdT>(value);
47 template <
typename ThresholdT = Aws::String>
61 template <
typename DurationT = Aws::String>
63 m_durationHasBeenSet =
true;
64 m_duration = std::forward<DurationT>(value);
66 template <
typename DurationT = Aws::String>
76 bool m_thresholdHasBeenSet =
false;
77 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(DurationT &&value)
const Aws::String & GetThreshold() const
StopInstanceOnIdleRequest & WithThreshold(ThresholdT &&value)
const Aws::String & GetDuration() const
StopInstanceOnIdleRequest & WithDuration(DurationT &&value)
AWS_LIGHTSAIL_API StopInstanceOnIdleRequest(Aws::Utils::Json::JsonView jsonValue)
bool ThresholdHasBeenSet() const
void SetThreshold(ThresholdT &&value)
AWS_LIGHTSAIL_API StopInstanceOnIdleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue