AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SourceConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/AppIntegrationsConfiguration.h>
9#include <aws/qconnect/model/ManagedSourceConfiguration.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 QConnect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QCONNECT_API SourceConfiguration() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AppIntegrationsConfiguration& GetAppIntegrations() const { return m_appIntegrations; }
48 inline bool AppIntegrationsHasBeenSet() const { return m_appIntegrationsHasBeenSet; }
49 template<typename AppIntegrationsT = AppIntegrationsConfiguration>
50 void SetAppIntegrations(AppIntegrationsT&& value) { m_appIntegrationsHasBeenSet = true; m_appIntegrations = std::forward<AppIntegrationsT>(value); }
51 template<typename AppIntegrationsT = AppIntegrationsConfiguration>
52 SourceConfiguration& WithAppIntegrations(AppIntegrationsT&& value) { SetAppIntegrations(std::forward<AppIntegrationsT>(value)); return *this;}
54
56
59 inline const ManagedSourceConfiguration& GetManagedSourceConfiguration() const { return m_managedSourceConfiguration; }
60 inline bool ManagedSourceConfigurationHasBeenSet() const { return m_managedSourceConfigurationHasBeenSet; }
61 template<typename ManagedSourceConfigurationT = ManagedSourceConfiguration>
62 void SetManagedSourceConfiguration(ManagedSourceConfigurationT&& value) { m_managedSourceConfigurationHasBeenSet = true; m_managedSourceConfiguration = std::forward<ManagedSourceConfigurationT>(value); }
63 template<typename ManagedSourceConfigurationT = ManagedSourceConfiguration>
64 SourceConfiguration& WithManagedSourceConfiguration(ManagedSourceConfigurationT&& value) { SetManagedSourceConfiguration(std::forward<ManagedSourceConfigurationT>(value)); return *this;}
66 private:
67
68 AppIntegrationsConfiguration m_appIntegrations;
69 bool m_appIntegrationsHasBeenSet = false;
70
71 ManagedSourceConfiguration m_managedSourceConfiguration;
72 bool m_managedSourceConfigurationHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QConnect
77} // namespace Aws
AWS_QCONNECT_API SourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetManagedSourceConfiguration(ManagedSourceConfigurationT &&value)
AWS_QCONNECT_API SourceConfiguration()=default
void SetAppIntegrations(AppIntegrationsT &&value)
const AppIntegrationsConfiguration & GetAppIntegrations() const
SourceConfiguration & WithAppIntegrations(AppIntegrationsT &&value)
AWS_QCONNECT_API SourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ManagedSourceConfiguration & GetManagedSourceConfiguration() const
SourceConfiguration & WithManagedSourceConfiguration(ManagedSourceConfigurationT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue