AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteSchemaVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Schemas {
15namespace Model {
16
20 public:
21 AWS_SCHEMAS_API DeleteSchemaVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteSchemaVersion"; }
28
29 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetRegistryName() const { return m_registryName; }
36 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
37 template <typename RegistryNameT = Aws::String>
38 void SetRegistryName(RegistryNameT&& value) {
39 m_registryNameHasBeenSet = true;
40 m_registryName = std::forward<RegistryNameT>(value);
41 }
42 template <typename RegistryNameT = Aws::String>
44 SetRegistryName(std::forward<RegistryNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
54 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
55 template <typename SchemaNameT = Aws::String>
56 void SetSchemaName(SchemaNameT&& value) {
57 m_schemaNameHasBeenSet = true;
58 m_schemaName = std::forward<SchemaNameT>(value);
59 }
60 template <typename SchemaNameT = Aws::String>
62 SetSchemaName(std::forward<SchemaNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
72 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
73 template <typename SchemaVersionT = Aws::String>
74 void SetSchemaVersion(SchemaVersionT&& value) {
75 m_schemaVersionHasBeenSet = true;
76 m_schemaVersion = std::forward<SchemaVersionT>(value);
77 }
78 template <typename SchemaVersionT = Aws::String>
80 SetSchemaVersion(std::forward<SchemaVersionT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_registryName;
86
87 Aws::String m_schemaName;
88
89 Aws::String m_schemaVersion;
90 bool m_registryNameHasBeenSet = false;
91 bool m_schemaNameHasBeenSet = false;
92 bool m_schemaVersionHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Schemas
97} // 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