AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExternalSourceConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/Configuration.h>
9#include <aws/qconnect/model/ExternalSource.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 ExternalSourceConfiguration() = default;
34 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ExternalSource GetSource() const { return m_source; }
41 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
42 inline void SetSource(ExternalSource value) {
43 m_sourceHasBeenSet = true;
44 m_source = value;
45 }
47 SetSource(value);
48 return *this;
49 }
51
53
56 inline const Configuration& GetConfiguration() const { return m_configuration; }
57 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
58 template <typename ConfigurationT = Configuration>
60 m_configurationHasBeenSet = true;
61 m_configuration = std::forward<ConfigurationT>(value);
62 }
63 template <typename ConfigurationT = Configuration>
65 SetConfiguration(std::forward<ConfigurationT>(value));
66 return *this;
67 }
69 private:
71
72 Configuration m_configuration;
73 bool m_sourceHasBeenSet = false;
74 bool m_configurationHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QConnect
79} // 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