AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
DataDestinationConfig.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/MqttTopicConfig.h>
9#include <aws/iotfleetwise/model/S3Config.h>
10#include <aws/iotfleetwise/model/TimestreamConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise {
22namespace Model {
23
32 public:
33 AWS_IOTFLEETWISE_API DataDestinationConfig() = default;
34 AWS_IOTFLEETWISE_API DataDestinationConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const S3Config& GetS3Config() const { return m_s3Config; }
44 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
45 template <typename S3ConfigT = S3Config>
46 void SetS3Config(S3ConfigT&& value) {
47 m_s3ConfigHasBeenSet = true;
48 m_s3Config = std::forward<S3ConfigT>(value);
49 }
50 template <typename S3ConfigT = S3Config>
51 DataDestinationConfig& WithS3Config(S3ConfigT&& value) {
52 SetS3Config(std::forward<S3ConfigT>(value));
53 return *this;
54 }
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) {
65 m_timestreamConfigHasBeenSet = true;
66 m_timestreamConfig = std::forward<TimestreamConfigT>(value);
67 }
68 template <typename TimestreamConfigT = TimestreamConfig>
69 DataDestinationConfig& WithTimestreamConfig(TimestreamConfigT&& value) {
70 SetTimestreamConfig(std::forward<TimestreamConfigT>(value));
71 return *this;
72 }
74
76
84 inline const MqttTopicConfig& GetMqttTopicConfig() const { return m_mqttTopicConfig; }
85 inline bool MqttTopicConfigHasBeenSet() const { return m_mqttTopicConfigHasBeenSet; }
86 template <typename MqttTopicConfigT = MqttTopicConfig>
87 void SetMqttTopicConfig(MqttTopicConfigT&& value) {
88 m_mqttTopicConfigHasBeenSet = true;
89 m_mqttTopicConfig = std::forward<MqttTopicConfigT>(value);
90 }
91 template <typename MqttTopicConfigT = MqttTopicConfig>
92 DataDestinationConfig& WithMqttTopicConfig(MqttTopicConfigT&& value) {
93 SetMqttTopicConfig(std::forward<MqttTopicConfigT>(value));
94 return *this;
95 }
97 private:
98 S3Config m_s3Config;
99
100 TimestreamConfig m_timestreamConfig;
101
102 MqttTopicConfig m_mqttTopicConfig;
103 bool m_s3ConfigHasBeenSet = false;
104 bool m_timestreamConfigHasBeenSet = false;
105 bool m_mqttTopicConfigHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace IoTFleetWise
110} // 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