AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
GetSchemaByDefinitionResult.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/DataFormat.h>
10#include <aws/glue/model/SchemaVersionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API GetSchemaByDefinitionResult() = default;
30
32
35 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
36 template <typename SchemaVersionIdT = Aws::String>
37 void SetSchemaVersionId(SchemaVersionIdT&& value) {
38 m_schemaVersionIdHasBeenSet = true;
39 m_schemaVersionId = std::forward<SchemaVersionIdT>(value);
40 }
41 template <typename SchemaVersionIdT = Aws::String>
43 SetSchemaVersionId(std::forward<SchemaVersionIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
53 template <typename SchemaArnT = Aws::String>
54 void SetSchemaArn(SchemaArnT&& value) {
55 m_schemaArnHasBeenSet = true;
56 m_schemaArn = std::forward<SchemaArnT>(value);
57 }
58 template <typename SchemaArnT = Aws::String>
60 SetSchemaArn(std::forward<SchemaArnT>(value));
61 return *this;
62 }
64
66
70 inline DataFormat GetDataFormat() const { return m_dataFormat; }
71 inline void SetDataFormat(DataFormat value) {
72 m_dataFormatHasBeenSet = true;
73 m_dataFormat = value;
74 }
76 SetDataFormat(value);
77 return *this;
78 }
80
82
85 inline SchemaVersionStatus GetStatus() const { return m_status; }
86 inline void SetStatus(SchemaVersionStatus value) {
87 m_statusHasBeenSet = true;
88 m_status = value;
89 }
91 SetStatus(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
101 template <typename CreatedTimeT = Aws::String>
102 void SetCreatedTime(CreatedTimeT&& value) {
103 m_createdTimeHasBeenSet = true;
104 m_createdTime = std::forward<CreatedTimeT>(value);
105 }
106 template <typename CreatedTimeT = Aws::String>
108 SetCreatedTime(std::forward<CreatedTimeT>(value));
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_schemaVersionId;
129
130 Aws::String m_schemaArn;
131
132 DataFormat m_dataFormat{DataFormat::NOT_SET};
133
135
136 Aws::String m_createdTime;
137
138 Aws::String m_requestId;
139 bool m_schemaVersionIdHasBeenSet = false;
140 bool m_schemaArnHasBeenSet = false;
141 bool m_dataFormatHasBeenSet = false;
142 bool m_statusHasBeenSet = false;
143 bool m_createdTimeHasBeenSet = false;
144 bool m_requestIdHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace Glue
149} // namespace Aws
AWS_GLUE_API GetSchemaByDefinitionResult()=default
AWS_GLUE_API GetSchemaByDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaByDefinitionResult & WithCreatedTime(CreatedTimeT &&value)
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