AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetSchemaByDefinitionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/DataFormat.h>
11#include <aws/glue/model/SchemaVersionStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API GetSchemaByDefinitionResult() = default;
31
33
36 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
37 template <typename SchemaVersionIdT = Aws::String>
38 void SetSchemaVersionId(SchemaVersionIdT&& value) {
39 m_schemaVersionIdHasBeenSet = true;
40 m_schemaVersionId = std::forward<SchemaVersionIdT>(value);
41 }
42 template <typename SchemaVersionIdT = Aws::String>
44 SetSchemaVersionId(std::forward<SchemaVersionIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
54 template <typename SchemaArnT = Aws::String>
55 void SetSchemaArn(SchemaArnT&& value) {
56 m_schemaArnHasBeenSet = true;
57 m_schemaArn = std::forward<SchemaArnT>(value);
58 }
59 template <typename SchemaArnT = Aws::String>
61 SetSchemaArn(std::forward<SchemaArnT>(value));
62 return *this;
63 }
65
67
71 inline DataFormat GetDataFormat() const { return m_dataFormat; }
72 inline void SetDataFormat(DataFormat value) {
73 m_dataFormatHasBeenSet = true;
74 m_dataFormat = value;
75 }
77 SetDataFormat(value);
78 return *this;
79 }
81
83
86 inline SchemaVersionStatus GetStatus() const { return m_status; }
87 inline void SetStatus(SchemaVersionStatus value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
102 template <typename CreatedTimeT = Aws::String>
103 void SetCreatedTime(CreatedTimeT&& value) {
104 m_createdTimeHasBeenSet = true;
105 m_createdTime = std::forward<CreatedTimeT>(value);
106 }
107 template <typename CreatedTimeT = Aws::String>
109 SetCreatedTime(std::forward<CreatedTimeT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
129
130 private:
131 Aws::String m_schemaVersionId;
132
133 Aws::String m_schemaArn;
134
135 DataFormat m_dataFormat{DataFormat::NOT_SET};
136
138
139 Aws::String m_createdTime;
140
141 Aws::String m_requestId;
142 Aws::Http::HttpResponseCode m_HttpResponseCode;
143 bool m_schemaVersionIdHasBeenSet = false;
144 bool m_schemaArnHasBeenSet = false;
145 bool m_dataFormatHasBeenSet = false;
146 bool m_statusHasBeenSet = false;
147 bool m_createdTimeHasBeenSet = false;
148 bool m_requestIdHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Glue
153} // namespace Aws
AWS_GLUE_API GetSchemaByDefinitionResult()=default
AWS_GLUE_API GetSchemaByDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaByDefinitionResult & WithCreatedTime(CreatedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSchemaByDefinitionResult & WithRequestId(RequestIdT &&value)
GetSchemaByDefinitionResult & WithSchemaArn(SchemaArnT &&value)
GetSchemaByDefinitionResult & WithStatus(SchemaVersionStatus value)
AWS_GLUE_API GetSchemaByDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaByDefinitionResult & WithSchemaVersionId(SchemaVersionIdT &&value)
GetSchemaByDefinitionResult & WithDataFormat(DataFormat value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue