7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/synthetics/model/RetryConfigOutput.h>
61 template<
typename ExpressionT = Aws::String>
62 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
63 template<
typename ExpressionT = Aws::String>
75 inline void SetDurationInSeconds(
long long value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
85 template<
typename RetryConfigT = RetryConfigOutput>
86 void SetRetryConfig(RetryConfigT&& value) { m_retryConfigHasBeenSet =
true; m_retryConfig = std::forward<RetryConfigT>(value); }
87 template<
typename RetryConfigT = RetryConfigOutput>
93 bool m_expressionHasBeenSet =
false;
95 long long m_durationInSeconds{0};
96 bool m_durationInSecondsHasBeenSet =
false;
98 RetryConfigOutput m_retryConfig;
99 bool m_retryConfigHasBeenSet =
false;
void SetRetryConfig(RetryConfigT &&value)
AWS_SYNTHETICS_API CanaryScheduleOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDurationInSeconds(long long value)
long long GetDurationInSeconds() const
AWS_SYNTHETICS_API CanaryScheduleOutput()=default
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryScheduleOutput & WithExpression(ExpressionT &&value)
bool ExpressionHasBeenSet() const
bool DurationInSecondsHasBeenSet() const
void SetExpression(ExpressionT &&value)
const Aws::String & GetExpression() const
CanaryScheduleOutput & WithDurationInSeconds(long long value)
const RetryConfigOutput & GetRetryConfig() const
AWS_SYNTHETICS_API CanaryScheduleOutput(Aws::Utils::Json::JsonView jsonValue)
bool RetryConfigHasBeenSet() const
CanaryScheduleOutput & WithRetryConfig(RetryConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue