AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SerDeInfo.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API SerDeInfo();
37 AWS_GLUE_API SerDeInfo(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline SerDeInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline SerDeInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline SerDeInfo& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::String& GetSerializationLibrary() const{ return m_serializationLibrary; }
62 inline bool SerializationLibraryHasBeenSet() const { return m_serializationLibraryHasBeenSet; }
63 inline void SetSerializationLibrary(const Aws::String& value) { m_serializationLibraryHasBeenSet = true; m_serializationLibrary = value; }
64 inline void SetSerializationLibrary(Aws::String&& value) { m_serializationLibraryHasBeenSet = true; m_serializationLibrary = std::move(value); }
65 inline void SetSerializationLibrary(const char* value) { m_serializationLibraryHasBeenSet = true; m_serializationLibrary.assign(value); }
66 inline SerDeInfo& WithSerializationLibrary(const Aws::String& value) { SetSerializationLibrary(value); return *this;}
67 inline SerDeInfo& WithSerializationLibrary(Aws::String&& value) { SetSerializationLibrary(std::move(value)); return *this;}
68 inline SerDeInfo& WithSerializationLibrary(const char* value) { SetSerializationLibrary(value); return *this;}
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
78 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
79 inline SerDeInfo& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
80 inline SerDeInfo& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
81 inline SerDeInfo& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
82 inline SerDeInfo& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
83 inline SerDeInfo& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
84 inline SerDeInfo& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
85 inline SerDeInfo& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
86 inline SerDeInfo& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
87 inline SerDeInfo& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_serializationLibrary;
95 bool m_serializationLibraryHasBeenSet = false;
96
98 bool m_parametersHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Glue
103} // namespace Aws
SerDeInfo & AddParameters(const char *key, const char *value)
Definition SerDeInfo.h:87
const Aws::String & GetName() const
Definition SerDeInfo.h:46
AWS_GLUE_API SerDeInfo(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
Definition SerDeInfo.h:50
void SetSerializationLibrary(const Aws::String &value)
Definition SerDeInfo.h:63
SerDeInfo & AddParameters(const Aws::String &key, const Aws::String &value)
Definition SerDeInfo.h:81
AWS_GLUE_API SerDeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition SerDeInfo.h:78
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition SerDeInfo.h:75
bool NameHasBeenSet() const
Definition SerDeInfo.h:47
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition SerDeInfo.h:77
SerDeInfo & WithSerializationLibrary(Aws::String &&value)
Definition SerDeInfo.h:67
SerDeInfo & AddParameters(Aws::String &&key, Aws::String &&value)
Definition SerDeInfo.h:84
SerDeInfo & WithName(Aws::String &&value)
Definition SerDeInfo.h:52
SerDeInfo & AddParameters(const char *key, Aws::String &&value)
Definition SerDeInfo.h:85
void SetName(const Aws::String &value)
Definition SerDeInfo.h:48
SerDeInfo & AddParameters(Aws::String &&key, const Aws::String &value)
Definition SerDeInfo.h:82
void SetSerializationLibrary(const char *value)
Definition SerDeInfo.h:65
SerDeInfo & WithSerializationLibrary(const Aws::String &value)
Definition SerDeInfo.h:66
SerDeInfo & AddParameters(Aws::String &&key, const char *value)
Definition SerDeInfo.h:86
SerDeInfo & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition SerDeInfo.h:79
void SetName(Aws::String &&value)
Definition SerDeInfo.h:49
const Aws::String & GetSerializationLibrary() const
Definition SerDeInfo.h:61
SerDeInfo & WithName(const Aws::String &value)
Definition SerDeInfo.h:51
SerDeInfo & WithSerializationLibrary(const char *value)
Definition SerDeInfo.h:68
bool ParametersHasBeenSet() const
Definition SerDeInfo.h:76
SerDeInfo & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition SerDeInfo.h:80
bool SerializationLibraryHasBeenSet() const
Definition SerDeInfo.h:62
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SerDeInfo & AddParameters(const Aws::String &key, Aws::String &&value)
Definition SerDeInfo.h:83
SerDeInfo & WithName(const char *value)
Definition SerDeInfo.h:53
void SetSerializationLibrary(Aws::String &&value)
Definition SerDeInfo.h:64
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue