AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 ViewRepresentation& WithDialect(const ViewDialect& value) { SetDialect(value); return *this;}
51 inline ViewRepresentation& 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 ViewRepresentation& WithDialectVersion(const Aws::String& value) { SetDialectVersion(value); return *this;}
64 inline ViewRepresentation& WithDialectVersion(Aws::String&& value) { SetDialectVersion(std::move(value)); return *this;}
65 inline ViewRepresentation& WithDialectVersion(const char* value) { SetDialectVersion(value); return *this;}
67
69
76 inline const Aws::String& GetViewOriginalText() const{ return m_viewOriginalText; }
77 inline bool ViewOriginalTextHasBeenSet() const { return m_viewOriginalTextHasBeenSet; }
78 inline void SetViewOriginalText(const Aws::String& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = value; }
79 inline void SetViewOriginalText(Aws::String&& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = std::move(value); }
80 inline void SetViewOriginalText(const char* value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText.assign(value); }
81 inline ViewRepresentation& WithViewOriginalText(const Aws::String& value) { SetViewOriginalText(value); return *this;}
82 inline ViewRepresentation& WithViewOriginalText(Aws::String&& value) { SetViewOriginalText(std::move(value)); return *this;}
83 inline ViewRepresentation& WithViewOriginalText(const char* value) { SetViewOriginalText(value); return *this;}
85
87
94 inline const Aws::String& GetViewExpandedText() const{ return m_viewExpandedText; }
95 inline bool ViewExpandedTextHasBeenSet() const { return m_viewExpandedTextHasBeenSet; }
96 inline void SetViewExpandedText(const Aws::String& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = value; }
97 inline void SetViewExpandedText(Aws::String&& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = std::move(value); }
98 inline void SetViewExpandedText(const char* value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText.assign(value); }
99 inline ViewRepresentation& WithViewExpandedText(const Aws::String& value) { SetViewExpandedText(value); return *this;}
100 inline ViewRepresentation& WithViewExpandedText(Aws::String&& value) { SetViewExpandedText(std::move(value)); return *this;}
101 inline ViewRepresentation& WithViewExpandedText(const char* value) { SetViewExpandedText(value); return *this;}
103
105
109 inline const Aws::String& GetValidationConnection() const{ return m_validationConnection; }
110 inline bool ValidationConnectionHasBeenSet() const { return m_validationConnectionHasBeenSet; }
111 inline void SetValidationConnection(const Aws::String& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = value; }
112 inline void SetValidationConnection(Aws::String&& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = std::move(value); }
113 inline void SetValidationConnection(const char* value) { m_validationConnectionHasBeenSet = true; m_validationConnection.assign(value); }
115 inline ViewRepresentation& WithValidationConnection(Aws::String&& value) { SetValidationConnection(std::move(value)); return *this;}
116 inline ViewRepresentation& WithValidationConnection(const char* value) { SetValidationConnection(value); return *this;}
118
120
124 inline bool GetIsStale() const{ return m_isStale; }
125 inline bool IsStaleHasBeenSet() const { return m_isStaleHasBeenSet; }
126 inline void SetIsStale(bool value) { m_isStaleHasBeenSet = true; m_isStale = value; }
127 inline ViewRepresentation& WithIsStale(bool value) { SetIsStale(value); return *this;}
129 private:
130
131 ViewDialect m_dialect;
132 bool m_dialectHasBeenSet = false;
133
134 Aws::String m_dialectVersion;
135 bool m_dialectVersionHasBeenSet = false;
136
137 Aws::String m_viewOriginalText;
138 bool m_viewOriginalTextHasBeenSet = false;
139
140 Aws::String m_viewExpandedText;
141 bool m_viewExpandedTextHasBeenSet = false;
142
143 Aws::String m_validationConnection;
144 bool m_validationConnectionHasBeenSet = false;
145
146 bool m_isStale;
147 bool m_isStaleHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Glue
152} // namespace Aws
void SetValidationConnection(const Aws::String &value)
ViewRepresentation & WithDialect(const ViewDialect &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetViewExpandedText(const Aws::String &value)
void SetViewOriginalText(Aws::String &&value)
ViewRepresentation & WithViewOriginalText(const char *value)
ViewRepresentation & WithViewExpandedText(const Aws::String &value)
ViewRepresentation & WithDialectVersion(const char *value)
AWS_GLUE_API ViewRepresentation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetViewOriginalText() const
void SetDialectVersion(const Aws::String &value)
ViewRepresentation & WithValidationConnection(Aws::String &&value)
void SetViewExpandedText(Aws::String &&value)
ViewRepresentation & WithDialectVersion(Aws::String &&value)
const Aws::String & GetViewExpandedText() const
ViewRepresentation & WithIsStale(bool value)
ViewRepresentation & WithViewExpandedText(Aws::String &&value)
void SetViewExpandedText(const char *value)
ViewRepresentation & WithDialectVersion(const Aws::String &value)
ViewRepresentation & WithValidationConnection(const char *value)
const ViewDialect & GetDialect() const
ViewRepresentation & WithValidationConnection(const Aws::String &value)
ViewRepresentation & WithViewExpandedText(const char *value)
void SetViewOriginalText(const Aws::String &value)
const Aws::String & GetValidationConnection() const
void SetDialect(const ViewDialect &value)
void SetValidationConnection(Aws::String &&value)
void SetValidationConnection(const char *value)
void SetDialectVersion(const char *value)
ViewRepresentation & WithViewOriginalText(Aws::String &&value)
void SetViewOriginalText(const char *value)
void SetDialectVersion(Aws::String &&value)
AWS_GLUE_API ViewRepresentation & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewRepresentation & WithViewOriginalText(const Aws::String &value)
ViewRepresentation & WithDialect(ViewDialect &&value)
const Aws::String & GetDialectVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue