AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DataFormatConversionConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/firehose/model/InputFormatConfiguration.h>
9#include <aws/firehose/model/OutputFormatConfiguration.h>
10#include <aws/firehose/model/SchemaConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Firehose {
22namespace Model {
23
37 public:
38 AWS_FIREHOSE_API DataFormatConversionConfiguration() = default;
41 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
49 inline const SchemaConfiguration& GetSchemaConfiguration() const { return m_schemaConfiguration; }
50 inline bool SchemaConfigurationHasBeenSet() const { return m_schemaConfigurationHasBeenSet; }
51 template <typename SchemaConfigurationT = SchemaConfiguration>
52 void SetSchemaConfiguration(SchemaConfigurationT&& value) {
53 m_schemaConfigurationHasBeenSet = true;
54 m_schemaConfiguration = std::forward<SchemaConfigurationT>(value);
55 }
56 template <typename SchemaConfigurationT = SchemaConfiguration>
58 SetSchemaConfiguration(std::forward<SchemaConfigurationT>(value));
59 return *this;
60 }
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) {
73 m_inputFormatConfigurationHasBeenSet = true;
74 m_inputFormatConfiguration = std::forward<InputFormatConfigurationT>(value);
75 }
76 template <typename InputFormatConfigurationT = InputFormatConfiguration>
78 SetInputFormatConfiguration(std::forward<InputFormatConfigurationT>(value));
79 return *this;
80 }
82
84
89 inline const OutputFormatConfiguration& GetOutputFormatConfiguration() const { return m_outputFormatConfiguration; }
90 inline bool OutputFormatConfigurationHasBeenSet() const { return m_outputFormatConfigurationHasBeenSet; }
91 template <typename OutputFormatConfigurationT = OutputFormatConfiguration>
92 void SetOutputFormatConfiguration(OutputFormatConfigurationT&& value) {
93 m_outputFormatConfigurationHasBeenSet = true;
94 m_outputFormatConfiguration = std::forward<OutputFormatConfigurationT>(value);
95 }
96 template <typename OutputFormatConfigurationT = OutputFormatConfiguration>
98 SetOutputFormatConfiguration(std::forward<OutputFormatConfigurationT>(value));
99 return *this;
100 }
102
104
108 inline bool GetEnabled() const { return m_enabled; }
109 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
110 inline void SetEnabled(bool value) {
111 m_enabledHasBeenSet = true;
112 m_enabled = value;
113 }
115 SetEnabled(value);
116 return *this;
117 }
119 private:
120 SchemaConfiguration m_schemaConfiguration;
121
122 InputFormatConfiguration m_inputFormatConfiguration;
123
124 OutputFormatConfiguration m_outputFormatConfiguration;
125
126 bool m_enabled{false};
127 bool m_schemaConfigurationHasBeenSet = false;
128 bool m_inputFormatConfigurationHasBeenSet = false;
129 bool m_outputFormatConfigurationHasBeenSet = false;
130 bool m_enabledHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace Firehose
135} // 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