AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
PutSchemaVersionMetadataRequest.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 PutSchemaVersionMetadataRequest() = 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 "PutSchemaVersionMetadata"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
37
40 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
41 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
42 template <typename SchemaIdT = SchemaId>
43 void SetSchemaId(SchemaIdT&& value) {
44 m_schemaIdHasBeenSet = true;
45 m_schemaId = std::forward<SchemaIdT>(value);
46 }
47 template <typename SchemaIdT = SchemaId>
49 SetSchemaId(std::forward<SchemaIdT>(value));
50 return *this;
51 }
53
55
58 inline const SchemaVersionNumber& GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
59 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
60 template <typename SchemaVersionNumberT = SchemaVersionNumber>
61 void SetSchemaVersionNumber(SchemaVersionNumberT&& value) {
62 m_schemaVersionNumberHasBeenSet = true;
63 m_schemaVersionNumber = std::forward<SchemaVersionNumberT>(value);
64 }
65 template <typename SchemaVersionNumberT = SchemaVersionNumber>
67 SetSchemaVersionNumber(std::forward<SchemaVersionNumberT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
77 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
78 template <typename SchemaVersionIdT = Aws::String>
79 void SetSchemaVersionId(SchemaVersionIdT&& value) {
80 m_schemaVersionIdHasBeenSet = true;
81 m_schemaVersionId = std::forward<SchemaVersionIdT>(value);
82 }
83 template <typename SchemaVersionIdT = Aws::String>
85 SetSchemaVersionId(std::forward<SchemaVersionIdT>(value));
86 return *this;
87 }
89
91
94 inline const MetadataKeyValuePair& GetMetadataKeyValue() const { return m_metadataKeyValue; }
95 inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; }
96 template <typename MetadataKeyValueT = MetadataKeyValuePair>
97 void SetMetadataKeyValue(MetadataKeyValueT&& value) {
98 m_metadataKeyValueHasBeenSet = true;
99 m_metadataKeyValue = std::forward<MetadataKeyValueT>(value);
100 }
101 template <typename MetadataKeyValueT = MetadataKeyValuePair>
103 SetMetadataKeyValue(std::forward<MetadataKeyValueT>(value));
104 return *this;
105 }
107 private:
108 SchemaId m_schemaId;
109 bool m_schemaIdHasBeenSet = false;
110
111 SchemaVersionNumber m_schemaVersionNumber;
112 bool m_schemaVersionNumberHasBeenSet = false;
113
114 Aws::String m_schemaVersionId;
115 bool m_schemaVersionIdHasBeenSet = false;
116
117 MetadataKeyValuePair m_metadataKeyValue;
118 bool m_metadataKeyValueHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
PutSchemaVersionMetadataRequest & WithMetadataKeyValue(MetadataKeyValueT &&value)
PutSchemaVersionMetadataRequest & WithSchemaVersionId(SchemaVersionIdT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutSchemaVersionMetadataRequest & WithSchemaId(SchemaIdT &&value)
PutSchemaVersionMetadataRequest & WithSchemaVersionNumber(SchemaVersionNumberT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String