AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
45
46
48
51 inline ViewDialect GetDialect() const { return m_dialect; }
52 inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; }
53 inline void SetDialect(ViewDialect value) { m_dialectHasBeenSet = true; m_dialect = value; }
54 inline ViewValidation& WithDialect(ViewDialect value) { SetDialect(value); return *this;}
56
58
61 inline const Aws::String& GetDialectVersion() const { return m_dialectVersion; }
62 inline bool DialectVersionHasBeenSet() const { return m_dialectVersionHasBeenSet; }
63 template<typename DialectVersionT = Aws::String>
64 void SetDialectVersion(DialectVersionT&& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = std::forward<DialectVersionT>(value); }
65 template<typename DialectVersionT = Aws::String>
66 ViewValidation& WithDialectVersion(DialectVersionT&& value) { SetDialectVersion(std::forward<DialectVersionT>(value)); return *this;}
68
70
74 inline const Aws::String& GetViewValidationText() const { return m_viewValidationText; }
75 inline bool ViewValidationTextHasBeenSet() const { return m_viewValidationTextHasBeenSet; }
76 template<typename ViewValidationTextT = Aws::String>
77 void SetViewValidationText(ViewValidationTextT&& value) { m_viewValidationTextHasBeenSet = true; m_viewValidationText = std::forward<ViewValidationTextT>(value); }
78 template<typename ViewValidationTextT = Aws::String>
79 ViewValidation& WithViewValidationText(ViewValidationTextT&& value) { SetViewValidationText(std::forward<ViewValidationTextT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
87 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
88 template<typename UpdateTimeT = Aws::Utils::DateTime>
89 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
90 template<typename UpdateTimeT = Aws::Utils::DateTime>
91 ViewValidation& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
93
95
98 inline ResourceState GetState() const { return m_state; }
99 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
100 inline void SetState(ResourceState value) { m_stateHasBeenSet = true; m_state = value; }
101 inline ViewValidation& WithState(ResourceState value) { SetState(value); return *this;}
103
105
108 inline const ErrorDetail& GetError() const { return m_error; }
109 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
110 template<typename ErrorT = ErrorDetail>
111 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
112 template<typename ErrorT = ErrorDetail>
113 ViewValidation& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
115 private:
116
118 bool m_dialectHasBeenSet = false;
119
120 Aws::String m_dialectVersion;
121 bool m_dialectVersionHasBeenSet = false;
122
123 Aws::String m_viewValidationText;
124 bool m_viewValidationTextHasBeenSet = false;
125
126 Aws::Utils::DateTime m_updateTime{};
127 bool m_updateTimeHasBeenSet = false;
128
130 bool m_stateHasBeenSet = false;
131
132 ErrorDetail m_error;
133 bool m_errorHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Glue
138} // namespace Aws
void SetViewValidationText(ViewValidationTextT &&value)
ViewValidation & WithViewValidationText(ViewValidationTextT &&value)
ResourceState GetState() const
void SetState(ResourceState value)
ViewValidation & WithDialectVersion(DialectVersionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ViewValidation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDialect(ViewDialect value)
AWS_GLUE_API ViewValidation(Aws::Utils::Json::JsonView jsonValue)
const ErrorDetail & GetError() const
void SetUpdateTime(UpdateTimeT &&value)
ViewValidation & WithUpdateTime(UpdateTimeT &&value)
ViewValidation & WithDialect(ViewDialect value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetViewValidationText() const
void SetDialectVersion(DialectVersionT &&value)
ViewValidation & WithState(ResourceState value)
AWS_GLUE_API ViewValidation()=default
const Aws::String & GetDialectVersion() const
ViewValidation & WithError(ErrorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue