AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteSchemaVersionsRequest.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:
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 "DeleteSchemaVersions"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const SchemaId& GetSchemaId() const{ return m_schemaId; }
44 inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; }
45 inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; }
46 inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); }
47 inline DeleteSchemaVersionsRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;}
48 inline DeleteSchemaVersionsRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;}
50
52
57 inline const Aws::String& GetVersions() const{ return m_versions; }
58 inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; }
59 inline void SetVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions = value; }
60 inline void SetVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions = std::move(value); }
61 inline void SetVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.assign(value); }
62 inline DeleteSchemaVersionsRequest& WithVersions(const Aws::String& value) { SetVersions(value); return *this;}
63 inline DeleteSchemaVersionsRequest& WithVersions(Aws::String&& value) { SetVersions(std::move(value)); return *this;}
64 inline DeleteSchemaVersionsRequest& WithVersions(const char* value) { SetVersions(value); return *this;}
66 private:
67
68 SchemaId m_schemaId;
69 bool m_schemaIdHasBeenSet = false;
70
71 Aws::String m_versions;
72 bool m_versionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
DeleteSchemaVersionsRequest & WithSchemaId(const SchemaId &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteSchemaVersionsRequest & WithVersions(Aws::String &&value)
DeleteSchemaVersionsRequest & WithSchemaId(SchemaId &&value)
DeleteSchemaVersionsRequest & WithVersions(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteSchemaVersionsRequest & WithVersions(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String