AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline DestinationType GetType() const { return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(DestinationType value) { m_typeHasBeenSet = true; m_type = value; }
50 inline DestinationConfiguration& WithType(DestinationType value) { SetType(value); return *this;}
52
54
57 inline const S3DestinationConfiguration& GetS3Configuration() const { return m_s3Configuration; }
58 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
59 template<typename S3ConfigurationT = S3DestinationConfiguration>
60 void SetS3Configuration(S3ConfigurationT&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::forward<S3ConfigurationT>(value); }
61 template<typename S3ConfigurationT = S3DestinationConfiguration>
62 DestinationConfiguration& WithS3Configuration(S3ConfigurationT&& value) { SetS3Configuration(std::forward<S3ConfigurationT>(value)); return *this;}
64
66
70 inline const IotTwinMakerDestinationConfiguration& GetIotTwinMakerConfiguration() const { return m_iotTwinMakerConfiguration; }
71 inline bool IotTwinMakerConfigurationHasBeenSet() const { return m_iotTwinMakerConfigurationHasBeenSet; }
72 template<typename IotTwinMakerConfigurationT = IotTwinMakerDestinationConfiguration>
73 void SetIotTwinMakerConfiguration(IotTwinMakerConfigurationT&& value) { m_iotTwinMakerConfigurationHasBeenSet = true; m_iotTwinMakerConfiguration = std::forward<IotTwinMakerConfigurationT>(value); }
74 template<typename IotTwinMakerConfigurationT = IotTwinMakerDestinationConfiguration>
75 DestinationConfiguration& WithIotTwinMakerConfiguration(IotTwinMakerConfigurationT&& value) { SetIotTwinMakerConfiguration(std::forward<IotTwinMakerConfigurationT>(value)); return *this;}
77 private:
78
80 bool m_typeHasBeenSet = false;
81
82 S3DestinationConfiguration m_s3Configuration;
83 bool m_s3ConfigurationHasBeenSet = false;
84
85 IotTwinMakerDestinationConfiguration m_iotTwinMakerConfiguration;
86 bool m_iotTwinMakerConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoTTwinMaker
91} // namespace Aws
AWS_IOTTWINMAKER_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithIotTwinMakerConfiguration(IotTwinMakerConfigurationT &&value)
AWS_IOTTWINMAKER_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const IotTwinMakerDestinationConfiguration & GetIotTwinMakerConfiguration() const
DestinationConfiguration & WithS3Configuration(S3ConfigurationT &&value)
void SetIotTwinMakerConfiguration(IotTwinMakerConfigurationT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const S3DestinationConfiguration & GetS3Configuration() const
AWS_IOTTWINMAKER_API DestinationConfiguration()=default
DestinationConfiguration & WithType(DestinationType value)
Aws::Utils::Json::JsonValue JsonValue