AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceConfiguration.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/model/DataSourceS3Configuration.h>
9#include <aws/timestream-write/model/CsvConfiguration.h>
10#include <aws/timestream-write/model/BatchLoadDataFormat.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 TimestreamWrite
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_TIMESTREAMWRITE_API DataSourceConfiguration();
38 AWS_TIMESTREAMWRITE_API DataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DataSourceS3Configuration& GetDataSourceS3Configuration() const{ return m_dataSourceS3Configuration; }
48 inline bool DataSourceS3ConfigurationHasBeenSet() const { return m_dataSourceS3ConfigurationHasBeenSet; }
49 inline void SetDataSourceS3Configuration(const DataSourceS3Configuration& value) { m_dataSourceS3ConfigurationHasBeenSet = true; m_dataSourceS3Configuration = value; }
50 inline void SetDataSourceS3Configuration(DataSourceS3Configuration&& value) { m_dataSourceS3ConfigurationHasBeenSet = true; m_dataSourceS3Configuration = std::move(value); }
54
56
57 inline const CsvConfiguration& GetCsvConfiguration() const{ return m_csvConfiguration; }
58 inline bool CsvConfigurationHasBeenSet() const { return m_csvConfigurationHasBeenSet; }
59 inline void SetCsvConfiguration(const CsvConfiguration& value) { m_csvConfigurationHasBeenSet = true; m_csvConfiguration = value; }
60 inline void SetCsvConfiguration(CsvConfiguration&& value) { m_csvConfigurationHasBeenSet = true; m_csvConfiguration = std::move(value); }
62 inline DataSourceConfiguration& WithCsvConfiguration(CsvConfiguration&& value) { SetCsvConfiguration(std::move(value)); return *this;}
64
66
69 inline const BatchLoadDataFormat& GetDataFormat() const{ return m_dataFormat; }
70 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
71 inline void SetDataFormat(const BatchLoadDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
72 inline void SetDataFormat(BatchLoadDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); }
73 inline DataSourceConfiguration& WithDataFormat(const BatchLoadDataFormat& value) { SetDataFormat(value); return *this;}
74 inline DataSourceConfiguration& WithDataFormat(BatchLoadDataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
76 private:
77
78 DataSourceS3Configuration m_dataSourceS3Configuration;
79 bool m_dataSourceS3ConfigurationHasBeenSet = false;
80
81 CsvConfiguration m_csvConfiguration;
82 bool m_csvConfigurationHasBeenSet = false;
83
84 BatchLoadDataFormat m_dataFormat;
85 bool m_dataFormatHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace TimestreamWrite
90} // namespace Aws
DataSourceConfiguration & WithDataFormat(const BatchLoadDataFormat &value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataSourceS3Configuration(const DataSourceS3Configuration &value)
DataSourceConfiguration & WithDataFormat(BatchLoadDataFormat &&value)
AWS_TIMESTREAMWRITE_API DataSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API DataSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const DataSourceS3Configuration & GetDataSourceS3Configuration() const
DataSourceConfiguration & WithDataSourceS3Configuration(const DataSourceS3Configuration &value)
DataSourceConfiguration & WithCsvConfiguration(CsvConfiguration &&value)
DataSourceConfiguration & WithDataSourceS3Configuration(DataSourceS3Configuration &&value)
void SetDataSourceS3Configuration(DataSourceS3Configuration &&value)
DataSourceConfiguration & WithCsvConfiguration(const CsvConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue