AWS SDK for C++  1.9.159
AWS SDK for C++
HiveJsonSerDe.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 
37  {
38  public:
43 
44 
55  inline const Aws::Vector<Aws::String>& GetTimestampFormats() const{ return m_timestampFormats; }
56 
67  inline bool TimestampFormatsHasBeenSet() const { return m_timestampFormatsHasBeenSet; }
68 
79  inline void SetTimestampFormats(const Aws::Vector<Aws::String>& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats = value; }
80 
91  inline void SetTimestampFormats(Aws::Vector<Aws::String>&& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats = std::move(value); }
92 
103  inline HiveJsonSerDe& WithTimestampFormats(const Aws::Vector<Aws::String>& value) { SetTimestampFormats(value); return *this;}
104 
115  inline HiveJsonSerDe& WithTimestampFormats(Aws::Vector<Aws::String>&& value) { SetTimestampFormats(std::move(value)); return *this;}
116 
127  inline HiveJsonSerDe& AddTimestampFormats(const Aws::String& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(value); return *this; }
128 
139  inline HiveJsonSerDe& AddTimestampFormats(Aws::String&& value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(std::move(value)); return *this; }
140 
151  inline HiveJsonSerDe& AddTimestampFormats(const char* value) { m_timestampFormatsHasBeenSet = true; m_timestampFormats.push_back(value); return *this; }
152 
153  private:
154 
155  Aws::Vector<Aws::String> m_timestampFormats;
156  bool m_timestampFormatsHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace Firehose
161 } // namespace Aws
Aws::Firehose::Model::HiveJsonSerDe::GetTimestampFormats
const Aws::Vector< Aws::String > & GetTimestampFormats() const
Definition: HiveJsonSerDe.h:55
Aws::Firehose::Model::HiveJsonSerDe
Definition: HiveJsonSerDe.h:37
Aws::Firehose::Model::HiveJsonSerDe::HiveJsonSerDe
HiveJsonSerDe()
Aws::Firehose::Model::HiveJsonSerDe::WithTimestampFormats
HiveJsonSerDe & WithTimestampFormats(Aws::Vector< Aws::String > &&value)
Definition: HiveJsonSerDe.h:115
Aws::Firehose::Model::HiveJsonSerDe::AddTimestampFormats
HiveJsonSerDe & AddTimestampFormats(const Aws::String &value)
Definition: HiveJsonSerDe.h:127
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Firehose::Model::HiveJsonSerDe::SetTimestampFormats
void SetTimestampFormats(const Aws::Vector< Aws::String > &value)
Definition: HiveJsonSerDe.h:79
Aws::Firehose::Model::HiveJsonSerDe::HiveJsonSerDe
HiveJsonSerDe(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::HiveJsonSerDe::AddTimestampFormats
HiveJsonSerDe & AddTimestampFormats(const char *value)
Definition: HiveJsonSerDe.h:151
Aws::Firehose::Model::HiveJsonSerDe::SetTimestampFormats
void SetTimestampFormats(Aws::Vector< Aws::String > &&value)
Definition: HiveJsonSerDe.h:91
Aws::Firehose::Model::HiveJsonSerDe::operator=
HiveJsonSerDe & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::HiveJsonSerDe::WithTimestampFormats
HiveJsonSerDe & WithTimestampFormats(const Aws::Vector< Aws::String > &value)
Definition: HiveJsonSerDe.h:103
Aws::Firehose::Model::HiveJsonSerDe::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Firehose_EXPORTS.h
Aws::Firehose::Model::HiveJsonSerDe::TimestampFormatsHasBeenSet
bool TimestampFormatsHasBeenSet() const
Definition: HiveJsonSerDe.h:67
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::HiveJsonSerDe::AddTimestampFormats
HiveJsonSerDe & AddTimestampFormats(Aws::String &&value)
Definition: HiveJsonSerDe.h:139