AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSchemaByDefinitionRequest.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:
25 AWS_GLUE_API GetSchemaByDefinitionRequest() = default;
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 "GetSchemaByDefinition"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
47 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
48 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
49 template<typename SchemaIdT = SchemaId>
50 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
51 template<typename SchemaIdT = SchemaId>
52 GetSchemaByDefinitionRequest& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetSchemaDefinition() const { return m_schemaDefinition; }
60 inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; }
61 template<typename SchemaDefinitionT = Aws::String>
62 void SetSchemaDefinition(SchemaDefinitionT&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::forward<SchemaDefinitionT>(value); }
63 template<typename SchemaDefinitionT = Aws::String>
64 GetSchemaByDefinitionRequest& WithSchemaDefinition(SchemaDefinitionT&& value) { SetSchemaDefinition(std::forward<SchemaDefinitionT>(value)); return *this;}
66 private:
67
68 SchemaId m_schemaId;
69 bool m_schemaIdHasBeenSet = false;
70
71 Aws::String m_schemaDefinition;
72 bool m_schemaDefinitionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // 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