AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/DestinationType.h>
9#include <aws/iottwinmaker/model/S3DestinationConfiguration.h>
10#include <aws/iottwinmaker/model/IotTwinMakerDestinationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTWINMAKER_API DestinationConfiguration();
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DestinationType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const DestinationType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(DestinationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline DestinationConfiguration& WithType(const DestinationType& value) { SetType(value); return *this;}
52 inline DestinationConfiguration& WithType(DestinationType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; }
60 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
61 inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
62 inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
66
68
72 inline const IotTwinMakerDestinationConfiguration& GetIotTwinMakerConfiguration() const{ return m_iotTwinMakerConfiguration; }
73 inline bool IotTwinMakerConfigurationHasBeenSet() const { return m_iotTwinMakerConfigurationHasBeenSet; }
74 inline void SetIotTwinMakerConfiguration(const IotTwinMakerDestinationConfiguration& value) { m_iotTwinMakerConfigurationHasBeenSet = true; m_iotTwinMakerConfiguration = value; }
75 inline void SetIotTwinMakerConfiguration(IotTwinMakerDestinationConfiguration&& value) { m_iotTwinMakerConfigurationHasBeenSet = true; m_iotTwinMakerConfiguration = std::move(value); }
79 private:
80
81 DestinationType m_type;
82 bool m_typeHasBeenSet = false;
83
84 S3DestinationConfiguration m_s3Configuration;
85 bool m_s3ConfigurationHasBeenSet = false;
86
87 IotTwinMakerDestinationConfiguration m_iotTwinMakerConfiguration;
88 bool m_iotTwinMakerConfigurationHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoTTwinMaker
93} // namespace Aws
DestinationConfiguration & WithS3Configuration(S3DestinationConfiguration &&value)
void SetIotTwinMakerConfiguration(IotTwinMakerDestinationConfiguration &&value)
void SetIotTwinMakerConfiguration(const IotTwinMakerDestinationConfiguration &value)
AWS_IOTTWINMAKER_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithType(const DestinationType &value)
void SetS3Configuration(S3DestinationConfiguration &&value)
DestinationConfiguration & WithType(DestinationType &&value)
AWS_IOTTWINMAKER_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const IotTwinMakerDestinationConfiguration & GetIotTwinMakerConfiguration() const
void SetS3Configuration(const S3DestinationConfiguration &value)
DestinationConfiguration & WithIotTwinMakerConfiguration(const IotTwinMakerDestinationConfiguration &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const S3DestinationConfiguration & GetS3Configuration() const
DestinationConfiguration & WithIotTwinMakerConfiguration(IotTwinMakerDestinationConfiguration &&value)
DestinationConfiguration & WithS3Configuration(const S3DestinationConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue