AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HiveJsonSerDe.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Firehose
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_FIREHOSE_API HiveJsonSerDe();
40 AWS_FIREHOSE_API HiveJsonSerDe(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
56 inline const Aws::Vector<Aws::String>& GetTimestampFormats() const{ return m_timestampFormats; }
57 inline bool TimestampFormatsHasBeenSet() const { return m_timestampFormatsHasBeenSet; }
58 inline void SetTimestampFormats(const Aws::Vector<Aws::String>& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats = value; }
59 inline void SetTimestampFormats(Aws::Vector<Aws::String>&& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats = std::move(value); }
61 inline HiveJsonSerDe& WithTimestampFormats(Aws::Vector<Aws::String>&& value) { SetTimestampFormats(std::move(value)); return *this;}
62 inline HiveJsonSerDe& AddTimestampFormats(const Aws::String& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(value); return *this; }
63 inline HiveJsonSerDe& AddTimestampFormats(Aws::String&& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(std::move(value)); return *this; }
64 inline HiveJsonSerDe& AddTimestampFormats(const char* value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(value); return *this; }
66 private:
67
68 Aws::Vector<Aws::String> m_timestampFormats;
69 bool m_timestampFormatsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Firehose
74} // namespace Aws
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestampFormats(Aws::Vector< Aws::String > &&value)
void SetTimestampFormats(const Aws::Vector< Aws::String > &value)
AWS_FIREHOSE_API HiveJsonSerDe(Aws::Utils::Json::JsonView jsonValue)
HiveJsonSerDe & AddTimestampFormats(const Aws::String &value)
HiveJsonSerDe & AddTimestampFormats(const char *value)
AWS_FIREHOSE_API HiveJsonSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetTimestampFormats() const
HiveJsonSerDe & WithTimestampFormats(const Aws::Vector< Aws::String > &value)
HiveJsonSerDe & WithTimestampFormats(Aws::Vector< Aws::String > &&value)
HiveJsonSerDe & AddTimestampFormats(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue