AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ViewRepresentation.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 ViewRepresentation() = 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 ViewRepresentation& WithDialectVersion(DialectVersionT&& value) {
65 SetDialectVersion(std::forward<DialectVersionT>(value));
66 return *this;
67 }
69
71
78 inline const Aws::String& GetViewOriginalText() const { return m_viewOriginalText; }
79 inline bool ViewOriginalTextHasBeenSet() const { return m_viewOriginalTextHasBeenSet; }
80 template <typename ViewOriginalTextT = Aws::String>
81 void SetViewOriginalText(ViewOriginalTextT&& value) {
82 m_viewOriginalTextHasBeenSet = true;
83 m_viewOriginalText = std::forward<ViewOriginalTextT>(value);
84 }
85 template <typename ViewOriginalTextT = Aws::String>
86 ViewRepresentation& WithViewOriginalText(ViewOriginalTextT&& value) {
87 SetViewOriginalText(std::forward<ViewOriginalTextT>(value));
88 return *this;
89 }
91
93
100 inline const Aws::String& GetViewExpandedText() const { return m_viewExpandedText; }
101 inline bool ViewExpandedTextHasBeenSet() const { return m_viewExpandedTextHasBeenSet; }
102 template <typename ViewExpandedTextT = Aws::String>
103 void SetViewExpandedText(ViewExpandedTextT&& value) {
104 m_viewExpandedTextHasBeenSet = true;
105 m_viewExpandedText = std::forward<ViewExpandedTextT>(value);
106 }
107 template <typename ViewExpandedTextT = Aws::String>
108 ViewRepresentation& WithViewExpandedText(ViewExpandedTextT&& value) {
109 SetViewExpandedText(std::forward<ViewExpandedTextT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetValidationConnection() const { return m_validationConnection; }
120 inline bool ValidationConnectionHasBeenSet() const { return m_validationConnectionHasBeenSet; }
121 template <typename ValidationConnectionT = Aws::String>
122 void SetValidationConnection(ValidationConnectionT&& value) {
123 m_validationConnectionHasBeenSet = true;
124 m_validationConnection = std::forward<ValidationConnectionT>(value);
125 }
126 template <typename ValidationConnectionT = Aws::String>
127 ViewRepresentation& WithValidationConnection(ValidationConnectionT&& value) {
128 SetValidationConnection(std::forward<ValidationConnectionT>(value));
129 return *this;
130 }
132
134
138 inline bool GetIsStale() const { return m_isStale; }
139 inline bool IsStaleHasBeenSet() const { return m_isStaleHasBeenSet; }
140 inline void SetIsStale(bool value) {
141 m_isStaleHasBeenSet = true;
142 m_isStale = value;
143 }
144 inline ViewRepresentation& WithIsStale(bool value) {
145 SetIsStale(value);
146 return *this;
147 }
149 private:
151
152 Aws::String m_dialectVersion;
153
154 Aws::String m_viewOriginalText;
155
156 Aws::String m_viewExpandedText;
157
158 Aws::String m_validationConnection;
159
160 bool m_isStale{false};
161 bool m_dialectHasBeenSet = false;
162 bool m_dialectVersionHasBeenSet = false;
163 bool m_viewOriginalTextHasBeenSet = false;
164 bool m_viewExpandedTextHasBeenSet = false;
165 bool m_validationConnectionHasBeenSet = false;
166 bool m_isStaleHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace Glue
171} // 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