7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/ScheduleSpec.h>
20namespace DevOpsAgent {
47 template <
typename ExpressionT = Aws::String>
49 m_expressionHasBeenSet =
true;
50 m_expression = std::forward<ExpressionT>(value);
52 template <
typename ExpressionT = Aws::String>
67 template <
typename SpecT = ScheduleSpec>
69 m_specHasBeenSet =
true;
70 m_spec = std::forward<SpecT>(value);
72 template <
typename SpecT = ScheduleSpec>
74 SetSpec(std::forward<SpecT>(value));
82 bool m_expressionHasBeenSet =
false;
83 bool m_specHasBeenSet =
false;
void SetSpec(SpecT &&value)
AWS_DEVOPSAGENT_API ScheduleCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExpression() const
AWS_DEVOPSAGENT_API ScheduleCondition(Aws::Utils::Json::JsonView jsonValue)
ScheduleCondition & WithExpression(ExpressionT &&value)
bool ExpressionHasBeenSet() const
void SetExpression(ExpressionT &&value)
const ScheduleSpec & GetSpec() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API ScheduleCondition()=default
ScheduleCondition & WithSpec(SpecT &&value)
bool SpecHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue