AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSchemaByDefinitionResult.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 GetSchemaByDefinitionResult() = 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 GetSchemaByDefinitionResult& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
53 template<typename SchemaArnT = Aws::String>
54 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
55 template<typename SchemaArnT = Aws::String>
56 GetSchemaByDefinitionResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(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; }
68
70
73 inline SchemaVersionStatus GetStatus() const { return m_status; }
74 inline void SetStatus(SchemaVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
77
79
82 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
83 template<typename CreatedTimeT = Aws::String>
84 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
85 template<typename CreatedTimeT = Aws::String>
86 GetSchemaByDefinitionResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template<typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
94 template<typename RequestIdT = Aws::String>
95 GetSchemaByDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_schemaVersionId;
100 bool m_schemaVersionIdHasBeenSet = false;
101
102 Aws::String m_schemaArn;
103 bool m_schemaArnHasBeenSet = false;
104
105 DataFormat m_dataFormat{DataFormat::NOT_SET};
106 bool m_dataFormatHasBeenSet = false;
107
109 bool m_statusHasBeenSet = false;
110
111 Aws::String m_createdTime;
112 bool m_createdTimeHasBeenSet = false;
113
114 Aws::String m_requestId;
115 bool m_requestIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Glue
120} // 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