AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SupportedDialect.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ViewDialect.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 Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API SupportedDialect() = default;
40
41
43
46 inline ViewDialect GetDialect() const { return m_dialect; }
47 inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; }
48 inline void SetDialect(ViewDialect value) { m_dialectHasBeenSet = true; m_dialect = value; }
49 inline SupportedDialect& WithDialect(ViewDialect value) { SetDialect(value); return *this;}
51
53
56 inline const Aws::String& GetDialectVersion() const { return m_dialectVersion; }
57 inline bool DialectVersionHasBeenSet() const { return m_dialectVersionHasBeenSet; }
58 template<typename DialectVersionT = Aws::String>
59 void SetDialectVersion(DialectVersionT&& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = std::forward<DialectVersionT>(value); }
60 template<typename DialectVersionT = Aws::String>
61 SupportedDialect& WithDialectVersion(DialectVersionT&& value) { SetDialectVersion(std::forward<DialectVersionT>(value)); return *this;}
63 private:
64
66 bool m_dialectHasBeenSet = false;
67
68 Aws::String m_dialectVersion;
69 bool m_dialectVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Glue
74} // namespace Aws
AWS_GLUE_API SupportedDialect()=default
AWS_GLUE_API SupportedDialect & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDialectVersion() const
void SetDialect(ViewDialect value)
SupportedDialect & WithDialect(ViewDialect value)
void SetDialectVersion(DialectVersionT &&value)
SupportedDialect & WithDialectVersion(DialectVersionT &&value)
AWS_GLUE_API SupportedDialect(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue