AWS SDK for C++  1.9.123
AWS SDK for C++
DeleteRegistryRequest.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 "DeleteRegistry"; }
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 DeleteRegistryRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
64 
68  inline DeleteRegistryRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
69 
73  inline DeleteRegistryRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_registryName;
78  bool m_registryNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace Schemas
83 } // namespace Aws
Aws::Schemas::Model::DeleteRegistryRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: DeleteRegistryRequest.h:43
Aws::Schemas::Model::DeleteRegistryRequest::DeleteRegistryRequest
DeleteRegistryRequest()
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::DeleteRegistryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRegistryRequest.h:30
Aws::Schemas::Model::DeleteRegistryRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: DeleteRegistryRequest.h:58
Aws::Schemas::Model::DeleteRegistryRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: DeleteRegistryRequest.h:38
Aws::Schemas::Model::DeleteRegistryRequest::WithRegistryName
DeleteRegistryRequest & WithRegistryName(const char *value)
Definition: DeleteRegistryRequest.h:73
Schemas_EXPORTS.h
Aws::Schemas::Model::DeleteRegistryRequest::WithRegistryName
DeleteRegistryRequest & WithRegistryName(const Aws::String &value)
Definition: DeleteRegistryRequest.h:63
Aws::Schemas::Model::DeleteRegistryRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Schemas::Model::DeleteRegistryRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: DeleteRegistryRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::DeleteRegistryRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: DeleteRegistryRequest.h:53
Aws::Schemas::Model::DeleteRegistryRequest
Definition: DeleteRegistryRequest.h:22
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::DeleteRegistryRequest::WithRegistryName
DeleteRegistryRequest & WithRegistryName(Aws::String &&value)
Definition: DeleteRegistryRequest.h:68