AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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();
39 AWS_QCONNECT_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 inline void SetConfiguration(const Configuration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
49 inline void SetConfiguration(Configuration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
50 inline ExternalSourceConfiguration& WithConfiguration(const Configuration& value) { SetConfiguration(value); return *this;}
51 inline ExternalSourceConfiguration& WithConfiguration(Configuration&& value) { SetConfiguration(std::move(value)); return *this;}
53
55
58 inline const ExternalSource& GetSource() const{ return m_source; }
59 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
60 inline void SetSource(const ExternalSource& value) { m_sourceHasBeenSet = true; m_source = value; }
61 inline void SetSource(ExternalSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
62 inline ExternalSourceConfiguration& WithSource(const ExternalSource& value) { SetSource(value); return *this;}
63 inline ExternalSourceConfiguration& WithSource(ExternalSource&& value) { SetSource(std::move(value)); return *this;}
65 private:
66
67 Configuration m_configuration;
68 bool m_configurationHasBeenSet = false;
69
70 ExternalSource m_source;
71 bool m_sourceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QConnect
76} // namespace Aws
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalSourceConfiguration & WithSource(ExternalSource &&value)
AWS_QCONNECT_API ExternalSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExternalSourceConfiguration & WithConfiguration(const Configuration &value)
AWS_QCONNECT_API ExternalSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalSourceConfiguration & WithSource(const ExternalSource &value)
ExternalSourceConfiguration & WithConfiguration(Configuration &&value)
Aws::Utils::Json::JsonValue JsonValue