AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshSchedule.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/RefreshFrequency.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/IngestionType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API RefreshSchedule();
38 AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetScheduleId() const{ return m_scheduleId; }
48 inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; }
49 inline void SetScheduleId(const Aws::String& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = value; }
50 inline void SetScheduleId(Aws::String&& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = std::move(value); }
51 inline void SetScheduleId(const char* value) { m_scheduleIdHasBeenSet = true; m_scheduleId.assign(value); }
52 inline RefreshSchedule& WithScheduleId(const Aws::String& value) { SetScheduleId(value); return *this;}
53 inline RefreshSchedule& WithScheduleId(Aws::String&& value) { SetScheduleId(std::move(value)); return *this;}
54 inline RefreshSchedule& WithScheduleId(const char* value) { SetScheduleId(value); return *this;}
56
58
61 inline const RefreshFrequency& GetScheduleFrequency() const{ return m_scheduleFrequency; }
62 inline bool ScheduleFrequencyHasBeenSet() const { return m_scheduleFrequencyHasBeenSet; }
63 inline void SetScheduleFrequency(const RefreshFrequency& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = value; }
64 inline void SetScheduleFrequency(RefreshFrequency&& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = std::move(value); }
65 inline RefreshSchedule& WithScheduleFrequency(const RefreshFrequency& value) { SetScheduleFrequency(value); return *this;}
66 inline RefreshSchedule& WithScheduleFrequency(RefreshFrequency&& value) { SetScheduleFrequency(std::move(value)); return *this;}
68
70
74 inline const Aws::Utils::DateTime& GetStartAfterDateTime() const{ return m_startAfterDateTime; }
75 inline bool StartAfterDateTimeHasBeenSet() const { return m_startAfterDateTimeHasBeenSet; }
76 inline void SetStartAfterDateTime(const Aws::Utils::DateTime& value) { m_startAfterDateTimeHasBeenSet = true; m_startAfterDateTime = value; }
77 inline void SetStartAfterDateTime(Aws::Utils::DateTime&& value) { m_startAfterDateTimeHasBeenSet = true; m_startAfterDateTime = std::move(value); }
79 inline RefreshSchedule& WithStartAfterDateTime(Aws::Utils::DateTime&& value) { SetStartAfterDateTime(std::move(value)); return *this;}
81
83
92 inline const IngestionType& GetRefreshType() const{ return m_refreshType; }
93 inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; }
94 inline void SetRefreshType(const IngestionType& value) { m_refreshTypeHasBeenSet = true; m_refreshType = value; }
95 inline void SetRefreshType(IngestionType&& value) { m_refreshTypeHasBeenSet = true; m_refreshType = std::move(value); }
96 inline RefreshSchedule& WithRefreshType(const IngestionType& value) { SetRefreshType(value); return *this;}
97 inline RefreshSchedule& WithRefreshType(IngestionType&& value) { SetRefreshType(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetArn() const{ return m_arn; }
105 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
106 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
107 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
108 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
109 inline RefreshSchedule& WithArn(const Aws::String& value) { SetArn(value); return *this;}
110 inline RefreshSchedule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
111 inline RefreshSchedule& WithArn(const char* value) { SetArn(value); return *this;}
113 private:
114
115 Aws::String m_scheduleId;
116 bool m_scheduleIdHasBeenSet = false;
117
118 RefreshFrequency m_scheduleFrequency;
119 bool m_scheduleFrequencyHasBeenSet = false;
120
121 Aws::Utils::DateTime m_startAfterDateTime;
122 bool m_startAfterDateTimeHasBeenSet = false;
123
124 IngestionType m_refreshType;
125 bool m_refreshTypeHasBeenSet = false;
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
RefreshSchedule & WithStartAfterDateTime(Aws::Utils::DateTime &&value)
RefreshSchedule & WithStartAfterDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartAfterDateTime() const
void SetRefreshType(IngestionType &&value)
const RefreshFrequency & GetScheduleFrequency() const
RefreshSchedule & WithRefreshType(IngestionType &&value)
void SetScheduleId(Aws::String &&value)
const Aws::String & GetScheduleId() const
RefreshSchedule & WithScheduleId(const Aws::String &value)
void SetArn(const Aws::String &value)
RefreshSchedule & WithArn(const Aws::String &value)
RefreshSchedule & WithRefreshType(const IngestionType &value)
RefreshSchedule & WithScheduleId(Aws::String &&value)
RefreshSchedule & WithArn(const char *value)
void SetScheduleId(const Aws::String &value)
RefreshSchedule & WithScheduleId(const char *value)
RefreshSchedule & WithScheduleFrequency(const RefreshFrequency &value)
void SetRefreshType(const IngestionType &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RefreshSchedule & WithArn(Aws::String &&value)
AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
void SetScheduleFrequency(RefreshFrequency &&value)
void SetScheduleFrequency(const RefreshFrequency &value)
void SetStartAfterDateTime(Aws::Utils::DateTime &&value)
AWS_QUICKSIGHT_API RefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartAfterDateTime(const Aws::Utils::DateTime &value)
const IngestionType & GetRefreshType() const
RefreshSchedule & WithScheduleFrequency(RefreshFrequency &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue