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/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/wisdom/model/Configuration.h>
9#include <aws/wisdom/model/ExternalSource.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 ConnectWisdomService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration() = default;
37 AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Configuration& GetConfiguration() const { return m_configuration; }
47 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
48 template<typename ConfigurationT = Configuration>
49 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
50 template<typename ConfigurationT = Configuration>
51 ExternalSourceConfiguration& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
53
55
58 inline ExternalSource GetSource() const { return m_source; }
59 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
60 inline void SetSource(ExternalSource value) { m_sourceHasBeenSet = true; m_source = value; }
61 inline ExternalSourceConfiguration& WithSource(ExternalSource value) { SetSource(value); return *this;}
63 private:
64
65 Configuration m_configuration;
66 bool m_configurationHasBeenSet = false;
67
69 bool m_sourceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace ConnectWisdomService
74} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalSourceConfiguration & WithSource(ExternalSource value)
ExternalSourceConfiguration & WithConfiguration(ConfigurationT &&value)
AWS_CONNECTWISDOMSERVICE_API ExternalSourceConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue