AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
RefreshSchedule.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/IngestionType.h>
11#include <aws/quicksight/model/RefreshFrequency.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API RefreshSchedule() = default;
33 AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
42 inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; }
43 template <typename ScheduleIdT = Aws::String>
44 void SetScheduleId(ScheduleIdT&& value) {
45 m_scheduleIdHasBeenSet = true;
46 m_scheduleId = std::forward<ScheduleIdT>(value);
47 }
48 template <typename ScheduleIdT = Aws::String>
49 RefreshSchedule& WithScheduleId(ScheduleIdT&& value) {
50 SetScheduleId(std::forward<ScheduleIdT>(value));
51 return *this;
52 }
54
56
59 inline const RefreshFrequency& GetScheduleFrequency() const { return m_scheduleFrequency; }
60 inline bool ScheduleFrequencyHasBeenSet() const { return m_scheduleFrequencyHasBeenSet; }
61 template <typename ScheduleFrequencyT = RefreshFrequency>
62 void SetScheduleFrequency(ScheduleFrequencyT&& value) {
63 m_scheduleFrequencyHasBeenSet = true;
64 m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value);
65 }
66 template <typename ScheduleFrequencyT = RefreshFrequency>
67 RefreshSchedule& WithScheduleFrequency(ScheduleFrequencyT&& value) {
68 SetScheduleFrequency(std::forward<ScheduleFrequencyT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Utils::DateTime& GetStartAfterDateTime() const { return m_startAfterDateTime; }
79 inline bool StartAfterDateTimeHasBeenSet() const { return m_startAfterDateTimeHasBeenSet; }
80 template <typename StartAfterDateTimeT = Aws::Utils::DateTime>
81 void SetStartAfterDateTime(StartAfterDateTimeT&& value) {
82 m_startAfterDateTimeHasBeenSet = true;
83 m_startAfterDateTime = std::forward<StartAfterDateTimeT>(value);
84 }
85 template <typename StartAfterDateTimeT = Aws::Utils::DateTime>
86 RefreshSchedule& WithStartAfterDateTime(StartAfterDateTimeT&& value) {
87 SetStartAfterDateTime(std::forward<StartAfterDateTimeT>(value));
88 return *this;
89 }
91
93
102 inline IngestionType GetRefreshType() const { return m_refreshType; }
103 inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; }
104 inline void SetRefreshType(IngestionType value) {
105 m_refreshTypeHasBeenSet = true;
106 m_refreshType = value;
107 }
109 SetRefreshType(value);
110 return *this;
111 }
113
115
118 inline const Aws::String& GetArn() const { return m_arn; }
119 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
120 template <typename ArnT = Aws::String>
121 void SetArn(ArnT&& value) {
122 m_arnHasBeenSet = true;
123 m_arn = std::forward<ArnT>(value);
124 }
125 template <typename ArnT = Aws::String>
126 RefreshSchedule& WithArn(ArnT&& value) {
127 SetArn(std::forward<ArnT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_scheduleId;
133
134 RefreshFrequency m_scheduleFrequency;
135
136 Aws::Utils::DateTime m_startAfterDateTime{};
137
139
140 Aws::String m_arn;
141 bool m_scheduleIdHasBeenSet = false;
142 bool m_scheduleFrequencyHasBeenSet = false;
143 bool m_startAfterDateTimeHasBeenSet = false;
144 bool m_refreshTypeHasBeenSet = false;
145 bool m_arnHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
void SetScheduleFrequency(ScheduleFrequencyT &&value)
RefreshSchedule & WithRefreshType(IngestionType value)
const Aws::Utils::DateTime & GetStartAfterDateTime() const
RefreshSchedule & WithStartAfterDateTime(StartAfterDateTimeT &&value)
const RefreshFrequency & GetScheduleFrequency() const
void SetScheduleId(ScheduleIdT &&value)
RefreshSchedule & WithScheduleFrequency(ScheduleFrequencyT &&value)
const Aws::String & GetScheduleId() const
RefreshSchedule & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API RefreshSchedule()=default
void SetStartAfterDateTime(StartAfterDateTimeT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshType(IngestionType value)
RefreshSchedule & WithScheduleId(ScheduleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue