AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TopicRefreshSchedule.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/TopicScheduleType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API TopicRefreshSchedule() = default;
38 AWS_QUICKSIGHT_API TopicRefreshSchedule(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline bool GetIsEnabled() const { return m_isEnabled; }
48 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
49 inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
50 inline TopicRefreshSchedule& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
52
54
58 inline bool GetBasedOnSpiceSchedule() const { return m_basedOnSpiceSchedule; }
59 inline bool BasedOnSpiceScheduleHasBeenSet() const { return m_basedOnSpiceScheduleHasBeenSet; }
60 inline void SetBasedOnSpiceSchedule(bool value) { m_basedOnSpiceScheduleHasBeenSet = true; m_basedOnSpiceSchedule = value; }
61 inline TopicRefreshSchedule& WithBasedOnSpiceSchedule(bool value) { SetBasedOnSpiceSchedule(value); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetStartingAt() const { return m_startingAt; }
69 inline bool StartingAtHasBeenSet() const { return m_startingAtHasBeenSet; }
70 template<typename StartingAtT = Aws::Utils::DateTime>
71 void SetStartingAt(StartingAtT&& value) { m_startingAtHasBeenSet = true; m_startingAt = std::forward<StartingAtT>(value); }
72 template<typename StartingAtT = Aws::Utils::DateTime>
73 TopicRefreshSchedule& WithStartingAt(StartingAtT&& value) { SetStartingAt(std::forward<StartingAtT>(value)); return *this;}
75
77
80 inline const Aws::String& GetTimezone() const { return m_timezone; }
81 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
82 template<typename TimezoneT = Aws::String>
83 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
84 template<typename TimezoneT = Aws::String>
85 TopicRefreshSchedule& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
87
89
92 inline const Aws::String& GetRepeatAt() const { return m_repeatAt; }
93 inline bool RepeatAtHasBeenSet() const { return m_repeatAtHasBeenSet; }
94 template<typename RepeatAtT = Aws::String>
95 void SetRepeatAt(RepeatAtT&& value) { m_repeatAtHasBeenSet = true; m_repeatAt = std::forward<RepeatAtT>(value); }
96 template<typename RepeatAtT = Aws::String>
97 TopicRefreshSchedule& WithRepeatAt(RepeatAtT&& value) { SetRepeatAt(std::forward<RepeatAtT>(value)); return *this;}
99
101
106 inline TopicScheduleType GetTopicScheduleType() const { return m_topicScheduleType; }
107 inline bool TopicScheduleTypeHasBeenSet() const { return m_topicScheduleTypeHasBeenSet; }
108 inline void SetTopicScheduleType(TopicScheduleType value) { m_topicScheduleTypeHasBeenSet = true; m_topicScheduleType = value; }
111 private:
112
113 bool m_isEnabled{false};
114 bool m_isEnabledHasBeenSet = false;
115
116 bool m_basedOnSpiceSchedule{false};
117 bool m_basedOnSpiceScheduleHasBeenSet = false;
118
119 Aws::Utils::DateTime m_startingAt{};
120 bool m_startingAtHasBeenSet = false;
121
122 Aws::String m_timezone;
123 bool m_timezoneHasBeenSet = false;
124
125 Aws::String m_repeatAt;
126 bool m_repeatAtHasBeenSet = false;
127
129 bool m_topicScheduleTypeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace QuickSight
134} // namespace Aws
const Aws::Utils::DateTime & GetStartingAt() const
AWS_QUICKSIGHT_API TopicRefreshSchedule()=default
AWS_QUICKSIGHT_API TopicRefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
TopicRefreshSchedule & WithTopicScheduleType(TopicScheduleType value)
TopicRefreshSchedule & WithTimezone(TimezoneT &&value)
TopicRefreshSchedule & WithBasedOnSpiceSchedule(bool value)
TopicRefreshSchedule & WithStartingAt(StartingAtT &&value)
TopicRefreshSchedule & WithIsEnabled(bool value)
TopicRefreshSchedule & WithRepeatAt(RepeatAtT &&value)
AWS_QUICKSIGHT_API TopicRefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue