AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConfiguration.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/SourceType.h>
9#include <aws/iottwinmaker/model/S3SourceConfiguration.h>
10#include <aws/iottwinmaker/model/IotSiteWiseSourceConfiguration.h>
11#include <aws/iottwinmaker/model/IotTwinMakerSourceConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTWINMAKER_API SourceConfiguration();
38 AWS_IOTTWINMAKER_API SourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const SourceType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const SourceType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(SourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline SourceConfiguration& WithType(const SourceType& value) { SetType(value); return *this;}
52 inline SourceConfiguration& WithType(SourceType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const S3SourceConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
60 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
61 inline void SetS3Configuration(const S3SourceConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
62 inline void SetS3Configuration(S3SourceConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
64 inline SourceConfiguration& WithS3Configuration(S3SourceConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;}
66
68
71 inline const IotSiteWiseSourceConfiguration& GetIotSiteWiseConfiguration() const{ return m_iotSiteWiseConfiguration; }
72 inline bool IotSiteWiseConfigurationHasBeenSet() const { return m_iotSiteWiseConfigurationHasBeenSet; }
73 inline void SetIotSiteWiseConfiguration(const IotSiteWiseSourceConfiguration& value) { m_iotSiteWiseConfigurationHasBeenSet = true; m_iotSiteWiseConfiguration = value; }
74 inline void SetIotSiteWiseConfiguration(IotSiteWiseSourceConfiguration&& value) { m_iotSiteWiseConfigurationHasBeenSet = true; m_iotSiteWiseConfiguration = std::move(value); }
78
80
83 inline const IotTwinMakerSourceConfiguration& GetIotTwinMakerConfiguration() const{ return m_iotTwinMakerConfiguration; }
84 inline bool IotTwinMakerConfigurationHasBeenSet() const { return m_iotTwinMakerConfigurationHasBeenSet; }
85 inline void SetIotTwinMakerConfiguration(const IotTwinMakerSourceConfiguration& value) { m_iotTwinMakerConfigurationHasBeenSet = true; m_iotTwinMakerConfiguration = value; }
86 inline void SetIotTwinMakerConfiguration(IotTwinMakerSourceConfiguration&& value) { m_iotTwinMakerConfigurationHasBeenSet = true; m_iotTwinMakerConfiguration = std::move(value); }
90 private:
91
92 SourceType m_type;
93 bool m_typeHasBeenSet = false;
94
95 S3SourceConfiguration m_s3Configuration;
96 bool m_s3ConfigurationHasBeenSet = false;
97
98 IotSiteWiseSourceConfiguration m_iotSiteWiseConfiguration;
99 bool m_iotSiteWiseConfigurationHasBeenSet = false;
100
101 IotTwinMakerSourceConfiguration m_iotTwinMakerConfiguration;
102 bool m_iotTwinMakerConfigurationHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoTTwinMaker
107} // namespace Aws
AWS_IOTTWINMAKER_API SourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIotTwinMakerConfiguration(IotTwinMakerSourceConfiguration &&value)
void SetIotSiteWiseConfiguration(IotSiteWiseSourceConfiguration &&value)
SourceConfiguration & WithType(SourceType &&value)
const S3SourceConfiguration & GetS3Configuration() const
SourceConfiguration & WithIotTwinMakerConfiguration(const IotTwinMakerSourceConfiguration &value)
SourceConfiguration & WithIotSiteWiseConfiguration(const IotSiteWiseSourceConfiguration &value)
AWS_IOTTWINMAKER_API SourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
SourceConfiguration & WithType(const SourceType &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIotTwinMakerConfiguration(const IotTwinMakerSourceConfiguration &value)
void SetS3Configuration(S3SourceConfiguration &&value)
const IotTwinMakerSourceConfiguration & GetIotTwinMakerConfiguration() const
void SetS3Configuration(const S3SourceConfiguration &value)
void SetIotSiteWiseConfiguration(const IotSiteWiseSourceConfiguration &value)
SourceConfiguration & WithS3Configuration(S3SourceConfiguration &&value)
const IotSiteWiseSourceConfiguration & GetIotSiteWiseConfiguration() const
SourceConfiguration & WithIotTwinMakerConfiguration(IotTwinMakerSourceConfiguration &&value)
SourceConfiguration & WithS3Configuration(const S3SourceConfiguration &value)
SourceConfiguration & WithIotSiteWiseConfiguration(IotSiteWiseSourceConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue