AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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); }
45 inline GetSchemaVersionResult& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;}
46 inline GetSchemaVersionResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
47 inline GetSchemaVersionResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
49
51
54 inline const Aws::String& GetSchemaDefinition() const{ return m_schemaDefinition; }
55 inline void SetSchemaDefinition(const Aws::String& value) { m_schemaDefinition = value; }
56 inline void SetSchemaDefinition(Aws::String&& value) { m_schemaDefinition = std::move(value); }
57 inline void SetSchemaDefinition(const char* value) { m_schemaDefinition.assign(value); }
58 inline GetSchemaVersionResult& WithSchemaDefinition(const Aws::String& value) { SetSchemaDefinition(value); return *this;}
59 inline GetSchemaVersionResult& WithSchemaDefinition(Aws::String&& value) { SetSchemaDefinition(std::move(value)); return *this;}
60 inline GetSchemaVersionResult& WithSchemaDefinition(const char* value) { SetSchemaDefinition(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 GetSchemaVersionResult& WithDataFormat(const DataFormat& value) { SetDataFormat(value); return *this;}
72 inline GetSchemaVersionResult& WithDataFormat(DataFormat&& value) { SetDataFormat(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
80 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
81 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
82 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
83 inline GetSchemaVersionResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
84 inline GetSchemaVersionResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
85 inline GetSchemaVersionResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
87
89
92 inline long long GetVersionNumber() const{ return m_versionNumber; }
93 inline void SetVersionNumber(long long value) { m_versionNumber = value; }
94 inline GetSchemaVersionResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
96
98
101 inline const SchemaVersionStatus& GetStatus() const{ return m_status; }
102 inline void SetStatus(const SchemaVersionStatus& value) { m_status = value; }
103 inline void SetStatus(SchemaVersionStatus&& value) { m_status = std::move(value); }
104 inline GetSchemaVersionResult& WithStatus(const SchemaVersionStatus& value) { SetStatus(value); return *this;}
105 inline GetSchemaVersionResult& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
113 inline void SetCreatedTime(const Aws::String& value) { m_createdTime = value; }
114 inline void SetCreatedTime(Aws::String&& value) { m_createdTime = std::move(value); }
115 inline void SetCreatedTime(const char* value) { m_createdTime.assign(value); }
116 inline GetSchemaVersionResult& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
117 inline GetSchemaVersionResult& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
118 inline GetSchemaVersionResult& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline GetSchemaVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline GetSchemaVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline GetSchemaVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_schemaVersionId;
134
135 Aws::String m_schemaDefinition;
136
137 DataFormat m_dataFormat;
138
139 Aws::String m_schemaArn;
140
141 long long m_versionNumber;
142
143 SchemaVersionStatus m_status;
144
145 Aws::String m_createdTime;
146
147 Aws::String m_requestId;
148 };
149
150} // namespace Model
151} // namespace Glue
152} // namespace Aws
void SetStatus(const SchemaVersionStatus &value)
GetSchemaVersionResult & WithDataFormat(const DataFormat &value)
GetSchemaVersionResult & WithSchemaVersionId(Aws::String &&value)
GetSchemaVersionResult & WithSchemaArn(const Aws::String &value)
GetSchemaVersionResult & WithSchemaDefinition(Aws::String &&value)
GetSchemaVersionResult & WithSchemaVersionId(const char *value)
void SetStatus(SchemaVersionStatus &&value)
GetSchemaVersionResult & WithSchemaDefinition(const char *value)
GetSchemaVersionResult & WithDataFormat(DataFormat &&value)
AWS_GLUE_API GetSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaVersionResult & WithStatus(const SchemaVersionStatus &value)
GetSchemaVersionResult & WithSchemaArn(Aws::String &&value)
void SetSchemaDefinition(const Aws::String &value)
void SetSchemaVersionId(const Aws::String &value)
GetSchemaVersionResult & WithVersionNumber(long long value)
GetSchemaVersionResult & WithSchemaDefinition(const Aws::String &value)
GetSchemaVersionResult & WithCreatedTime(Aws::String &&value)
GetSchemaVersionResult & WithSchemaVersionId(const Aws::String &value)
GetSchemaVersionResult & WithRequestId(const Aws::String &value)
GetSchemaVersionResult & WithCreatedTime(const char *value)
GetSchemaVersionResult & WithSchemaArn(const char *value)
AWS_GLUE_API GetSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTime(const Aws::String &value)
GetSchemaVersionResult & WithStatus(SchemaVersionStatus &&value)
GetSchemaVersionResult & WithCreatedTime(const Aws::String &value)
const SchemaVersionStatus & GetStatus() const
GetSchemaVersionResult & WithRequestId(Aws::String &&value)
GetSchemaVersionResult & WithRequestId(const char *value)
void SetSchemaArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue