AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataModelConfiguration.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/model/DataModel.h>
9#include <aws/timestream-write/model/DataModelS3Configuration.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 TimestreamWrite
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_TIMESTREAMWRITE_API DataModelConfiguration();
36 AWS_TIMESTREAMWRITE_API DataModelConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMWRITE_API DataModelConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DataModel& GetDataModel() const{ return m_dataModel; }
46 inline bool DataModelHasBeenSet() const { return m_dataModelHasBeenSet; }
47 inline void SetDataModel(const DataModel& value) { m_dataModelHasBeenSet = true; m_dataModel = value; }
48 inline void SetDataModel(DataModel&& value) { m_dataModelHasBeenSet = true; m_dataModel = std::move(value); }
49 inline DataModelConfiguration& WithDataModel(const DataModel& value) { SetDataModel(value); return *this;}
50 inline DataModelConfiguration& WithDataModel(DataModel&& value) { SetDataModel(std::move(value)); return *this;}
52
54
57 inline const DataModelS3Configuration& GetDataModelS3Configuration() const{ return m_dataModelS3Configuration; }
58 inline bool DataModelS3ConfigurationHasBeenSet() const { return m_dataModelS3ConfigurationHasBeenSet; }
59 inline void SetDataModelS3Configuration(const DataModelS3Configuration& value) { m_dataModelS3ConfigurationHasBeenSet = true; m_dataModelS3Configuration = value; }
60 inline void SetDataModelS3Configuration(DataModelS3Configuration&& value) { m_dataModelS3ConfigurationHasBeenSet = true; m_dataModelS3Configuration = std::move(value); }
64 private:
65
66 DataModel m_dataModel;
67 bool m_dataModelHasBeenSet = false;
68
69 DataModelS3Configuration m_dataModelS3Configuration;
70 bool m_dataModelS3ConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TimestreamWrite
75} // namespace Aws
const DataModelS3Configuration & GetDataModelS3Configuration() const
AWS_TIMESTREAMWRITE_API DataModelConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataModelS3Configuration(DataModelS3Configuration &&value)
DataModelConfiguration & WithDataModelS3Configuration(const DataModelS3Configuration &value)
DataModelConfiguration & WithDataModel(DataModel &&value)
AWS_TIMESTREAMWRITE_API DataModelConfiguration(Aws::Utils::Json::JsonView jsonValue)
DataModelConfiguration & WithDataModel(const DataModel &value)
DataModelConfiguration & WithDataModelS3Configuration(DataModelS3Configuration &&value)
void SetDataModelS3Configuration(const DataModelS3Configuration &value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue