AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
30 public:
31 AWS_QCONNECT_API SourceConfiguration() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const AppIntegrationsConfiguration& GetAppIntegrations() const { return m_appIntegrations; }
42 inline bool AppIntegrationsHasBeenSet() const { return m_appIntegrationsHasBeenSet; }
43 template <typename AppIntegrationsT = AppIntegrationsConfiguration>
45 m_appIntegrationsHasBeenSet = true;
46 m_appIntegrations = std::forward<AppIntegrationsT>(value);
47 }
48 template <typename AppIntegrationsT = AppIntegrationsConfiguration>
50 SetAppIntegrations(std::forward<AppIntegrationsT>(value));
51 return *this;
52 }
54
56
59 inline const ManagedSourceConfiguration& GetManagedSourceConfiguration() const { return m_managedSourceConfiguration; }
60 inline bool ManagedSourceConfigurationHasBeenSet() const { return m_managedSourceConfigurationHasBeenSet; }
61 template <typename ManagedSourceConfigurationT = ManagedSourceConfiguration>
63 m_managedSourceConfigurationHasBeenSet = true;
64 m_managedSourceConfiguration = std::forward<ManagedSourceConfigurationT>(value);
65 }
66 template <typename ManagedSourceConfigurationT = ManagedSourceConfiguration>
68 SetManagedSourceConfiguration(std::forward<ManagedSourceConfigurationT>(value));
69 return *this;
70 }
72 private:
73 AppIntegrationsConfiguration m_appIntegrations;
74
75 ManagedSourceConfiguration m_managedSourceConfiguration;
76 bool m_appIntegrationsHasBeenSet = false;
77 bool m_managedSourceConfigurationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QConnect
82} // 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