AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
IntegrationConfig.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API IntegrationConfig() = default;
39
40
42
50 inline const Aws::String& GetRefreshInterval() const { return m_refreshInterval; }
51 inline bool RefreshIntervalHasBeenSet() const { return m_refreshIntervalHasBeenSet; }
52 template<typename RefreshIntervalT = Aws::String>
53 void SetRefreshInterval(RefreshIntervalT&& value) { m_refreshIntervalHasBeenSet = true; m_refreshInterval = std::forward<RefreshIntervalT>(value); }
54 template<typename RefreshIntervalT = Aws::String>
55 IntegrationConfig& WithRefreshInterval(RefreshIntervalT&& value) { SetRefreshInterval(std::forward<RefreshIntervalT>(value)); return *this;}
57
59
65 inline const Aws::Map<Aws::String, Aws::String>& GetSourceProperties() const { return m_sourceProperties; }
66 inline bool SourcePropertiesHasBeenSet() const { return m_sourcePropertiesHasBeenSet; }
67 template<typename SourcePropertiesT = Aws::Map<Aws::String, Aws::String>>
68 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet = true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
69 template<typename SourcePropertiesT = Aws::Map<Aws::String, Aws::String>>
70 IntegrationConfig& WithSourceProperties(SourcePropertiesT&& value) { SetSourceProperties(std::forward<SourcePropertiesT>(value)); return *this;}
71 template<typename SourcePropertiesKeyT = Aws::String, typename SourcePropertiesValueT = Aws::String>
72 IntegrationConfig& AddSourceProperties(SourcePropertiesKeyT&& key, SourcePropertiesValueT&& value) {
73 m_sourcePropertiesHasBeenSet = true; m_sourceProperties.emplace(std::forward<SourcePropertiesKeyT>(key), std::forward<SourcePropertiesValueT>(value)); return *this;
74 }
76 private:
77
78 Aws::String m_refreshInterval;
79 bool m_refreshIntervalHasBeenSet = false;
80
81 Aws::Map<Aws::String, Aws::String> m_sourceProperties;
82 bool m_sourcePropertiesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Glue
87} // namespace Aws
IntegrationConfig & WithRefreshInterval(RefreshIntervalT &&value)
void SetRefreshInterval(RefreshIntervalT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IntegrationConfig & WithSourceProperties(SourcePropertiesT &&value)
const Aws::String & GetRefreshInterval() const
const Aws::Map< Aws::String, Aws::String > & GetSourceProperties() const
AWS_GLUE_API IntegrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API IntegrationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSourceProperties(SourcePropertiesT &&value)
IntegrationConfig & AddSourceProperties(SourcePropertiesKeyT &&key, SourcePropertiesValueT &&value)
AWS_GLUE_API IntegrationConfig()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue