AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
LineageSyncConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ManagedCrawlerDetails.h>
9#include <aws/glue/model/SyncStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API LineageSyncConfiguration() = default;
35
37
41 inline SyncStatus GetStatus() const { return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 inline void SetStatus(SyncStatus value) {
44 m_statusHasBeenSet = true;
45 m_status = value;
46 }
48 SetStatus(value);
49 return *this;
50 }
52
54
58 inline int GetRefreshIntervalMinutes() const { return m_refreshIntervalMinutes; }
59 inline bool RefreshIntervalMinutesHasBeenSet() const { return m_refreshIntervalMinutesHasBeenSet; }
60 inline void SetRefreshIntervalMinutes(int value) {
61 m_refreshIntervalMinutesHasBeenSet = true;
62 m_refreshIntervalMinutes = value;
63 }
66 return *this;
67 }
69
71
74 inline const ManagedCrawlerDetails& GetManagedCrawlerDetails() const { return m_managedCrawlerDetails; }
75 inline bool ManagedCrawlerDetailsHasBeenSet() const { return m_managedCrawlerDetailsHasBeenSet; }
76 template <typename ManagedCrawlerDetailsT = ManagedCrawlerDetails>
77 void SetManagedCrawlerDetails(ManagedCrawlerDetailsT&& value) {
78 m_managedCrawlerDetailsHasBeenSet = true;
79 m_managedCrawlerDetails = std::forward<ManagedCrawlerDetailsT>(value);
80 }
81 template <typename ManagedCrawlerDetailsT = ManagedCrawlerDetails>
82 LineageSyncConfiguration& WithManagedCrawlerDetails(ManagedCrawlerDetailsT&& value) {
83 SetManagedCrawlerDetails(std::forward<ManagedCrawlerDetailsT>(value));
84 return *this;
85 }
87 private:
89
90 int m_refreshIntervalMinutes{0};
91
92 ManagedCrawlerDetails m_managedCrawlerDetails;
93 bool m_statusHasBeenSet = false;
94 bool m_refreshIntervalMinutesHasBeenSet = false;
95 bool m_managedCrawlerDetailsHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
LineageSyncConfiguration & WithStatus(SyncStatus value)
void SetManagedCrawlerDetails(ManagedCrawlerDetailsT &&value)
AWS_GLUE_API LineageSyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API LineageSyncConfiguration()=default
LineageSyncConfiguration & WithRefreshIntervalMinutes(int value)
LineageSyncConfiguration & WithManagedCrawlerDetails(ManagedCrawlerDetailsT &&value)
const ManagedCrawlerDetails & GetManagedCrawlerDetails() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API LineageSyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue