AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
52 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
53 inline UpdateSchemaRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
54 inline UpdateSchemaRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
56
58
62 inline const SchemaVersionNumber& GetSchemaVersionNumber() const{ return m_schemaVersionNumber; }
63 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
64 inline void SetSchemaVersionNumber(const SchemaVersionNumber& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
65 inline void SetSchemaVersionNumber(SchemaVersionNumber&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::move(value); }
69
71
74 inline const Compatibility& GetCompatibility() const{ return m_compatibility; }
75 inline bool CompatibilityHasBeenSet() const { return m_compatibilityHasBeenSet; }
76 inline void SetCompatibility(const Compatibility& value) { m_compatibilityHasBeenSet = true; m_compatibility = value; }
77 inline void SetCompatibility(Compatibility&& value) { m_compatibilityHasBeenSet = true; m_compatibility = std::move(value); }
78 inline UpdateSchemaRequest& WithCompatibility(const Compatibility& value) { SetCompatibility(value); return *this;}
79 inline UpdateSchemaRequest& WithCompatibility(Compatibility&& value) { SetCompatibility(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline UpdateSchemaRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline UpdateSchemaRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline UpdateSchemaRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95 private:
96
97 SchemaId m_schemaId;
98 bool m_schemaIdHasBeenSet = false;
99
100 SchemaVersionNumber m_schemaVersionNumber;
101 bool m_schemaVersionNumberHasBeenSet = false;
102
103 Compatibility m_compatibility;
104 bool m_compatibilityHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Glue
112} // namespace Aws
UpdateSchemaRequest & WithDescription(Aws::String &&value)
UpdateSchemaRequest & WithCompatibility(Compatibility &&value)
UpdateSchemaRequest & WithSchemaId(SchemaId &&value)
void SetSchemaVersionNumber(const SchemaVersionNumber &value)
void SetCompatibility(Compatibility &&value)
const SchemaVersionNumber & GetSchemaVersionNumber() const
void SetSchemaVersionNumber(SchemaVersionNumber &&value)
UpdateSchemaRequest & WithSchemaVersionNumber(SchemaVersionNumber &&value)
UpdateSchemaRequest & WithCompatibility(const Compatibility &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetCompatibility(const Compatibility &value)
const Compatibility & GetCompatibility() const
void SetSchemaId(const SchemaId &value)
UpdateSchemaRequest & WithSchemaVersionNumber(const SchemaVersionNumber &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSchemaRequest & WithDescription(const Aws::String &value)
UpdateSchemaRequest & WithDescription(const char *value)
const Aws::String & GetDescription() const
UpdateSchemaRequest & WithSchemaId(const SchemaId &value)
void SetDescription(const Aws::String &value)
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