AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DataFormatConversionConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/SchemaConfiguration.h>
9#include <aws/firehose/model/InputFormatConfiguration.h>
10#include <aws/firehose/model/OutputFormatConfiguration.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 Firehose
24{
25namespace Model
26{
27
41 {
42 public:
43 AWS_FIREHOSE_API DataFormatConversionConfiguration() = default;
46 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const SchemaConfiguration& GetSchemaConfiguration() const { return m_schemaConfiguration; }
56 inline bool SchemaConfigurationHasBeenSet() const { return m_schemaConfigurationHasBeenSet; }
57 template<typename SchemaConfigurationT = SchemaConfiguration>
58 void SetSchemaConfiguration(SchemaConfigurationT&& value) { m_schemaConfigurationHasBeenSet = true; m_schemaConfiguration = std::forward<SchemaConfigurationT>(value); }
59 template<typename SchemaConfigurationT = SchemaConfiguration>
60 DataFormatConversionConfiguration& WithSchemaConfiguration(SchemaConfigurationT&& value) { SetSchemaConfiguration(std::forward<SchemaConfigurationT>(value)); return *this;}
62
64
69 inline const InputFormatConfiguration& GetInputFormatConfiguration() const { return m_inputFormatConfiguration; }
70 inline bool InputFormatConfigurationHasBeenSet() const { return m_inputFormatConfigurationHasBeenSet; }
71 template<typename InputFormatConfigurationT = InputFormatConfiguration>
72 void SetInputFormatConfiguration(InputFormatConfigurationT&& value) { m_inputFormatConfigurationHasBeenSet = true; m_inputFormatConfiguration = std::forward<InputFormatConfigurationT>(value); }
73 template<typename InputFormatConfigurationT = InputFormatConfiguration>
74 DataFormatConversionConfiguration& WithInputFormatConfiguration(InputFormatConfigurationT&& value) { SetInputFormatConfiguration(std::forward<InputFormatConfigurationT>(value)); return *this;}
76
78
83 inline const OutputFormatConfiguration& GetOutputFormatConfiguration() const { return m_outputFormatConfiguration; }
84 inline bool OutputFormatConfigurationHasBeenSet() const { return m_outputFormatConfigurationHasBeenSet; }
85 template<typename OutputFormatConfigurationT = OutputFormatConfiguration>
86 void SetOutputFormatConfiguration(OutputFormatConfigurationT&& value) { m_outputFormatConfigurationHasBeenSet = true; m_outputFormatConfiguration = std::forward<OutputFormatConfigurationT>(value); }
87 template<typename OutputFormatConfigurationT = OutputFormatConfiguration>
88 DataFormatConversionConfiguration& WithOutputFormatConfiguration(OutputFormatConfigurationT&& value) { SetOutputFormatConfiguration(std::forward<OutputFormatConfigurationT>(value)); return *this;}
90
92
96 inline bool GetEnabled() const { return m_enabled; }
97 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
98 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
99 inline DataFormatConversionConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
101 private:
102
103 SchemaConfiguration m_schemaConfiguration;
104 bool m_schemaConfigurationHasBeenSet = false;
105
106 InputFormatConfiguration m_inputFormatConfiguration;
107 bool m_inputFormatConfigurationHasBeenSet = false;
108
109 OutputFormatConfiguration m_outputFormatConfiguration;
110 bool m_outputFormatConfigurationHasBeenSet = false;
111
112 bool m_enabled{false};
113 bool m_enabledHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Firehose
118} // namespace Aws
AWS_FIREHOSE_API DataFormatConversionConfiguration()=default
AWS_FIREHOSE_API DataFormatConversionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DataFormatConversionConfiguration & WithSchemaConfiguration(SchemaConfigurationT &&value)
DataFormatConversionConfiguration & WithInputFormatConfiguration(InputFormatConfigurationT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
DataFormatConversionConfiguration & WithOutputFormatConfiguration(OutputFormatConfigurationT &&value)
AWS_FIREHOSE_API DataFormatConversionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue