AWS SDK for C++  1.9.159
AWS SDK for C++
Deserializer.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Firehose
23 {
24 namespace Model
25 {
26 
40  {
41  public:
46 
47 
55  inline const OpenXJsonSerDe& GetOpenXJsonSerDe() const{ return m_openXJsonSerDe; }
56 
64  inline bool OpenXJsonSerDeHasBeenSet() const { return m_openXJsonSerDeHasBeenSet; }
65 
73  inline void SetOpenXJsonSerDe(const OpenXJsonSerDe& value) { m_openXJsonSerDeHasBeenSet = true; m_openXJsonSerDe = value; }
74 
82  inline void SetOpenXJsonSerDe(OpenXJsonSerDe&& value) { m_openXJsonSerDeHasBeenSet = true; m_openXJsonSerDe = std::move(value); }
83 
91  inline Deserializer& WithOpenXJsonSerDe(const OpenXJsonSerDe& value) { SetOpenXJsonSerDe(value); return *this;}
92 
100  inline Deserializer& WithOpenXJsonSerDe(OpenXJsonSerDe&& value) { SetOpenXJsonSerDe(std::move(value)); return *this;}
101 
102 
110  inline const HiveJsonSerDe& GetHiveJsonSerDe() const{ return m_hiveJsonSerDe; }
111 
119  inline bool HiveJsonSerDeHasBeenSet() const { return m_hiveJsonSerDeHasBeenSet; }
120 
128  inline void SetHiveJsonSerDe(const HiveJsonSerDe& value) { m_hiveJsonSerDeHasBeenSet = true; m_hiveJsonSerDe = value; }
129 
137  inline void SetHiveJsonSerDe(HiveJsonSerDe&& value) { m_hiveJsonSerDeHasBeenSet = true; m_hiveJsonSerDe = std::move(value); }
138 
146  inline Deserializer& WithHiveJsonSerDe(const HiveJsonSerDe& value) { SetHiveJsonSerDe(value); return *this;}
147 
155  inline Deserializer& WithHiveJsonSerDe(HiveJsonSerDe&& value) { SetHiveJsonSerDe(std::move(value)); return *this;}
156 
157  private:
158 
159  OpenXJsonSerDe m_openXJsonSerDe;
160  bool m_openXJsonSerDeHasBeenSet;
161 
162  HiveJsonSerDe m_hiveJsonSerDe;
163  bool m_hiveJsonSerDeHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace Firehose
168 } // namespace Aws
Aws::Firehose::Model::Deserializer::GetOpenXJsonSerDe
const OpenXJsonSerDe & GetOpenXJsonSerDe() const
Definition: Deserializer.h:55
Aws::Firehose::Model::OpenXJsonSerDe
Definition: OpenXJsonSerDe.h:37
Aws::Firehose::Model::HiveJsonSerDe
Definition: HiveJsonSerDe.h:37
Aws::Firehose::Model::Deserializer::operator=
Deserializer & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::Deserializer::WithOpenXJsonSerDe
Deserializer & WithOpenXJsonSerDe(OpenXJsonSerDe &&value)
Definition: Deserializer.h:100
OpenXJsonSerDe.h
Aws::Firehose::Model::Deserializer::WithHiveJsonSerDe
Deserializer & WithHiveJsonSerDe(const HiveJsonSerDe &value)
Definition: Deserializer.h:146
Aws::Firehose::Model::Deserializer::HiveJsonSerDeHasBeenSet
bool HiveJsonSerDeHasBeenSet() const
Definition: Deserializer.h:119
Aws::Firehose::Model::Deserializer::OpenXJsonSerDeHasBeenSet
bool OpenXJsonSerDeHasBeenSet() const
Definition: Deserializer.h:64
Aws::Firehose::Model::Deserializer::SetHiveJsonSerDe
void SetHiveJsonSerDe(HiveJsonSerDe &&value)
Definition: Deserializer.h:137
Aws::Firehose::Model::Deserializer::WithHiveJsonSerDe
Deserializer & WithHiveJsonSerDe(HiveJsonSerDe &&value)
Definition: Deserializer.h:155
Aws::Firehose::Model::Deserializer::SetOpenXJsonSerDe
void SetOpenXJsonSerDe(OpenXJsonSerDe &&value)
Definition: Deserializer.h:82
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::Deserializer::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::Deserializer::WithOpenXJsonSerDe
Deserializer & WithOpenXJsonSerDe(const OpenXJsonSerDe &value)
Definition: Deserializer.h:91
HiveJsonSerDe.h
Aws::Firehose::Model::Deserializer::SetOpenXJsonSerDe
void SetOpenXJsonSerDe(const OpenXJsonSerDe &value)
Definition: Deserializer.h:73
Firehose_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::Deserializer::GetHiveJsonSerDe
const HiveJsonSerDe & GetHiveJsonSerDe() const
Definition: Deserializer.h:110
Aws::Firehose::Model::Deserializer::SetHiveJsonSerDe
void SetHiveJsonSerDe(const HiveJsonSerDe &value)
Definition: Deserializer.h:128
Aws::Firehose::Model::Deserializer::Deserializer
Deserializer()
Aws::Firehose::Model::Deserializer
Definition: Deserializer.h:40
Aws::Firehose::Model::Deserializer::Deserializer
Deserializer(Aws::Utils::Json::JsonView jsonValue)