7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace RedshiftServerless
36 AWS_REDSHIFTSERVERLESS_API
Schedule() =
default;
51 template<
typename AtT = Aws::Utils::DateTime>
52 void SetAt(AtT&& value) { m_atHasBeenSet =
true; m_at = std::forward<AtT>(value); }
53 template<
typename AtT = Aws::Utils::DateTime>
69 template<
typename CronT = Aws::String>
70 void SetCron(CronT&& value) { m_cronHasBeenSet =
true; m_cron = std::forward<CronT>(value); }
71 template<
typename CronT = Aws::String>
77 bool m_atHasBeenSet =
false;
80 bool m_cronHasBeenSet =
false;
Schedule & WithAt(AtT &&value)
void SetCron(CronT &&value)
AWS_REDSHIFTSERVERLESS_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCron() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API Schedule(Aws::Utils::Json::JsonView jsonValue)
bool CronHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Schedule()=default
const Aws::Utils::DateTime & GetAt() const
bool AtHasBeenSet() const
Schedule & WithCron(CronT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue