AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ViewRepresentation.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 ViewRepresentation() = 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 ViewRepresentation& 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 ViewRepresentation& WithDialectVersion(DialectVersionT&& value) { SetDialectVersion(std::forward<DialectVersionT>(value)); return *this;}
63
65
72 inline const Aws::String& GetViewOriginalText() const { return m_viewOriginalText; }
73 inline bool ViewOriginalTextHasBeenSet() const { return m_viewOriginalTextHasBeenSet; }
74 template<typename ViewOriginalTextT = Aws::String>
75 void SetViewOriginalText(ViewOriginalTextT&& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = std::forward<ViewOriginalTextT>(value); }
76 template<typename ViewOriginalTextT = Aws::String>
77 ViewRepresentation& WithViewOriginalText(ViewOriginalTextT&& value) { SetViewOriginalText(std::forward<ViewOriginalTextT>(value)); return *this;}
79
81
88 inline const Aws::String& GetViewExpandedText() const { return m_viewExpandedText; }
89 inline bool ViewExpandedTextHasBeenSet() const { return m_viewExpandedTextHasBeenSet; }
90 template<typename ViewExpandedTextT = Aws::String>
91 void SetViewExpandedText(ViewExpandedTextT&& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = std::forward<ViewExpandedTextT>(value); }
92 template<typename ViewExpandedTextT = Aws::String>
93 ViewRepresentation& WithViewExpandedText(ViewExpandedTextT&& value) { SetViewExpandedText(std::forward<ViewExpandedTextT>(value)); return *this;}
95
97
101 inline const Aws::String& GetValidationConnection() const { return m_validationConnection; }
102 inline bool ValidationConnectionHasBeenSet() const { return m_validationConnectionHasBeenSet; }
103 template<typename ValidationConnectionT = Aws::String>
104 void SetValidationConnection(ValidationConnectionT&& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = std::forward<ValidationConnectionT>(value); }
105 template<typename ValidationConnectionT = Aws::String>
106 ViewRepresentation& WithValidationConnection(ValidationConnectionT&& value) { SetValidationConnection(std::forward<ValidationConnectionT>(value)); return *this;}
108
110
114 inline bool GetIsStale() const { return m_isStale; }
115 inline bool IsStaleHasBeenSet() const { return m_isStaleHasBeenSet; }
116 inline void SetIsStale(bool value) { m_isStaleHasBeenSet = true; m_isStale = value; }
117 inline ViewRepresentation& WithIsStale(bool value) { SetIsStale(value); return *this;}
119 private:
120
122 bool m_dialectHasBeenSet = false;
123
124 Aws::String m_dialectVersion;
125 bool m_dialectVersionHasBeenSet = false;
126
127 Aws::String m_viewOriginalText;
128 bool m_viewOriginalTextHasBeenSet = false;
129
130 Aws::String m_viewExpandedText;
131 bool m_viewExpandedTextHasBeenSet = false;
132
133 Aws::String m_validationConnection;
134 bool m_validationConnectionHasBeenSet = false;
135
136 bool m_isStale{false};
137 bool m_isStaleHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Glue
142} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ViewRepresentation(Aws::Utils::Json::JsonView jsonValue)
void SetValidationConnection(ValidationConnectionT &&value)
const Aws::String & GetViewOriginalText() const
ViewRepresentation & WithViewOriginalText(ViewOriginalTextT &&value)
ViewRepresentation & WithViewExpandedText(ViewExpandedTextT &&value)
ViewRepresentation & WithDialect(ViewDialect value)
const Aws::String & GetViewExpandedText() const
ViewRepresentation & WithIsStale(bool value)
ViewRepresentation & WithDialectVersion(DialectVersionT &&value)
AWS_GLUE_API ViewRepresentation()=default
ViewRepresentation & WithValidationConnection(ValidationConnectionT &&value)
const Aws::String & GetValidationConnection() const
void SetViewOriginalText(ViewOriginalTextT &&value)
void SetViewExpandedText(ViewExpandedTextT &&value)
AWS_GLUE_API ViewRepresentation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDialectVersion(DialectVersionT &&value)
const Aws::String & GetDialectVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue