7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace ComputeOptimizerAutomation {
30 AWS_COMPUTEOPTIMIZERAUTOMATION_API
Schedule() =
default;
31 AWS_COMPUTEOPTIMIZERAUTOMATION_API
Schedule(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API
Schedule&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_COMPUTEOPTIMIZERAUTOMATION_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename ScheduleExpressionT = Aws::String>
50 m_scheduleExpressionHasBeenSet =
true;
51 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
53 template <
typename ScheduleExpressionT = Aws::String>
66 template <
typename ScheduleExpressionTimezoneT = Aws::String>
68 m_scheduleExpressionTimezoneHasBeenSet =
true;
69 m_scheduleExpressionTimezone = std::forward<ScheduleExpressionTimezoneT>(value);
71 template <
typename ScheduleExpressionTimezoneT = Aws::String>
86 m_executionWindowInMinutesHasBeenSet =
true;
87 m_executionWindowInMinutes = value;
99 int64_t m_executionWindowInMinutes{0};
100 bool m_scheduleExpressionHasBeenSet =
false;
101 bool m_scheduleExpressionTimezoneHasBeenSet =
false;
102 bool m_executionWindowInMinutesHasBeenSet =
false;
AWS_COMPUTEOPTIMIZERAUTOMATION_API Schedule()=default
bool ScheduleExpressionTimezoneHasBeenSet() const
void SetScheduleExpression(ScheduleExpressionT &&value)
Schedule & WithScheduleExpression(ScheduleExpressionT &&value)
bool ScheduleExpressionHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API Schedule & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZERAUTOMATION_API Schedule(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetScheduleExpressionTimezone() const
Schedule & WithExecutionWindowInMinutes(int64_t value)
int64_t GetExecutionWindowInMinutes() const
Schedule & WithScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetScheduleExpression() const
bool ExecutionWindowInMinutesHasBeenSet() const
void SetExecutionWindowInMinutes(int64_t value)
void SetScheduleExpressionTimezone(ScheduleExpressionTimezoneT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String