AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutSchemaVersionMetadataRequest.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 PutSchemaVersionMetadataRequest() = 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 "PutSchemaVersionMetadata"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
45 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
46 template<typename SchemaIdT = SchemaId>
47 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
48 template<typename SchemaIdT = SchemaId>
49 PutSchemaVersionMetadataRequest& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
51
53
56 inline const SchemaVersionNumber& GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
57 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
58 template<typename SchemaVersionNumberT = SchemaVersionNumber>
59 void SetSchemaVersionNumber(SchemaVersionNumberT&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::forward<SchemaVersionNumberT>(value); }
60 template<typename SchemaVersionNumberT = SchemaVersionNumber>
61 PutSchemaVersionMetadataRequest& WithSchemaVersionNumber(SchemaVersionNumberT&& value) { SetSchemaVersionNumber(std::forward<SchemaVersionNumberT>(value)); return *this;}
63
65
68 inline const Aws::String& GetSchemaVersionId() const { return m_schemaVersionId; }
69 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
70 template<typename SchemaVersionIdT = Aws::String>
71 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
72 template<typename SchemaVersionIdT = Aws::String>
73 PutSchemaVersionMetadataRequest& WithSchemaVersionId(SchemaVersionIdT&& value) { SetSchemaVersionId(std::forward<SchemaVersionIdT>(value)); return *this;}
75
77
80 inline const MetadataKeyValuePair& GetMetadataKeyValue() const { return m_metadataKeyValue; }
81 inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; }
82 template<typename MetadataKeyValueT = MetadataKeyValuePair>
83 void SetMetadataKeyValue(MetadataKeyValueT&& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = std::forward<MetadataKeyValueT>(value); }
84 template<typename MetadataKeyValueT = MetadataKeyValuePair>
85 PutSchemaVersionMetadataRequest& WithMetadataKeyValue(MetadataKeyValueT&& value) { SetMetadataKeyValue(std::forward<MetadataKeyValueT>(value)); return *this;}
87 private:
88
89 SchemaId m_schemaId;
90 bool m_schemaIdHasBeenSet = false;
91
92 SchemaVersionNumber m_schemaVersionNumber;
93 bool m_schemaVersionNumberHasBeenSet = false;
94
95 Aws::String m_schemaVersionId;
96 bool m_schemaVersionIdHasBeenSet = false;
97
98 MetadataKeyValuePair m_metadataKeyValue;
99 bool m_metadataKeyValueHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Glue
104} // 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