AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RefreshFrequency.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RefreshInterval.h>
9#include <aws/quicksight/model/ScheduleRefreshOnEntity.h>
10#include <aws/core/utils/memory/stl/AWSString.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 RefreshFrequency() = default;
38 AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline RefreshInterval GetInterval() const { return m_interval; }
59 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
60 inline void SetInterval(RefreshInterval value) { m_intervalHasBeenSet = true; m_interval = value; }
61 inline RefreshFrequency& WithInterval(RefreshInterval value) { SetInterval(value); return *this;}
63
65
69 inline const ScheduleRefreshOnEntity& GetRefreshOnDay() const { return m_refreshOnDay; }
70 inline bool RefreshOnDayHasBeenSet() const { return m_refreshOnDayHasBeenSet; }
71 template<typename RefreshOnDayT = ScheduleRefreshOnEntity>
72 void SetRefreshOnDay(RefreshOnDayT&& value) { m_refreshOnDayHasBeenSet = true; m_refreshOnDay = std::forward<RefreshOnDayT>(value); }
73 template<typename RefreshOnDayT = ScheduleRefreshOnEntity>
74 RefreshFrequency& WithRefreshOnDay(RefreshOnDayT&& value) { SetRefreshOnDay(std::forward<RefreshOnDayT>(value)); return *this;}
76
78
83 inline const Aws::String& GetTimezone() const { return m_timezone; }
84 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
85 template<typename TimezoneT = Aws::String>
86 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
87 template<typename TimezoneT = Aws::String>
88 RefreshFrequency& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
90
92
97 inline const Aws::String& GetTimeOfTheDay() const { return m_timeOfTheDay; }
98 inline bool TimeOfTheDayHasBeenSet() const { return m_timeOfTheDayHasBeenSet; }
99 template<typename TimeOfTheDayT = Aws::String>
100 void SetTimeOfTheDay(TimeOfTheDayT&& value) { m_timeOfTheDayHasBeenSet = true; m_timeOfTheDay = std::forward<TimeOfTheDayT>(value); }
101 template<typename TimeOfTheDayT = Aws::String>
102 RefreshFrequency& WithTimeOfTheDay(TimeOfTheDayT&& value) { SetTimeOfTheDay(std::forward<TimeOfTheDayT>(value)); return *this;}
104 private:
105
107 bool m_intervalHasBeenSet = false;
108
109 ScheduleRefreshOnEntity m_refreshOnDay;
110 bool m_refreshOnDayHasBeenSet = false;
111
112 Aws::String m_timezone;
113 bool m_timezoneHasBeenSet = false;
114
115 Aws::String m_timeOfTheDay;
116 bool m_timeOfTheDayHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace QuickSight
121} // namespace Aws
void SetTimeOfTheDay(TimeOfTheDayT &&value)
void SetInterval(RefreshInterval value)
const ScheduleRefreshOnEntity & GetRefreshOnDay() const
RefreshFrequency & WithInterval(RefreshInterval value)
AWS_QUICKSIGHT_API RefreshFrequency()=default
RefreshFrequency & WithRefreshOnDay(RefreshOnDayT &&value)
RefreshFrequency & WithTimeOfTheDay(TimeOfTheDayT &&value)
AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RefreshFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimeOfTheDay() const
const Aws::String & GetTimezone() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RefreshFrequency & WithTimezone(TimezoneT &&value)
void SetRefreshOnDay(RefreshOnDayT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue