AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteHsmConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteHsmConfiguration"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
46 
50  inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
51 
55  inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
56 
60  inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
61 
65  inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
66 
70  inline DeleteHsmConfigurationRequest& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;}
71 
75  inline DeleteHsmConfigurationRequest& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;}
76 
80  inline DeleteHsmConfigurationRequest& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
81 
82  private:
83 
84  Aws::String m_hsmConfigurationIdentifier;
85  bool m_hsmConfigurationIdentifierHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace Redshift
90 } // namespace Aws
Aws::Redshift::Model::DeleteHsmConfigurationRequest
Definition: DeleteHsmConfigurationRequest.h:25
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DeleteHsmConfigurationRequest::DeleteHsmConfigurationRequest
DeleteHsmConfigurationRequest()
Aws::Redshift::Model::DeleteHsmConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteHsmConfigurationRequest.h:33
RedshiftRequest.h
Aws::Redshift::Model::DeleteHsmConfigurationRequest::WithHsmConfigurationIdentifier
DeleteHsmConfigurationRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
Definition: DeleteHsmConfigurationRequest.h:75
Aws::Redshift::Model::DeleteHsmConfigurationRequest::WithHsmConfigurationIdentifier
DeleteHsmConfigurationRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
Definition: DeleteHsmConfigurationRequest.h:70
Aws::Redshift::Model::DeleteHsmConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
AWSString.h
Aws::Redshift::Model::DeleteHsmConfigurationRequest::HsmConfigurationIdentifierHasBeenSet
bool HsmConfigurationIdentifierHasBeenSet() const
Definition: DeleteHsmConfigurationRequest.h:50
Aws::Redshift::Model::DeleteHsmConfigurationRequest::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(const Aws::String &value)
Definition: DeleteHsmConfigurationRequest.h:55
Aws::Redshift::Model::DeleteHsmConfigurationRequest::WithHsmConfigurationIdentifier
DeleteHsmConfigurationRequest & WithHsmConfigurationIdentifier(const char *value)
Definition: DeleteHsmConfigurationRequest.h:80
Aws::Redshift::Model::DeleteHsmConfigurationRequest::GetHsmConfigurationIdentifier
const Aws::String & GetHsmConfigurationIdentifier() const
Definition: DeleteHsmConfigurationRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DeleteHsmConfigurationRequest::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(const char *value)
Definition: DeleteHsmConfigurationRequest.h:65
Aws::Redshift::Model::DeleteHsmConfigurationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::DeleteHsmConfigurationRequest::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(Aws::String &&value)
Definition: DeleteHsmConfigurationRequest.h:60