AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteSchemaVersionRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Schemas
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SCHEMAS_API DeleteSchemaVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteSchemaVersion"; }
31
32 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetRegistryName() const { return m_registryName; }
40 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
41 template<typename RegistryNameT = Aws::String>
42 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
43 template<typename RegistryNameT = Aws::String>
44 DeleteSchemaVersionRequest& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
52 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
53 template<typename SchemaNameT = Aws::String>
54 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
55 template<typename SchemaNameT = Aws::String>
56 DeleteSchemaVersionRequest& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
64 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
65 template<typename SchemaVersionT = Aws::String>
66 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
67 template<typename SchemaVersionT = Aws::String>
68 DeleteSchemaVersionRequest& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
70 private:
71
72 Aws::String m_registryName;
73 bool m_registryNameHasBeenSet = false;
74
75 Aws::String m_schemaName;
76 bool m_schemaNameHasBeenSet = false;
77
78 Aws::String m_schemaVersion;
79 bool m_schemaVersionHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Schemas
84} // namespace Aws
AWS_SCHEMAS_API Aws::String SerializePayload() const override
DeleteSchemaVersionRequest & WithSchemaName(SchemaNameT &&value)
AWS_SCHEMAS_API DeleteSchemaVersionRequest()=default
DeleteSchemaVersionRequest & WithRegistryName(RegistryNameT &&value)
virtual const char * GetServiceRequestName() const override
DeleteSchemaVersionRequest & WithSchemaVersion(SchemaVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String