AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Schedule.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFTSERVERLESS_API Schedule() = default;
37 AWS_REDSHIFTSERVERLESS_API Schedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Schedule& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::Utils::DateTime& GetAt() const { return m_at; }
50 inline bool AtHasBeenSet() const { return m_atHasBeenSet; }
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>
54 Schedule& WithAt(AtT&& value) { SetAt(std::forward<AtT>(value)); return *this;}
56
58
67 inline const Aws::String& GetCron() const { return m_cron; }
68 inline bool CronHasBeenSet() const { return m_cronHasBeenSet; }
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>
72 Schedule& WithCron(CronT&& value) { SetCron(std::forward<CronT>(value)); return *this;}
74 private:
75
77 bool m_atHasBeenSet = false;
78
79 Aws::String m_cron;
80 bool m_cronHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace RedshiftServerless
85} // namespace Aws
Schedule & WithAt(AtT &&value)
Definition Schedule.h:54
AWS_REDSHIFTSERVERLESS_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCron() const
Definition Schedule.h:67
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API Schedule(Aws::Utils::Json::JsonView jsonValue)
AWS_REDSHIFTSERVERLESS_API Schedule()=default
const Aws::Utils::DateTime & GetAt() const
Definition Schedule.h:49
Schedule & WithCron(CronT &&value)
Definition Schedule.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue