7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10#include <aws/datasync/model/ScheduleStatus.h>
33 AWS_DATASYNC_API
TaskSchedule(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_DATASYNC_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
52 template <
typename ScheduleExpressionT = Aws::String>
54 m_scheduleExpressionHasBeenSet =
true;
55 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
57 template <
typename ScheduleExpressionT = Aws::String>
77 m_statusHasBeenSet =
true;
89 bool m_scheduleExpressionHasBeenSet =
false;
90 bool m_statusHasBeenSet =
false;
AWS_DATASYNC_API TaskSchedule()=default
AWS_DATASYNC_API TaskSchedule(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ScheduleExpressionHasBeenSet() const
TaskSchedule & WithScheduleExpression(ScheduleExpressionT &&value)
void SetScheduleExpression(ScheduleExpressionT &&value)
ScheduleStatus GetStatus() const
AWS_DATASYNC_API TaskSchedule & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetScheduleExpression() const
void SetStatus(ScheduleStatus value)
TaskSchedule & WithStatus(ScheduleStatus value)
bool StatusHasBeenSet() const
AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String