AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteSchemaResult.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/SchemaStatus.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:
31 AWS_GLUE_API DeleteSchemaResult() = default;
34
35
37
40 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
41 template<typename SchemaArnT = Aws::String>
42 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
43 template<typename SchemaArnT = Aws::String>
44 DeleteSchemaResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
52 template<typename SchemaNameT = Aws::String>
53 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
54 template<typename SchemaNameT = Aws::String>
55 DeleteSchemaResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
57
59
62 inline SchemaStatus GetStatus() const { return m_status; }
63 inline void SetStatus(SchemaStatus value) { m_statusHasBeenSet = true; m_status = value; }
64 inline DeleteSchemaResult& WithStatus(SchemaStatus value) { SetStatus(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 DeleteSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_schemaArn;
78 bool m_schemaArnHasBeenSet = false;
79
80 Aws::String m_schemaName;
81 bool m_schemaNameHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Glue
92} // 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