AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RegisterSchemaVersionRequest.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/SchemaId.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API RegisterSchemaVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "RegisterSchemaVersion"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
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) {
48 m_schemaIdHasBeenSet = true;
49 m_schemaId = std::forward<SchemaIdT>(value);
50 }
51 template <typename SchemaIdT = SchemaId>
53 SetSchemaId(std::forward<SchemaIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetSchemaDefinition() const { return m_schemaDefinition; }
64 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
65 template <typename SchemaDefinitionT = Aws::String>
66 void SetSchemaDefinition(SchemaDefinitionT&& value) {
67 m_schemaDefinitionHasBeenSet = true;
68 m_schemaDefinition = std::forward<SchemaDefinitionT>(value);
69 }
70 template <typename SchemaDefinitionT = Aws::String>
72 SetSchemaDefinition(std::forward<SchemaDefinitionT>(value));
73 return *this;
74 }
76 private:
77 SchemaId m_schemaId;
78
79 Aws::String m_schemaDefinition;
80 bool m_schemaIdHasBeenSet = false;
81 bool m_schemaDefinitionHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Glue
86} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
RegisterSchemaVersionRequest & WithSchemaId(SchemaIdT &&value)
RegisterSchemaVersionRequest & WithSchemaDefinition(SchemaDefinitionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API RegisterSchemaVersionRequest()=default
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String