AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterSchemaVersionResult.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/SchemaVersionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
41 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionId = value; }
42 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionId = std::move(value); }
43 inline void SetSchemaVersionId(const char* value) { m_schemaVersionId.assign(value); }
45 inline RegisterSchemaVersionResult& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
46 inline RegisterSchemaVersionResult& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
48
50
54 inline long long GetVersionNumber() const{ return m_versionNumber; }
55 inline void SetVersionNumber(long long value) { m_versionNumber = value; }
56 inline RegisterSchemaVersionResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
58
60
63 inline const SchemaVersionStatus& GetStatus() const{ return m_status; }
64 inline void SetStatus(const SchemaVersionStatus& value) { m_status = value; }
65 inline void SetStatus(SchemaVersionStatus&& value) { m_status = std::move(value); }
66 inline RegisterSchemaVersionResult& WithStatus(const SchemaVersionStatus& value) { SetStatus(value); return *this;}
67 inline RegisterSchemaVersionResult& WithStatus(SchemaVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline RegisterSchemaVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline RegisterSchemaVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline RegisterSchemaVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_schemaVersionId;
83
84 long long m_versionNumber;
85
86 SchemaVersionStatus m_status;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Glue
93} // namespace Aws
AWS_GLUE_API RegisterSchemaVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const SchemaVersionStatus &value)
RegisterSchemaVersionResult & WithSchemaVersionId(const char *value)
RegisterSchemaVersionResult & WithSchemaVersionId(Aws::String &&value)
RegisterSchemaVersionResult & WithRequestId(const Aws::String &value)
RegisterSchemaVersionResult & WithSchemaVersionId(const Aws::String &value)
AWS_GLUE_API RegisterSchemaVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterSchemaVersionResult & WithVersionNumber(long long value)
RegisterSchemaVersionResult & WithStatus(SchemaVersionStatus &&value)
RegisterSchemaVersionResult & WithRequestId(Aws::String &&value)
RegisterSchemaVersionResult & WithStatus(const SchemaVersionStatus &value)
RegisterSchemaVersionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue