AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSchemaVersionResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/DataFormat.h>
10#include <aws/glue/model/SchemaVersionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glue
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GLUE_API GetSchemaVersionResult() = default;
35
36
38
41 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
42 template<typename SchemaVersionIdT = Aws::String>
43 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
44 template<typename SchemaVersionIdT = Aws::String>
45 GetSchemaVersionResult& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetSchemaDefinition() const { return m_schemaDefinition; }
53 template<typename SchemaDefinitionT = Aws::String>
54 void SetSchemaDefinition(SchemaDefinitionT&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::forward<SchemaDefinitionT>(value); }
55 template<typename SchemaDefinitionT = Aws::String>
56 GetSchemaVersionResult& WithSchemaDefinition(SchemaDefinitionT&& value) { SetSchemaDefinition(std::forward<SchemaDefinitionT>(value)); return *this;}
58
60
64 inline DataFormat GetDataFormat() const { return m_dataFormat; }
65 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
66 inline GetSchemaVersionResult& WithDataFormat(DataFormat value) { SetDataFormat(value); return *this;}
68
70
73 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
74 template<typename SchemaArnT = Aws::String>
75 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
76 template<typename SchemaArnT = Aws::String>
77 GetSchemaVersionResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
79
81
84 inline long long GetVersionNumber() const { return m_versionNumber; }
85 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
86 inline GetSchemaVersionResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
88
90
93 inline SchemaVersionStatus GetStatus() const { return m_status; }
94 inline void SetStatus(SchemaVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
95 inline GetSchemaVersionResult& WithStatus(SchemaVersionStatus value) { SetStatus(value); return *this;}
97
99
102 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
103 template<typename CreatedTimeT = Aws::String>
104 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
105 template<typename CreatedTimeT = Aws::String>
106 GetSchemaVersionResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template<typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
114 template<typename RequestIdT = Aws::String>
115 GetSchemaVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
117 private:
118
119 Aws::String m_schemaVersionId;
120 bool m_schemaVersionIdHasBeenSet = false;
121
122 Aws::String m_schemaDefinition;
123 bool m_schemaDefinitionHasBeenSet = false;
124
125 DataFormat m_dataFormat{DataFormat::NOT_SET};
126 bool m_dataFormatHasBeenSet = false;
127
128 Aws::String m_schemaArn;
129 bool m_schemaArnHasBeenSet = false;
130
131 long long m_versionNumber{0};
132 bool m_versionNumberHasBeenSet = false;
133
135 bool m_statusHasBeenSet = false;
136
137 Aws::String m_createdTime;
138 bool m_createdTimeHasBeenSet = false;
139
140 Aws::String m_requestId;
141 bool m_requestIdHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Glue
146} // namespace Aws
GetSchemaVersionResult & WithSchemaVersionId(SchemaVersionIdT &&value)
GetSchemaVersionResult & WithRequestId(RequestIdT &&value)
GetSchemaVersionResult & WithSchemaDefinition(SchemaDefinitionT &&value)
GetSchemaVersionResult & WithCreatedTime(CreatedTimeT &&value)
AWS_GLUE_API GetSchemaVersionResult()=default
AWS_GLUE_API GetSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaVersionResult & WithVersionNumber(long long value)
GetSchemaVersionResult & WithSchemaArn(SchemaArnT &&value)
void SetSchemaDefinition(SchemaDefinitionT &&value)
void SetStatus(SchemaVersionStatus value)
AWS_GLUE_API GetSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaVersionResult & WithDataFormat(DataFormat value)
void SetSchemaVersionId(SchemaVersionIdT &&value)
GetSchemaVersionResult & WithStatus(SchemaVersionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue