AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SupportedDialect.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/ViewDialect.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API SupportedDialect() = default;
35
37
40 inline ViewDialect GetDialect() const { return m_dialect; }
41 inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; }
42 inline void SetDialect(ViewDialect value) {
43 m_dialectHasBeenSet = true;
44 m_dialect = value;
45 }
47 SetDialect(value);
48 return *this;
49 }
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) {
60 m_dialectVersionHasBeenSet = true;
61 m_dialectVersion = std::forward<DialectVersionT>(value);
62 }
63 template <typename DialectVersionT = Aws::String>
64 SupportedDialect& WithDialectVersion(DialectVersionT&& value) {
65 SetDialectVersion(std::forward<DialectVersionT>(value));
66 return *this;
67 }
69 private:
71
72 Aws::String m_dialectVersion;
73 bool m_dialectHasBeenSet = false;
74 bool m_dialectVersionHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Glue
79} // 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