AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NullValueField.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/Datatype.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 NullValueField() = default;
40
41
43
46 inline const Aws::String& GetValue() const { return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 template<typename ValueT = Aws::String>
49 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
50 template<typename ValueT = Aws::String>
51 NullValueField& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
53
55
58 inline const Datatype& GetDatatype() const { return m_datatype; }
59 inline bool DatatypeHasBeenSet() const { return m_datatypeHasBeenSet; }
60 template<typename DatatypeT = Datatype>
61 void SetDatatype(DatatypeT&& value) { m_datatypeHasBeenSet = true; m_datatype = std::forward<DatatypeT>(value); }
62 template<typename DatatypeT = Datatype>
63 NullValueField& WithDatatype(DatatypeT&& value) { SetDatatype(std::forward<DatatypeT>(value)); return *this;}
65 private:
66
67 Aws::String m_value;
68 bool m_valueHasBeenSet = false;
69
70 Datatype m_datatype;
71 bool m_datatypeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
NullValueField & WithDatatype(DatatypeT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API NullValueField(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
const Datatype & GetDatatype() const
AWS_GLUE_API NullValueField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API NullValueField()=default
void SetDatatype(DatatypeT &&value)
NullValueField & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue