AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
RemoveSchemaVersionMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/MetadataKeyValuePair.h>
11#include <aws/glue/model/SchemaId.h>
12#include <aws/glue/model/SchemaVersionNumber.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Glue {
18namespace Model {
19
23 public:
24 AWS_GLUE_API RemoveSchemaVersionMetadataRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RemoveSchemaVersionMetadata"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
37
41 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
42 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
43 template <typename SchemaIdT = SchemaId>
44 void SetSchemaId(SchemaIdT&& value) {
45 m_schemaIdHasBeenSet = true;
46 m_schemaId = std::forward<SchemaIdT>(value);
47 }
48 template <typename SchemaIdT = SchemaId>
50 SetSchemaId(std::forward<SchemaIdT>(value));
51 return *this;
52 }
54
56
59 inline const SchemaVersionNumber& GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
60 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
61 template <typename SchemaVersionNumberT = SchemaVersionNumber>
62 void SetSchemaVersionNumber(SchemaVersionNumberT&& value) {
63 m_schemaVersionNumberHasBeenSet = true;
64 m_schemaVersionNumber = std::forward<SchemaVersionNumberT>(value);
65 }
66 template <typename SchemaVersionNumberT = SchemaVersionNumber>
68 SetSchemaVersionNumber(std::forward<SchemaVersionNumberT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
78 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
79 template <typename SchemaVersionIdT = Aws::String>
80 void SetSchemaVersionId(SchemaVersionIdT&& value) {
81 m_schemaVersionIdHasBeenSet = true;
82 m_schemaVersionId = std::forward<SchemaVersionIdT>(value);
83 }
84 template <typename SchemaVersionIdT = Aws::String>
86 SetSchemaVersionId(std::forward<SchemaVersionIdT>(value));
87 return *this;
88 }
90
92
95 inline const MetadataKeyValuePair& GetMetadataKeyValue() const { return m_metadataKeyValue; }
96 inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; }
97 template <typename MetadataKeyValueT = MetadataKeyValuePair>
98 void SetMetadataKeyValue(MetadataKeyValueT&& value) {
99 m_metadataKeyValueHasBeenSet = true;
100 m_metadataKeyValue = std::forward<MetadataKeyValueT>(value);
101 }
102 template <typename MetadataKeyValueT = MetadataKeyValuePair>
104 SetMetadataKeyValue(std::forward<MetadataKeyValueT>(value));
105 return *this;
106 }
108 private:
109 SchemaId m_schemaId;
110 bool m_schemaIdHasBeenSet = false;
111
112 SchemaVersionNumber m_schemaVersionNumber;
113 bool m_schemaVersionNumberHasBeenSet = false;
114
115 Aws::String m_schemaVersionId;
116 bool m_schemaVersionIdHasBeenSet = false;
117
118 MetadataKeyValuePair m_metadataKeyValue;
119 bool m_metadataKeyValueHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Glue
124} // namespace Aws
RemoveSchemaVersionMetadataRequest & WithSchemaVersionNumber(SchemaVersionNumberT &&value)
RemoveSchemaVersionMetadataRequest & WithSchemaVersionId(SchemaVersionIdT &&value)
RemoveSchemaVersionMetadataRequest & WithMetadataKeyValue(MetadataKeyValueT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveSchemaVersionMetadataRequest & WithSchemaId(SchemaIdT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String