AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStartingAt(const Aws::Utils::DateTime& value) { m_startingAtHasBeenSet = true; m_startingAt = value; }
71 inline void SetStartingAt(Aws::Utils::DateTime&& value) { m_startingAtHasBeenSet = true; m_startingAt = std::move(value); }
72 inline TopicRefreshSchedule& WithStartingAt(const Aws::Utils::DateTime& value) { SetStartingAt(value); return *this;}
73 inline TopicRefreshSchedule& WithStartingAt(Aws::Utils::DateTime&& value) { SetStartingAt(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetTimezone() const{ return m_timezone; }
81 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
82 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
83 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
84 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
85 inline TopicRefreshSchedule& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
86 inline TopicRefreshSchedule& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
87 inline TopicRefreshSchedule& WithTimezone(const char* value) { SetTimezone(value); return *this;}
89
91
94 inline const Aws::String& GetRepeatAt() const{ return m_repeatAt; }
95 inline bool RepeatAtHasBeenSet() const { return m_repeatAtHasBeenSet; }
96 inline void SetRepeatAt(const Aws::String& value) { m_repeatAtHasBeenSet = true; m_repeatAt = value; }
97 inline void SetRepeatAt(Aws::String&& value) { m_repeatAtHasBeenSet = true; m_repeatAt = std::move(value); }
98 inline void SetRepeatAt(const char* value) { m_repeatAtHasBeenSet = true; m_repeatAt.assign(value); }
99 inline TopicRefreshSchedule& WithRepeatAt(const Aws::String& value) { SetRepeatAt(value); return *this;}
100 inline TopicRefreshSchedule& WithRepeatAt(Aws::String&& value) { SetRepeatAt(std::move(value)); return *this;}
101 inline TopicRefreshSchedule& WithRepeatAt(const char* value) { SetRepeatAt(value); return *this;}
103
105
110 inline const TopicScheduleType& GetTopicScheduleType() const{ return m_topicScheduleType; }
111 inline bool TopicScheduleTypeHasBeenSet() const { return m_topicScheduleTypeHasBeenSet; }
112 inline void SetTopicScheduleType(const TopicScheduleType& value) { m_topicScheduleTypeHasBeenSet = true; m_topicScheduleType = value; }
113 inline void SetTopicScheduleType(TopicScheduleType&& value) { m_topicScheduleTypeHasBeenSet = true; m_topicScheduleType = std::move(value); }
115 inline TopicRefreshSchedule& WithTopicScheduleType(TopicScheduleType&& value) { SetTopicScheduleType(std::move(value)); return *this;}
117 private:
118
119 bool m_isEnabled;
120 bool m_isEnabledHasBeenSet = false;
121
122 bool m_basedOnSpiceSchedule;
123 bool m_basedOnSpiceScheduleHasBeenSet = false;
124
125 Aws::Utils::DateTime m_startingAt;
126 bool m_startingAtHasBeenSet = false;
127
128 Aws::String m_timezone;
129 bool m_timezoneHasBeenSet = false;
130
131 Aws::String m_repeatAt;
132 bool m_repeatAtHasBeenSet = false;
133
134 TopicScheduleType m_topicScheduleType;
135 bool m_topicScheduleTypeHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
TopicRefreshSchedule & WithRepeatAt(const char *value)
const Aws::Utils::DateTime & GetStartingAt() const
TopicRefreshSchedule & WithTimezone(const Aws::String &value)
TopicRefreshSchedule & WithStartingAt(Aws::Utils::DateTime &&value)
AWS_QUICKSIGHT_API TopicRefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
const TopicScheduleType & GetTopicScheduleType() const
TopicRefreshSchedule & WithStartingAt(const Aws::Utils::DateTime &value)
void SetTopicScheduleType(TopicScheduleType &&value)
TopicRefreshSchedule & WithBasedOnSpiceSchedule(bool value)
TopicRefreshSchedule & WithTimezone(const char *value)
TopicRefreshSchedule & WithRepeatAt(Aws::String &&value)
void SetStartingAt(Aws::Utils::DateTime &&value)
TopicRefreshSchedule & WithIsEnabled(bool value)
void SetStartingAt(const Aws::Utils::DateTime &value)
TopicRefreshSchedule & WithTimezone(Aws::String &&value)
TopicRefreshSchedule & WithTopicScheduleType(TopicScheduleType &&value)
void SetTopicScheduleType(const TopicScheduleType &value)
AWS_QUICKSIGHT_API TopicRefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicRefreshSchedule & WithRepeatAt(const Aws::String &value)
TopicRefreshSchedule & WithTopicScheduleType(const TopicScheduleType &value)
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