AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ViewValidation.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 <aws/core/utils/DateTime.h>
11#include <aws/glue/model/ResourceState.h>
12#include <aws/glue/model/ErrorDetail.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_GLUE_API ViewValidation();
45
46
48
51 inline const ViewDialect& GetDialect() const{ return m_dialect; }
52 inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; }
53 inline void SetDialect(const ViewDialect& value) { m_dialectHasBeenSet = true; m_dialect = value; }
54 inline void SetDialect(ViewDialect&& value) { m_dialectHasBeenSet = true; m_dialect = std::move(value); }
55 inline ViewValidation& WithDialect(const ViewDialect& value) { SetDialect(value); return *this;}
56 inline ViewValidation& WithDialect(ViewDialect&& value) { SetDialect(std::move(value)); return *this;}
58
60
63 inline const Aws::String& GetDialectVersion() const{ return m_dialectVersion; }
64 inline bool DialectVersionHasBeenSet() const { return m_dialectVersionHasBeenSet; }
65 inline void SetDialectVersion(const Aws::String& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = value; }
66 inline void SetDialectVersion(Aws::String&& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = std::move(value); }
67 inline void SetDialectVersion(const char* value) { m_dialectVersionHasBeenSet = true; m_dialectVersion.assign(value); }
68 inline ViewValidation& WithDialectVersion(const Aws::String& value) { SetDialectVersion(value); return *this;}
69 inline ViewValidation& WithDialectVersion(Aws::String&& value) { SetDialectVersion(std::move(value)); return *this;}
70 inline ViewValidation& WithDialectVersion(const char* value) { SetDialectVersion(value); return *this;}
72
74
78 inline const Aws::String& GetViewValidationText() const{ return m_viewValidationText; }
79 inline bool ViewValidationTextHasBeenSet() const { return m_viewValidationTextHasBeenSet; }
80 inline void SetViewValidationText(const Aws::String& value) { m_viewValidationTextHasBeenSet = true; m_viewValidationText = value; }
81 inline void SetViewValidationText(Aws::String&& value) { m_viewValidationTextHasBeenSet = true; m_viewValidationText = std::move(value); }
82 inline void SetViewValidationText(const char* value) { m_viewValidationTextHasBeenSet = true; m_viewValidationText.assign(value); }
83 inline ViewValidation& WithViewValidationText(const Aws::String& value) { SetViewValidationText(value); return *this;}
84 inline ViewValidation& WithViewValidationText(Aws::String&& value) { SetViewValidationText(std::move(value)); return *this;}
85 inline ViewValidation& WithViewValidationText(const char* value) { SetViewValidationText(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
93 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
94 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
95 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
96 inline ViewValidation& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
97 inline ViewValidation& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
99
101
104 inline const ResourceState& GetState() const{ return m_state; }
105 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
106 inline void SetState(const ResourceState& value) { m_stateHasBeenSet = true; m_state = value; }
107 inline void SetState(ResourceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
108 inline ViewValidation& WithState(const ResourceState& value) { SetState(value); return *this;}
109 inline ViewValidation& WithState(ResourceState&& value) { SetState(std::move(value)); return *this;}
111
113
116 inline const ErrorDetail& GetError() const{ return m_error; }
117 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
118 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
119 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
120 inline ViewValidation& WithError(const ErrorDetail& value) { SetError(value); return *this;}
121 inline ViewValidation& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
123 private:
124
125 ViewDialect m_dialect;
126 bool m_dialectHasBeenSet = false;
127
128 Aws::String m_dialectVersion;
129 bool m_dialectVersionHasBeenSet = false;
130
131 Aws::String m_viewValidationText;
132 bool m_viewValidationTextHasBeenSet = false;
133
134 Aws::Utils::DateTime m_updateTime;
135 bool m_updateTimeHasBeenSet = false;
136
137 ResourceState m_state;
138 bool m_stateHasBeenSet = false;
139
140 ErrorDetail m_error;
141 bool m_errorHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Glue
146} // namespace Aws
void SetUpdateTime(Aws::Utils::DateTime &&value)
ViewValidation & WithViewValidationText(const char *value)
void SetError(ErrorDetail &&value)
ViewValidation & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetDialectVersion(const char *value)
ViewValidation & WithDialectVersion(const Aws::String &value)
void SetViewValidationText(const char *value)
void SetViewValidationText(Aws::String &&value)
void SetState(const ResourceState &value)
const ResourceState & GetState() const
const ViewDialect & GetDialect() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ViewValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
ViewValidation & WithError(ErrorDetail &&value)
ViewValidation & WithUpdateTime(const Aws::Utils::DateTime &value)
ViewValidation & WithError(const ErrorDetail &value)
ViewValidation & WithDialectVersion(const char *value)
AWS_GLUE_API ViewValidation(Aws::Utils::Json::JsonView jsonValue)
ViewValidation & WithDialect(const ViewDialect &value)
const ErrorDetail & GetError() const
ViewValidation & WithViewValidationText(Aws::String &&value)
void SetDialect(const ViewDialect &value)
ViewValidation & WithState(ResourceState &&value)
void SetState(ResourceState &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetViewValidationText() const
ViewValidation & WithDialectVersion(Aws::String &&value)
void SetViewValidationText(const Aws::String &value)
ViewValidation & WithViewValidationText(const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetError(const ErrorDetail &value)
void SetDialectVersion(const Aws::String &value)
ViewValidation & WithState(const ResourceState &value)
void SetDialectVersion(Aws::String &&value)
const Aws::String & GetDialectVersion() const
void SetDialect(ViewDialect &&value)
ViewValidation & WithDialect(ViewDialect &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue