AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RemoveSchemaVersionMetadataRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/model/SchemaId.h>
10#include <aws/glue/model/SchemaVersionNumber.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/glue/model/MetadataKeyValuePair.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUE_API RemoveSchemaVersionMetadataRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "RemoveSchemaVersionMetadata"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
46 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
47 template<typename SchemaIdT = SchemaId>
48 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
49 template<typename SchemaIdT = SchemaId>
50 RemoveSchemaVersionMetadataRequest& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
52
54
57 inline const SchemaVersionNumber& GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
58 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
59 template<typename SchemaVersionNumberT = SchemaVersionNumber>
60 void SetSchemaVersionNumber(SchemaVersionNumberT&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::forward<SchemaVersionNumberT>(value); }
61 template<typename SchemaVersionNumberT = SchemaVersionNumber>
62 RemoveSchemaVersionMetadataRequest& WithSchemaVersionNumber(SchemaVersionNumberT&& value) { SetSchemaVersionNumber(std::forward<SchemaVersionNumberT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
70 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
71 template<typename SchemaVersionIdT = Aws::String>
72 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
73 template<typename SchemaVersionIdT = Aws::String>
74 RemoveSchemaVersionMetadataRequest& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
76
78
81 inline const MetadataKeyValuePair& GetMetadataKeyValue() const { return m_metadataKeyValue; }
82 inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; }
83 template<typename MetadataKeyValueT = MetadataKeyValuePair>
84 void SetMetadataKeyValue(MetadataKeyValueT&& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = std::forward<MetadataKeyValueT>(value); }
85 template<typename MetadataKeyValueT = MetadataKeyValuePair>
86 RemoveSchemaVersionMetadataRequest& WithMetadataKeyValue(MetadataKeyValueT&& value) { SetMetadataKeyValue(std::forward<MetadataKeyValueT>(value)); return *this;}
88 private:
89
90 SchemaId m_schemaId;
91 bool m_schemaIdHasBeenSet = false;
92
93 SchemaVersionNumber m_schemaVersionNumber;
94 bool m_schemaVersionNumberHasBeenSet = false;
95
96 Aws::String m_schemaVersionId;
97 bool m_schemaVersionIdHasBeenSet = false;
98
99 MetadataKeyValuePair m_metadataKeyValue;
100 bool m_metadataKeyValueHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // 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