AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/Timezone.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 DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API ScheduleConfiguration() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSchedule() const { return m_schedule; }
47 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
48 template<typename ScheduleT = Aws::String>
49 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
50 template<typename ScheduleT = Aws::String>
51 ScheduleConfiguration& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
53
55
58 inline Timezone GetTimezone() const { return m_timezone; }
59 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
60 inline void SetTimezone(Timezone value) { m_timezoneHasBeenSet = true; m_timezone = value; }
61 inline ScheduleConfiguration& WithTimezone(Timezone value) { SetTimezone(value); return *this;}
63 private:
64
65 Aws::String m_schedule;
66 bool m_scheduleHasBeenSet = false;
67
68 Timezone m_timezone{Timezone::NOT_SET};
69 bool m_timezoneHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace DataZone
74} // namespace Aws
AWS_DATAZONE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTimezone(Timezone value)
AWS_DATAZONE_API ScheduleConfiguration()=default
ScheduleConfiguration & WithSchedule(ScheduleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue