AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterSchemaVersionRequest.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RegisterSchemaVersion"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
48 inline const SchemaId& GetSchemaId() const{ return m_schemaId; }
49 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
50 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
51 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
52 inline RegisterSchemaVersionRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
53 inline RegisterSchemaVersionRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetSchemaDefinition() const{ return m_schemaDefinition; }
62 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
63 inline void SetSchemaDefinition(const Aws::String& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = value; }
64 inline void SetSchemaDefinition(Aws::String&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::move(value); }
65 inline void SetSchemaDefinition(const char* value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition.assign(value); }
67 inline RegisterSchemaVersionRequest& WithSchemaDefinition(Aws::String&& value) { SetSchemaDefinition(std::move(value)); return *this;}
68 inline RegisterSchemaVersionRequest& WithSchemaDefinition(const char* value) { SetSchemaDefinition(value); return *this;}
70 private:
71
72 SchemaId m_schemaId;
73 bool m_schemaIdHasBeenSet = false;
74
75 Aws::String m_schemaDefinition;
76 bool m_schemaDefinitionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Glue
81} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
RegisterSchemaVersionRequest & WithSchemaId(SchemaId &&value)
RegisterSchemaVersionRequest & WithSchemaId(const SchemaId &value)
RegisterSchemaVersionRequest & WithSchemaDefinition(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RegisterSchemaVersionRequest & WithSchemaDefinition(Aws::String &&value)
RegisterSchemaVersionRequest & WithSchemaDefinition(const char *value)
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