AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
RegisterSchemaVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/SchemaVersionStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API RegisterSchemaVersionResult() = default;
29
31
34 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
35 template <typename SchemaVersionIdT = Aws::String>
36 void SetSchemaVersionId(SchemaVersionIdT&& value) {
37 m_schemaVersionIdHasBeenSet = true;
38 m_schemaVersionId = std::forward<SchemaVersionIdT>(value);
39 }
40 template <typename SchemaVersionIdT = Aws::String>
42 SetSchemaVersionId(std::forward<SchemaVersionIdT>(value));
43 return *this;
44 }
46
48
52 inline long long GetVersionNumber() const { return m_versionNumber; }
53 inline void SetVersionNumber(long long value) {
54 m_versionNumberHasBeenSet = true;
55 m_versionNumber = value;
56 }
58 SetVersionNumber(value);
59 return *this;
60 }
62
64
67 inline SchemaVersionStatus GetStatus() const { return m_status; }
68 inline void SetStatus(SchemaVersionStatus value) {
69 m_statusHasBeenSet = true;
70 m_status = value;
71 }
73 SetStatus(value);
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_schemaVersionId;
94 bool m_schemaVersionIdHasBeenSet = false;
95
96 long long m_versionNumber{0};
97 bool m_versionNumberHasBeenSet = false;
98
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
AWS_GLUE_API RegisterSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterSchemaVersionResult & WithRequestId(RequestIdT &&value)
RegisterSchemaVersionResult & WithStatus(SchemaVersionStatus value)
AWS_GLUE_API RegisterSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API RegisterSchemaVersionResult()=default
RegisterSchemaVersionResult & WithVersionNumber(long long value)
RegisterSchemaVersionResult & WithSchemaVersionId(SchemaVersionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue