AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
24 public:
25 AWS_GLUE_API UpdateSchemaResult() = default;
28
30
33 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
34 template <typename SchemaArnT = Aws::String>
35 void SetSchemaArn(SchemaArnT&& value) {
36 m_schemaArnHasBeenSet = true;
37 m_schemaArn = std::forward<SchemaArnT>(value);
38 }
39 template <typename SchemaArnT = Aws::String>
40 UpdateSchemaResult& WithSchemaArn(SchemaArnT&& value) {
41 SetSchemaArn(std::forward<SchemaArnT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
51 template <typename SchemaNameT = Aws::String>
52 void SetSchemaName(SchemaNameT&& value) {
53 m_schemaNameHasBeenSet = true;
54 m_schemaName = std::forward<SchemaNameT>(value);
55 }
56 template <typename SchemaNameT = Aws::String>
57 UpdateSchemaResult& WithSchemaName(SchemaNameT&& value) {
58 SetSchemaName(std::forward<SchemaNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetRegistryName() const { return m_registryName; }
68 template <typename RegistryNameT = Aws::String>
69 void SetRegistryName(RegistryNameT&& value) {
70 m_registryNameHasBeenSet = true;
71 m_registryName = std::forward<RegistryNameT>(value);
72 }
73 template <typename RegistryNameT = Aws::String>
74 UpdateSchemaResult& WithRegistryName(RegistryNameT&& value) {
75 SetRegistryName(std::forward<RegistryNameT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
89 UpdateSchemaResult& WithRequestId(RequestIdT&& value) {
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_schemaArn;
96
97 Aws::String m_schemaName;
98
99 Aws::String m_registryName;
100
101 Aws::String m_requestId;
102 bool m_schemaArnHasBeenSet = false;
103 bool m_schemaNameHasBeenSet = false;
104 bool m_registryNameHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Glue
110} // 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_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