AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSchemaRequest.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/glue/model/Compatibility.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Glue
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_GLUE_API UpdateSchemaRequest() = default;
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 "UpdateSchema"; }
34
35 AWS_GLUE_API Aws::String SerializePayload() const override;
36
38
39
41
49 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
50 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
51 template<typename SchemaIdT = SchemaId>
52 void SetSchemaId(SchemaIdT&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::forward<SchemaIdT>(value); }
53 template<typename SchemaIdT = SchemaId>
54 UpdateSchemaRequest& WithSchemaId(SchemaIdT&& value) { SetSchemaId(std::forward<SchemaIdT>(value)); return *this;}
56
58
62 inline const SchemaVersionNumber& GetSchemaVersionNumber() const { return m_schemaVersionNumber; }
63 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
64 template<typename SchemaVersionNumberT = SchemaVersionNumber>
65 void SetSchemaVersionNumber(SchemaVersionNumberT&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::forward<SchemaVersionNumberT>(value); }
66 template<typename SchemaVersionNumberT = SchemaVersionNumber>
67 UpdateSchemaRequest& WithSchemaVersionNumber(SchemaVersionNumberT&& value) { SetSchemaVersionNumber(std::forward<SchemaVersionNumberT>(value)); return *this;}
69
71
74 inline Compatibility GetCompatibility() const { return m_compatibility; }
75 inline bool CompatibilityHasBeenSet() const { return m_compatibilityHasBeenSet; }
76 inline void SetCompatibility(Compatibility value) { m_compatibilityHasBeenSet = true; m_compatibility = value; }
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 UpdateSchemaRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91 private:
92
93 SchemaId m_schemaId;
94 bool m_schemaIdHasBeenSet = false;
95
96 SchemaVersionNumber m_schemaVersionNumber;
97 bool m_schemaVersionNumberHasBeenSet = false;
98
100 bool m_compatibilityHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
void SetSchemaVersionNumber(SchemaVersionNumberT &&value)
const SchemaVersionNumber & GetSchemaVersionNumber() const
void SetCompatibility(Compatibility value)
UpdateSchemaRequest & WithSchemaId(SchemaIdT &&value)
AWS_GLUE_API UpdateSchemaRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateSchemaRequest & WithSchemaVersionNumber(SchemaVersionNumberT &&value)
void SetDescription(DescriptionT &&value)
UpdateSchemaRequest & WithCompatibility(Compatibility value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSchemaRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
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