AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataDestinationConfig.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/S3Config.h>
9#include <aws/iotfleetwise/model/TimestreamConfig.h>
10#include <aws/iotfleetwise/model/MqttTopicConfig.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 IoTFleetWise
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_IOTFLEETWISE_API DataDestinationConfig() = default;
39 AWS_IOTFLEETWISE_API DataDestinationConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const S3Config& GetS3Config() const { return m_s3Config; }
50 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
51 template<typename S3ConfigT = S3Config>
52 void SetS3Config(S3ConfigT&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::forward<S3ConfigT>(value); }
53 template<typename S3ConfigT = S3Config>
54 DataDestinationConfig& WithS3Config(S3ConfigT&& value) { SetS3Config(std::forward<S3ConfigT>(value)); return *this;}
56
58
61 inline const TimestreamConfig& GetTimestreamConfig() const { return m_timestreamConfig; }
62 inline bool TimestreamConfigHasBeenSet() const { return m_timestreamConfigHasBeenSet; }
63 template<typename TimestreamConfigT = TimestreamConfig>
64 void SetTimestreamConfig(TimestreamConfigT&& value) { m_timestreamConfigHasBeenSet = true; m_timestreamConfig = std::forward<TimestreamConfigT>(value); }
65 template<typename TimestreamConfigT = TimestreamConfig>
66 DataDestinationConfig& WithTimestreamConfig(TimestreamConfigT&& value) { SetTimestreamConfig(std::forward<TimestreamConfigT>(value)); return *this;}
68
70
78 inline const MqttTopicConfig& GetMqttTopicConfig() const { return m_mqttTopicConfig; }
79 inline bool MqttTopicConfigHasBeenSet() const { return m_mqttTopicConfigHasBeenSet; }
80 template<typename MqttTopicConfigT = MqttTopicConfig>
81 void SetMqttTopicConfig(MqttTopicConfigT&& value) { m_mqttTopicConfigHasBeenSet = true; m_mqttTopicConfig = std::forward<MqttTopicConfigT>(value); }
82 template<typename MqttTopicConfigT = MqttTopicConfig>
83 DataDestinationConfig& WithMqttTopicConfig(MqttTopicConfigT&& value) { SetMqttTopicConfig(std::forward<MqttTopicConfigT>(value)); return *this;}
85 private:
86
87 S3Config m_s3Config;
88 bool m_s3ConfigHasBeenSet = false;
89
90 TimestreamConfig m_timestreamConfig;
91 bool m_timestreamConfigHasBeenSet = false;
92
93 MqttTopicConfig m_mqttTopicConfig;
94 bool m_mqttTopicConfigHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace IoTFleetWise
99} // namespace Aws
DataDestinationConfig & WithMqttTopicConfig(MqttTopicConfigT &&value)
AWS_IOTFLEETWISE_API DataDestinationConfig()=default
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API DataDestinationConfig(Aws::Utils::Json::JsonView jsonValue)
const TimestreamConfig & GetTimestreamConfig() const
DataDestinationConfig & WithS3Config(S3ConfigT &&value)
AWS_IOTFLEETWISE_API DataDestinationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataDestinationConfig & WithTimestreamConfig(TimestreamConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue