AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
47 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
48 inline PutSchemaVersionMetadataRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
49 inline PutSchemaVersionMetadataRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
51
53
56 inline const SchemaVersionNumber& GetSchemaVersionNumber() const{ return m_schemaVersionNumber; }
57 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
58 inline void SetSchemaVersionNumber(const SchemaVersionNumber& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
59 inline void SetSchemaVersionNumber(SchemaVersionNumber&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::move(value); }
63
65
68 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
69 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
70 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; }
71 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); }
72 inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); }
74 inline PutSchemaVersionMetadataRequest& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
75 inline PutSchemaVersionMetadataRequest& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
77
79
82 inline const MetadataKeyValuePair& GetMetadataKeyValue() const{ return m_metadataKeyValue; }
83 inline bool MetadataKeyValueHasBeenSet() const { return m_metadataKeyValueHasBeenSet; }
84 inline void SetMetadataKeyValue(const MetadataKeyValuePair& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = value; }
85 inline void SetMetadataKeyValue(MetadataKeyValuePair&& value) { m_metadataKeyValueHasBeenSet = true; m_metadataKeyValue = std::move(value); }
89 private:
90
91 SchemaId m_schemaId;
92 bool m_schemaIdHasBeenSet = false;
93
94 SchemaVersionNumber m_schemaVersionNumber;
95 bool m_schemaVersionNumberHasBeenSet = false;
96
97 Aws::String m_schemaVersionId;
98 bool m_schemaVersionIdHasBeenSet = false;
99
100 MetadataKeyValuePair m_metadataKeyValue;
101 bool m_metadataKeyValueHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
PutSchemaVersionMetadataRequest & WithSchemaVersionId(Aws::String &&value)
PutSchemaVersionMetadataRequest & WithSchemaVersionNumber(SchemaVersionNumber &&value)
PutSchemaVersionMetadataRequest & WithSchemaVersionNumber(const SchemaVersionNumber &value)
PutSchemaVersionMetadataRequest & WithSchemaVersionId(const char *value)
PutSchemaVersionMetadataRequest & WithSchemaId(const SchemaId &value)
PutSchemaVersionMetadataRequest & WithSchemaVersionId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
PutSchemaVersionMetadataRequest & WithSchemaId(SchemaId &&value)
PutSchemaVersionMetadataRequest & WithMetadataKeyValue(MetadataKeyValuePair &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutSchemaVersionMetadataRequest & WithMetadataKeyValue(const MetadataKeyValuePair &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String