AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
SyncConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/AssetsSyncConfiguration.h>
10#include <aws/glue/model/LineageSyncConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API SyncConfiguration() = default;
36
38
42 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
43 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
44 template <typename RoleArnT = Aws::String>
45 void SetRoleArn(RoleArnT&& value) {
46 m_roleArnHasBeenSet = true;
47 m_roleArn = std::forward<RoleArnT>(value);
48 }
49 template <typename RoleArnT = Aws::String>
50 SyncConfiguration& WithRoleArn(RoleArnT&& value) {
51 SetRoleArn(std::forward<RoleArnT>(value));
52 return *this;
53 }
55
57
60 inline const AssetsSyncConfiguration& GetAssetsSyncConfiguration() const { return m_assetsSyncConfiguration; }
61 inline bool AssetsSyncConfigurationHasBeenSet() const { return m_assetsSyncConfigurationHasBeenSet; }
62 template <typename AssetsSyncConfigurationT = AssetsSyncConfiguration>
63 void SetAssetsSyncConfiguration(AssetsSyncConfigurationT&& value) {
64 m_assetsSyncConfigurationHasBeenSet = true;
65 m_assetsSyncConfiguration = std::forward<AssetsSyncConfigurationT>(value);
66 }
67 template <typename AssetsSyncConfigurationT = AssetsSyncConfiguration>
68 SyncConfiguration& WithAssetsSyncConfiguration(AssetsSyncConfigurationT&& value) {
69 SetAssetsSyncConfiguration(std::forward<AssetsSyncConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline const LineageSyncConfiguration& GetLineageSyncConfiguration() const { return m_lineageSyncConfiguration; }
79 inline bool LineageSyncConfigurationHasBeenSet() const { return m_lineageSyncConfigurationHasBeenSet; }
80 template <typename LineageSyncConfigurationT = LineageSyncConfiguration>
81 void SetLineageSyncConfiguration(LineageSyncConfigurationT&& value) {
82 m_lineageSyncConfigurationHasBeenSet = true;
83 m_lineageSyncConfiguration = std::forward<LineageSyncConfigurationT>(value);
84 }
85 template <typename LineageSyncConfigurationT = LineageSyncConfiguration>
86 SyncConfiguration& WithLineageSyncConfiguration(LineageSyncConfigurationT&& value) {
87 SetLineageSyncConfiguration(std::forward<LineageSyncConfigurationT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_roleArn;
93
94 AssetsSyncConfiguration m_assetsSyncConfiguration;
95
96 LineageSyncConfiguration m_lineageSyncConfiguration;
97 bool m_roleArnHasBeenSet = false;
98 bool m_assetsSyncConfigurationHasBeenSet = false;
99 bool m_lineageSyncConfigurationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Glue
104} // namespace Aws
AWS_GLUE_API SyncConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetLineageSyncConfiguration(LineageSyncConfigurationT &&value)
SyncConfiguration & WithRoleArn(RoleArnT &&value)
AWS_GLUE_API SyncConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const LineageSyncConfiguration & GetLineageSyncConfiguration() const
SyncConfiguration & WithLineageSyncConfiguration(LineageSyncConfigurationT &&value)
AWS_GLUE_API SyncConfiguration()=default
const Aws::String & GetRoleArn() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssetsSyncConfiguration(AssetsSyncConfigurationT &&value)
const AssetsSyncConfiguration & GetAssetsSyncConfiguration() const
SyncConfiguration & WithAssetsSyncConfiguration(AssetsSyncConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue