AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteSchemaVersionsRequest.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 DeleteSchemaVersionsRequest() = 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 "DeleteSchemaVersions"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const SchemaId& GetSchemaId() const { return m_schemaId; }
40 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
41 template <typename SchemaIdT = SchemaId>
42 void SetSchemaId(SchemaIdT&& value) {
43 m_schemaIdHasBeenSet = true;
44 m_schemaId = std::forward<SchemaIdT>(value);
45 }
46 template <typename SchemaIdT = SchemaId>
48 SetSchemaId(std::forward<SchemaIdT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetVersions() const { return m_versions; }
60 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
61 template <typename VersionsT = Aws::String>
62 void SetVersions(VersionsT&& value) {
63 m_versionsHasBeenSet = true;
64 m_versions = std::forward<VersionsT>(value);
65 }
66 template <typename VersionsT = Aws::String>
68 SetVersions(std::forward<VersionsT>(value));
69 return *this;
70 }
72 private:
73 SchemaId m_schemaId;
74
75 Aws::String m_versions;
76 bool m_schemaIdHasBeenSet = false;
77 bool m_versionsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Glue
82} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API DeleteSchemaVersionsRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteSchemaVersionsRequest & WithSchemaId(SchemaIdT &&value)
DeleteSchemaVersionsRequest & WithVersions(VersionsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String