AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CheckSchemaVersionValidityResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
28 {
29 public:
30 AWS_GLUE_API CheckSchemaVersionValidityResult() = default;
33
34
36
39 inline bool GetValid() const { return m_valid; }
40 inline void SetValid(bool value) { m_validHasBeenSet = true; m_valid = value; }
41 inline CheckSchemaVersionValidityResult& WithValid(bool value) { SetValid(value); return *this;}
43
45
48 inline const Aws::String& GetError() const { return m_error; }
49 template<typename ErrorT = Aws::String>
50 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
51 template<typename ErrorT = Aws::String>
52 CheckSchemaVersionValidityResult& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 CheckSchemaVersionValidityResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
65 bool m_valid{false};
66 bool m_validHasBeenSet = false;
67
68 Aws::String m_error;
69 bool m_errorHasBeenSet = false;
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // 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