AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetSchemaByDefinitionRequest.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 GetSchemaByDefinitionRequest() = 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 "GetSchemaByDefinition"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
43 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
44 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
45 template <typename SchemaIdT = SchemaId>
46 void SetSchemaId(SchemaIdT&& value) {
47 m_schemaIdHasBeenSet = true;
48 m_schemaId = std::forward<SchemaIdT>(value);
49 }
50 template <typename SchemaIdT = SchemaId>
52 SetSchemaId(std::forward<SchemaIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetSchemaDefinition() const { return m_schemaDefinition; }
62 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
63 template <typename SchemaDefinitionT = Aws::String>
64 void SetSchemaDefinition(SchemaDefinitionT&& value) {
65 m_schemaDefinitionHasBeenSet = true;
66 m_schemaDefinition = std::forward<SchemaDefinitionT>(value);
67 }
68 template <typename SchemaDefinitionT = Aws::String>
70 SetSchemaDefinition(std::forward<SchemaDefinitionT>(value));
71 return *this;
72 }
74 private:
75 SchemaId m_schemaId;
76 bool m_schemaIdHasBeenSet = false;
77
78 Aws::String m_schemaDefinition;
79 bool m_schemaDefinitionHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Glue
84} // namespace Aws
AWS_GLUE_API GetSchemaByDefinitionRequest()=default
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSchemaByDefinitionRequest & WithSchemaDefinition(SchemaDefinitionT &&value)
GetSchemaByDefinitionRequest & WithSchemaId(SchemaIdT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String