AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSchemaVersionRequest.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 <aws/glue/model/SchemaVersionNumber.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetSchemaVersion"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
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 GetSchemaVersionRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
54 inline GetSchemaVersionRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
56
58
63 inline const Aws::String& GetSchemaVersionId() const{ return m_schemaVersionId; }
64 inline bool SchemaVersionIdHasBeenSet() const { return m_schemaVersionIdHasBeenSet; }
65 inline void SetSchemaVersionId(const Aws::String& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = value; }
66 inline void SetSchemaVersionId(Aws::String&& value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId = std::move(value); }
67 inline void SetSchemaVersionId(const char* value) { m_schemaVersionIdHasBeenSet = true; m_schemaVersionId.assign(value); }
68 inline GetSchemaVersionRequest& WithSchemaVersionId(const Aws::String& value) { SetSchemaVersionId(value); return *this;}
69 inline GetSchemaVersionRequest& WithSchemaVersionId(Aws::String&& value) { SetSchemaVersionId(std::move(value)); return *this;}
70 inline GetSchemaVersionRequest& WithSchemaVersionId(const char* value) { SetSchemaVersionId(value); return *this;}
72
74
77 inline const SchemaVersionNumber& GetSchemaVersionNumber() const{ return m_schemaVersionNumber; }
78 inline bool SchemaVersionNumberHasBeenSet() const { return m_schemaVersionNumberHasBeenSet; }
79 inline void SetSchemaVersionNumber(const SchemaVersionNumber& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = value; }
80 inline void SetSchemaVersionNumber(SchemaVersionNumber&& value) { m_schemaVersionNumberHasBeenSet = true; m_schemaVersionNumber = std::move(value); }
84 private:
85
86 SchemaId m_schemaId;
87 bool m_schemaIdHasBeenSet = false;
88
89 Aws::String m_schemaVersionId;
90 bool m_schemaVersionIdHasBeenSet = false;
91
92 SchemaVersionNumber m_schemaVersionNumber;
93 bool m_schemaVersionNumberHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Glue
98} // namespace Aws
void SetSchemaVersionNumber(const SchemaVersionNumber &value)
GetSchemaVersionRequest & WithSchemaVersionNumber(const SchemaVersionNumber &value)
GetSchemaVersionRequest & WithSchemaId(const SchemaId &value)
AWS_GLUE_API Aws::String SerializePayload() const override
GetSchemaVersionRequest & WithSchemaVersionNumber(SchemaVersionNumber &&value)
GetSchemaVersionRequest & WithSchemaId(SchemaId &&value)
virtual const char * GetServiceRequestName() const override
GetSchemaVersionRequest & WithSchemaVersionId(const char *value)
GetSchemaVersionRequest & WithSchemaVersionId(const Aws::String &value)
void SetSchemaVersionId(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSchemaVersionNumber(SchemaVersionNumber &&value)
GetSchemaVersionRequest & WithSchemaVersionId(Aws::String &&value)
const SchemaVersionNumber & GetSchemaVersionNumber() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String