AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateSchemaResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
25 public:
26 AWS_GLUE_API UpdateSchemaResult() = default;
29
31
34 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
35 template <typename SchemaArnT = Aws::String>
36 void SetSchemaArn(SchemaArnT&& value) {
37 m_schemaArnHasBeenSet = true;
38 m_schemaArn = std::forward<SchemaArnT>(value);
39 }
40 template <typename SchemaArnT = Aws::String>
41 UpdateSchemaResult& WithSchemaArn(SchemaArnT&& value) {
42 SetSchemaArn(std::forward<SchemaArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
52 template <typename SchemaNameT = Aws::String>
53 void SetSchemaName(SchemaNameT&& value) {
54 m_schemaNameHasBeenSet = true;
55 m_schemaName = std::forward<SchemaNameT>(value);
56 }
57 template <typename SchemaNameT = Aws::String>
58 UpdateSchemaResult& WithSchemaName(SchemaNameT&& value) {
59 SetSchemaName(std::forward<SchemaNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetRegistryName() const { return m_registryName; }
69 template <typename RegistryNameT = Aws::String>
70 void SetRegistryName(RegistryNameT&& value) {
71 m_registryNameHasBeenSet = true;
72 m_registryName = std::forward<RegistryNameT>(value);
73 }
74 template <typename RegistryNameT = Aws::String>
75 UpdateSchemaResult& WithRegistryName(RegistryNameT&& value) {
76 SetRegistryName(std::forward<RegistryNameT>(value));
77 return *this;
78 }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template <typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) {
86 m_requestIdHasBeenSet = true;
87 m_requestId = std::forward<RequestIdT>(value);
88 }
89 template <typename RequestIdT = Aws::String>
90 UpdateSchemaResult& WithRequestId(RequestIdT&& value) {
91 SetRequestId(std::forward<RequestIdT>(value));
92 return *this;
93 }
95 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
96
97 private:
98 Aws::String m_schemaArn;
99
100 Aws::String m_schemaName;
101
102 Aws::String m_registryName;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_schemaArnHasBeenSet = false;
107 bool m_schemaNameHasBeenSet = false;
108 bool m_registryNameHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
AWS_GLUE_API UpdateSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & WithRegistryName(RegistryNameT &&value)
void SetRegistryName(RegistryNameT &&value)
const Aws::String & GetSchemaName() const
UpdateSchemaResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetSchemaArn() const
AWS_GLUE_API UpdateSchemaResult()=default
void SetSchemaName(SchemaNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GLUE_API UpdateSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaResult & WithSchemaArn(SchemaArnT &&value)
const Aws::String & GetRegistryName() const
UpdateSchemaResult & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue