AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
42 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; }
43 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); }
44 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); }
46 inline GetSchemaByDefinitionResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
47 inline GetSchemaByDefinitionResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
49
51
54 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
55 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
56 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
57 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
58 inline GetSchemaByDefinitionResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
59 inline GetSchemaByDefinitionResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
60 inline GetSchemaByDefinitionResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
62
64
68 inline const DataFormat& GetDataFormat() const{ return m_dataFormat; }
69 inline void SetDataFormat(const DataFormat& value) { m_dataFormat = value; }
70 inline void SetDataFormat(DataFormat&& value) { m_dataFormat = std::move(value); }
71 inline GetSchemaByDefinitionResult& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
72 inline GetSchemaByDefinitionResult& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
74
76
79 inline const SchemaVersionStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const SchemaVersionStatus& value) { m_status = value; }
81 inline void SetStatus(SchemaVersionStatus&& value) { m_status = std::move(value); }
82 inline GetSchemaByDefinitionResult& WithStatus(const SchemaVersionStatus& value) { SetStatus(value); return *this;}
83 inline GetSchemaByDefinitionResult& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
91 inline void SetCreatedTime(const Aws::String& value) { m_createdTime = value; }
92 inline void SetCreatedTime(Aws::String&& value) { m_createdTime = std::move(value); }
93 inline void SetCreatedTime(const char* value) { m_createdTime.assign(value); }
94 inline GetSchemaByDefinitionResult& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
95 inline GetSchemaByDefinitionResult& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
96 inline GetSchemaByDefinitionResult& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetSchemaByDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetSchemaByDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetSchemaByDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_schemaVersionId;
112
113 Aws::String m_schemaArn;
114
115 DataFormat m_dataFormat;
116
117 SchemaVersionStatus m_status;
118
119 Aws::String m_createdTime;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace Glue
126} // namespace Aws
GetSchemaByDefinitionResult & WithCreatedTime(const Aws::String &value)
GetSchemaByDefinitionResult & WithCreatedTime(Aws::String &&value)
GetSchemaByDefinitionResult & WithStatus(const SchemaVersionStatus &value)
void SetStatus(const SchemaVersionStatus &value)
GetSchemaByDefinitionResult & WithCreatedTime(const char *value)
GetSchemaByDefinitionResult & WithRequestId(Aws::String &&value)
GetSchemaByDefinitionResult & WithSchemaVersionId(const char *value)
GetSchemaByDefinitionResult & WithDataFormat(const DataFormat &value)
GetSchemaByDefinitionResult & WithSchemaArn(const char *value)
GetSchemaByDefinitionResult & WithStatus(SchemaVersionStatus &&value)
GetSchemaByDefinitionResult & WithSchemaArn(const Aws::String &value)
GetSchemaByDefinitionResult & WithSchemaVersionId(Aws::String &&value)
AWS_GLUE_API GetSchemaByDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaByDefinitionResult & WithDataFormat(DataFormat &&value)
GetSchemaByDefinitionResult & WithRequestId(const Aws::String &value)
GetSchemaByDefinitionResult & WithSchemaArn(Aws::String &&value)
GetSchemaByDefinitionResult & WithRequestId(const char *value)
GetSchemaByDefinitionResult & WithSchemaVersionId(const Aws::String &value)
AWS_GLUE_API GetSchemaByDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue