AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAt(const Aws::Utils::DateTime& value) { m_atHasBeenSet = true; m_at = value; }
52 inline void SetAt(Aws::Utils::DateTime&& value) { m_atHasBeenSet = true; m_at = std::move(value); }
53 inline Schedule& WithAt(const Aws::Utils::DateTime& value) { SetAt(value); return *this;}
54 inline Schedule& WithAt(Aws::Utils::DateTime&& value) { SetAt(std::move(value)); return *this;}
56
58
67 inline const Aws::String& GetCron() const{ return m_cron; }
68 inline bool CronHasBeenSet() const { return m_cronHasBeenSet; }
69 inline void SetCron(const Aws::String& value) { m_cronHasBeenSet = true; m_cron = value; }
70 inline void SetCron(Aws::String&& value) { m_cronHasBeenSet = true; m_cron = std::move(value); }
71 inline void SetCron(const char* value) { m_cronHasBeenSet = true; m_cron.assign(value); }
72 inline Schedule& WithCron(const Aws::String& value) { SetCron(value); return *this;}
73 inline Schedule& WithCron(Aws::String&& value) { SetCron(std::move(value)); return *this;}
74 inline Schedule& WithCron(const char* value) { SetCron(value); return *this;}
76 private:
77
79 bool m_atHasBeenSet = false;
80
81 Aws::String m_cron;
82 bool m_cronHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace RedshiftServerless
87} // namespace Aws
AWS_REDSHIFTSERVERLESS_API Schedule()
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)
void SetCron(const char *value)
Definition Schedule.h:71
void SetAt(const Aws::Utils::DateTime &value)
Definition Schedule.h:51
Schedule & WithCron(const Aws::String &value)
Definition Schedule.h:72
const Aws::Utils::DateTime & GetAt() const
Definition Schedule.h:49
Schedule & WithCron(Aws::String &&value)
Definition Schedule.h:73
Schedule & WithAt(const Aws::Utils::DateTime &value)
Definition Schedule.h:53
void SetCron(Aws::String &&value)
Definition Schedule.h:70
void SetAt(Aws::Utils::DateTime &&value)
Definition Schedule.h:52
Schedule & WithAt(Aws::Utils::DateTime &&value)
Definition Schedule.h:54
Schedule & WithCron(const char *value)
Definition Schedule.h:74
void SetCron(const Aws::String &value)
Definition Schedule.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue