AWS SDK for C++  1.8.127
AWS SDK for C++
DeleteSchemaRequest.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 "DeleteSchema"; }
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 DeleteSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
64 
68  inline DeleteSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
69 
73  inline DeleteSchemaRequest& 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 DeleteSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
105 
109  inline DeleteSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
110 
114  inline DeleteSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
115 
116  private:
117 
118  Aws::String m_registryName;
119  bool m_registryNameHasBeenSet;
120 
121  Aws::String m_schemaName;
122  bool m_schemaNameHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Schemas
127 } // namespace Aws
Aws::Schemas::Model::DeleteSchemaRequest
Definition: DeleteSchemaRequest.h:22
Aws::Schemas::Model::DeleteSchemaRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: DeleteSchemaRequest.h:79
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::DeleteSchemaRequest::SerializePayload
Aws::String SerializePayload() const override
SchemasRequest.h
Aws::Schemas::Model::DeleteSchemaRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: DeleteSchemaRequest.h:58
Aws::Schemas::Model::DeleteSchemaRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: DeleteSchemaRequest.h:43
Aws::Schemas::Model::DeleteSchemaRequest::DeleteSchemaRequest
DeleteSchemaRequest()
Aws::Schemas::Model::DeleteSchemaRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: DeleteSchemaRequest.h:99
Aws::Schemas::Model::DeleteSchemaRequest::WithSchemaName
DeleteSchemaRequest & WithSchemaName(Aws::String &&value)
Definition: DeleteSchemaRequest.h:109
Schemas_EXPORTS.h
Aws::Schemas::Model::DeleteSchemaRequest::WithSchemaName
DeleteSchemaRequest & WithSchemaName(const char *value)
Definition: DeleteSchemaRequest.h:114
Aws::Schemas::Model::DeleteSchemaRequest::WithRegistryName
DeleteSchemaRequest & WithRegistryName(Aws::String &&value)
Definition: DeleteSchemaRequest.h:68
Aws::Schemas::Model::DeleteSchemaRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: DeleteSchemaRequest.h:94
Aws::Schemas::Model::DeleteSchemaRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: DeleteSchemaRequest.h:38
Aws::Schemas::Model::DeleteSchemaRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: DeleteSchemaRequest.h:84
Aws::Schemas::Model::DeleteSchemaRequest::WithSchemaName
DeleteSchemaRequest & WithSchemaName(const Aws::String &value)
Definition: DeleteSchemaRequest.h:104
AWSString.h
Aws::Schemas::Model::DeleteSchemaRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: DeleteSchemaRequest.h:89
Aws::Schemas::Model::DeleteSchemaRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: DeleteSchemaRequest.h:53
Aws::Schemas::Model::DeleteSchemaRequest::WithRegistryName
DeleteSchemaRequest & WithRegistryName(const Aws::String &value)
Definition: DeleteSchemaRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::DeleteSchemaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSchemaRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::DeleteSchemaRequest::WithRegistryName
DeleteSchemaRequest & WithRegistryName(const char *value)
Definition: DeleteSchemaRequest.h:73
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::DeleteSchemaRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: DeleteSchemaRequest.h:48