AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CheckSchemaVersionValidityResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
24 public:
25 AWS_GLUE_API CheckSchemaVersionValidityResult() = default;
28
30
33 inline bool GetValid() const { return m_valid; }
34 inline void SetValid(bool value) {
35 m_validHasBeenSet = true;
36 m_valid = value;
37 }
39 SetValid(value);
40 return *this;
41 }
43
45
48 inline const Aws::String& GetError() const { return m_error; }
49 template <typename ErrorT = Aws::String>
50 void SetError(ErrorT&& value) {
51 m_errorHasBeenSet = true;
52 m_error = std::forward<ErrorT>(value);
53 }
54 template <typename ErrorT = Aws::String>
56 SetError(std::forward<ErrorT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 private:
76 bool m_valid{false};
77
78 Aws::String m_error;
79
80 Aws::String m_requestId;
81 bool m_validHasBeenSet = false;
82 bool m_errorHasBeenSet = false;
83 bool m_requestIdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Glue
88} // namespace Aws
AWS_GLUE_API CheckSchemaVersionValidityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckSchemaVersionValidityResult & WithError(ErrorT &&value)
CheckSchemaVersionValidityResult & WithValid(bool value)
AWS_GLUE_API CheckSchemaVersionValidityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckSchemaVersionValidityResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue