AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTFleetWise
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTFLEETWISE_API DataDestinationConfig();
38 AWS_IOTFLEETWISE_API DataDestinationConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const S3Config& GetS3Config() const{ return m_s3Config; }
49 inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; }
50 inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; }
51 inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); }
52 inline DataDestinationConfig& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;}
53 inline DataDestinationConfig& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;}
55
57
60 inline const TimestreamConfig& GetTimestreamConfig() const{ return m_timestreamConfig; }
61 inline bool TimestreamConfigHasBeenSet() const { return m_timestreamConfigHasBeenSet; }
62 inline void SetTimestreamConfig(const TimestreamConfig& value) { m_timestreamConfigHasBeenSet = true; m_timestreamConfig = value; }
63 inline void SetTimestreamConfig(TimestreamConfig&& value) { m_timestreamConfigHasBeenSet = true; m_timestreamConfig = std::move(value); }
65 inline DataDestinationConfig& WithTimestreamConfig(TimestreamConfig&& value) { SetTimestreamConfig(std::move(value)); return *this;}
67 private:
68
69 S3Config m_s3Config;
70 bool m_s3ConfigHasBeenSet = false;
71
72 TimestreamConfig m_timestreamConfig;
73 bool m_timestreamConfigHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTFleetWise
78} // namespace Aws
DataDestinationConfig & WithTimestreamConfig(TimestreamConfig &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
DataDestinationConfig & WithS3Config(const S3Config &value)
AWS_IOTFLEETWISE_API DataDestinationConfig(Aws::Utils::Json::JsonView jsonValue)
const TimestreamConfig & GetTimestreamConfig() const
AWS_IOTFLEETWISE_API DataDestinationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataDestinationConfig & WithS3Config(S3Config &&value)
void SetTimestreamConfig(const TimestreamConfig &value)
DataDestinationConfig & WithTimestreamConfig(const TimestreamConfig &value)
Aws::Utils::Json::JsonValue JsonValue