AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteSchemaResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/SchemaStatus.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 DeleteSchemaResult() = 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 DeleteSchemaResult& 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 DeleteSchemaResult& WithSchemaName(SchemaNameT&& value) {
59 SetSchemaName(std::forward<SchemaNameT>(value));
60 return *this;
61 }
63
65
68 inline SchemaStatus GetStatus() const { return m_status; }
69 inline void SetStatus(SchemaStatus value) {
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
88 DeleteSchemaResult& WithRequestId(RequestIdT&& value) {
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_schemaArn;
95
96 Aws::String m_schemaName;
97
99
100 Aws::String m_requestId;
101 bool m_schemaArnHasBeenSet = false;
102 bool m_schemaNameHasBeenSet = false;
103 bool m_statusHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
DeleteSchemaResult & WithSchemaArn(SchemaArnT &&value)
AWS_GLUE_API DeleteSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API DeleteSchemaResult()=default
AWS_GLUE_API DeleteSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSchemaResult & WithStatus(SchemaStatus value)
DeleteSchemaResult & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetSchemaName() const
DeleteSchemaResult & WithRequestId(RequestIdT &&value)
void SetSchemaName(SchemaNameT &&value)
const Aws::String & GetSchemaArn() const
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue