7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
20namespace RedshiftServerless {
31 AWS_REDSHIFTSERVERLESS_API
Schedule() =
default;
45 template <
typename AtT = Aws::Utils::DateTime>
47 m_atHasBeenSet =
true;
48 m_at = std::forward<AtT>(value);
50 template <
typename AtT = Aws::Utils::DateTime>
52 SetAt(std::forward<AtT>(value));
69 template <
typename CronT = Aws::String>
71 m_cronHasBeenSet =
true;
72 m_cron = std::forward<CronT>(value);
74 template <
typename CronT = Aws::String>
76 SetCron(std::forward<CronT>(value));
84 bool m_atHasBeenSet =
false;
85 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