AWS SDK for C++  1.9.130
AWS SDK for C++
DeleteSchemaVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Schemas
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
39 
43  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
44 
48  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
49 
53  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
54 
58  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
59 
63  inline DeleteSchemaVersionRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
64 
68  inline DeleteSchemaVersionRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
69 
73  inline DeleteSchemaVersionRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
74 
75 
79  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
80 
84  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
85 
89  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
90 
94  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
95 
99  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
100 
104  inline DeleteSchemaVersionRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
105 
109  inline DeleteSchemaVersionRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
110 
114  inline DeleteSchemaVersionRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
115 
116 
120  inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
121 
125  inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
126 
130  inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
131 
135  inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
136 
140  inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
141 
145  inline DeleteSchemaVersionRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
146 
150  inline DeleteSchemaVersionRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
151 
155  inline DeleteSchemaVersionRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
156 
157  private:
158 
159  Aws::String m_registryName;
160  bool m_registryNameHasBeenSet;
161 
162  Aws::String m_schemaName;
163  bool m_schemaNameHasBeenSet;
164 
165  Aws::String m_schemaVersion;
166  bool m_schemaVersionHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace Schemas
171 } // namespace Aws
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaVersion
void SetSchemaVersion(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:135
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaVersion
void SetSchemaVersion(const char *value)
Definition: DeleteSchemaVersionRequest.h:140
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithRegistryName
DeleteSchemaVersionRequest & WithRegistryName(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:68
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaName
DeleteSchemaVersionRequest & WithSchemaName(const char *value)
Definition: DeleteSchemaVersionRequest.h:114
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaVersion
void SetSchemaVersion(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:130
Aws::Schemas::Model::DeleteSchemaVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSchemaVersionRequest.h:30
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:53
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::DeleteSchemaVersionRequest::GetSchemaVersion
const Aws::String & GetSchemaVersion() const
Definition: DeleteSchemaVersionRequest.h:120
SchemasRequest.h
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:89
Aws::Schemas::Model::DeleteSchemaVersionRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: DeleteSchemaVersionRequest.h:84
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaVersion
DeleteSchemaVersionRequest & WithSchemaVersion(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:150
Aws::Schemas::Model::DeleteSchemaVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:48
Aws::Schemas::Model::DeleteSchemaVersionRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: DeleteSchemaVersionRequest.h:79
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithRegistryName
DeleteSchemaVersionRequest & WithRegistryName(const char *value)
Definition: DeleteSchemaVersionRequest.h:73
Schemas_EXPORTS.h
Aws::Schemas::Model::DeleteSchemaVersionRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: DeleteSchemaVersionRequest.h:43
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: DeleteSchemaVersionRequest.h:58
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithRegistryName
DeleteSchemaVersionRequest & WithRegistryName(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:63
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaName
DeleteSchemaVersionRequest & WithSchemaName(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:109
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaName
DeleteSchemaVersionRequest & WithSchemaName(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:104
AWSString.h
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaVersion
DeleteSchemaVersionRequest & WithSchemaVersion(const Aws::String &value)
Definition: DeleteSchemaVersionRequest.h:145
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: DeleteSchemaVersionRequest.h:94
Aws::Schemas::Model::DeleteSchemaVersionRequest::SchemaVersionHasBeenSet
bool SchemaVersionHasBeenSet() const
Definition: DeleteSchemaVersionRequest.h:125
Aws::Schemas::Model::DeleteSchemaVersionRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: DeleteSchemaVersionRequest.h:99
Aws::Schemas::Model::DeleteSchemaVersionRequest::WithSchemaVersion
DeleteSchemaVersionRequest & WithSchemaVersion(const char *value)
Definition: DeleteSchemaVersionRequest.h:155
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::DeleteSchemaVersionRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: DeleteSchemaVersionRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::DeleteSchemaVersionRequest
Definition: DeleteSchemaVersionRequest.h:22
Aws::Schemas::Model::DeleteSchemaVersionRequest::DeleteSchemaVersionRequest
DeleteSchemaVersionRequest()