AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/Timezone.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API ScheduleConfiguration() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSchedule() const { return m_schedule; }
41 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
42 template <typename ScheduleT = Aws::String>
43 void SetSchedule(ScheduleT&& value) {
44 m_scheduleHasBeenSet = true;
45 m_schedule = std::forward<ScheduleT>(value);
46 }
47 template <typename ScheduleT = Aws::String>
48 ScheduleConfiguration& WithSchedule(ScheduleT&& value) {
49 SetSchedule(std::forward<ScheduleT>(value));
50 return *this;
51 }
53
55
58 inline Timezone GetTimezone() const { return m_timezone; }
59 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
60 inline void SetTimezone(Timezone value) {
61 m_timezoneHasBeenSet = true;
62 m_timezone = value;
63 }
65 SetTimezone(value);
66 return *this;
67 }
69 private:
70 Aws::String m_schedule;
71 bool m_scheduleHasBeenSet = false;
72
73 Timezone m_timezone{Timezone::NOT_SET};
74 bool m_timezoneHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataZone
79} // 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