AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
33
34
36
39 inline bool GetValid() const{ return m_valid; }
40 inline void SetValid(bool value) { 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 inline void SetError(const Aws::String& value) { m_error = value; }
50 inline void SetError(Aws::String&& value) { m_error = std::move(value); }
51 inline void SetError(const char* value) { m_error.assign(value); }
52 inline CheckSchemaVersionValidityResult& WithError(const Aws::String& value) { SetError(value); return *this;}
53 inline CheckSchemaVersionValidityResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
54 inline CheckSchemaVersionValidityResult& WithError(const char* value) { SetError(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline CheckSchemaVersionValidityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline CheckSchemaVersionValidityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline CheckSchemaVersionValidityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 bool m_valid;
70
71 Aws::String m_error;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API CheckSchemaVersionValidityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckSchemaVersionValidityResult & WithRequestId(const Aws::String &value)
CheckSchemaVersionValidityResult & WithRequestId(const char *value)
CheckSchemaVersionValidityResult & WithError(Aws::String &&value)
CheckSchemaVersionValidityResult & WithValid(bool value)
CheckSchemaVersionValidityResult & WithError(const char *value)
AWS_GLUE_API CheckSchemaVersionValidityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CheckSchemaVersionValidityResult & WithRequestId(Aws::String &&value)
CheckSchemaVersionValidityResult & WithError(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue