AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExternalSourceConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ExternalSource.h>
9#include <aws/qconnect/model/Configuration.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 ExternalSourceConfiguration() = default;
39 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ExternalSource GetSource() const { return m_source; }
47 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
48 inline void SetSource(ExternalSource value) { m_sourceHasBeenSet = true; m_source = value; }
49 inline ExternalSourceConfiguration& WithSource(ExternalSource value) { SetSource(value); return *this;}
51
53
56 inline const Configuration& GetConfiguration() const { return m_configuration; }
57 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
58 template<typename ConfigurationT = Configuration>
59 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
60 template<typename ConfigurationT = Configuration>
61 ExternalSourceConfiguration& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
63 private:
64
66 bool m_sourceHasBeenSet = false;
67
68 Configuration m_configuration;
69 bool m_configurationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QConnect
74} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API ExternalSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExternalSourceConfiguration & WithConfiguration(ConfigurationT &&value)
AWS_QCONNECT_API ExternalSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API ExternalSourceConfiguration()=default
ExternalSourceConfiguration & WithSource(ExternalSource value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue