AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const ViewDialect& GetDialect() const{ return m_dialect; }
47 inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; }
48 inline void SetDialect(const ViewDialect& value) { m_dialectHasBeenSet = true; m_dialect = value; }
49 inline void SetDialect(ViewDialect&& value) { m_dialectHasBeenSet = true; m_dialect = std::move(value); }
50 inline SupportedDialect& WithDialect(const ViewDialect& value) { SetDialect(value); return *this;}
51 inline SupportedDialect& WithDialect(ViewDialect&& value) { SetDialect(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDialectVersion() const{ return m_dialectVersion; }
59 inline bool DialectVersionHasBeenSet() const { return m_dialectVersionHasBeenSet; }
60 inline void SetDialectVersion(const Aws::String& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = value; }
61 inline void SetDialectVersion(Aws::String&& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = std::move(value); }
62 inline void SetDialectVersion(const char* value) { m_dialectVersionHasBeenSet = true; m_dialectVersion.assign(value); }
63 inline SupportedDialect& WithDialectVersion(const Aws::String& value) { SetDialectVersion(value); return *this;}
64 inline SupportedDialect& WithDialectVersion(Aws::String&& value) { SetDialectVersion(std::move(value)); return *this;}
65 inline SupportedDialect& WithDialectVersion(const char* value) { SetDialectVersion(value); return *this;}
67 private:
68
69 ViewDialect m_dialect;
70 bool m_dialectHasBeenSet = false;
71
72 Aws::String m_dialectVersion;
73 bool m_dialectVersionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
void SetDialectVersion(const char *value)
SupportedDialect & WithDialectVersion(const char *value)
void SetDialect(const ViewDialect &value)
AWS_GLUE_API SupportedDialect & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedDialect & WithDialectVersion(Aws::String &&value)
const ViewDialect & GetDialect() const
SupportedDialect & WithDialect(const ViewDialect &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
SupportedDialect & WithDialectVersion(const Aws::String &value)
const Aws::String & GetDialectVersion() const
void SetDialectVersion(const Aws::String &value)
void SetDialect(ViewDialect &&value)
AWS_GLUE_API SupportedDialect(Aws::Utils::Json::JsonView jsonValue)
SupportedDialect & WithDialect(ViewDialect &&value)
void SetDialectVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue