AWS SDK for C++  1.9.44
AWS SDK for C++
DeleteServerCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
8 #include <aws/iam/IAMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IAM
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 "DeleteServerCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
46  inline const Aws::String& GetServerCertificateName() const{ return m_serverCertificateName; }
47 
55  inline bool ServerCertificateNameHasBeenSet() const { return m_serverCertificateNameHasBeenSet; }
56 
64  inline void SetServerCertificateName(const Aws::String& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
65 
73  inline void SetServerCertificateName(Aws::String&& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = std::move(value); }
74 
82  inline void SetServerCertificateName(const char* value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName.assign(value); }
83 
91  inline DeleteServerCertificateRequest& WithServerCertificateName(const Aws::String& value) { SetServerCertificateName(value); return *this;}
92 
100  inline DeleteServerCertificateRequest& WithServerCertificateName(Aws::String&& value) { SetServerCertificateName(std::move(value)); return *this;}
101 
109  inline DeleteServerCertificateRequest& WithServerCertificateName(const char* value) { SetServerCertificateName(value); return *this;}
110 
111  private:
112 
113  Aws::String m_serverCertificateName;
114  bool m_serverCertificateNameHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace IAM
119 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IAM::Model::DeleteServerCertificateRequest::WithServerCertificateName
DeleteServerCertificateRequest & WithServerCertificateName(const Aws::String &value)
Definition: DeleteServerCertificateRequest.h:91
Aws::IAM::Model::DeleteServerCertificateRequest::WithServerCertificateName
DeleteServerCertificateRequest & WithServerCertificateName(const char *value)
Definition: DeleteServerCertificateRequest.h:109
Aws::IAM::IAMRequest
Definition: IAMRequest.h:17
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::DeleteServerCertificateRequest::ServerCertificateNameHasBeenSet
bool ServerCertificateNameHasBeenSet() const
Definition: DeleteServerCertificateRequest.h:55
Aws::IAM::Model::DeleteServerCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::DeleteServerCertificateRequest::GetServerCertificateName
const Aws::String & GetServerCertificateName() const
Definition: DeleteServerCertificateRequest.h:46
Aws::IAM::Model::DeleteServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(const Aws::String &value)
Definition: DeleteServerCertificateRequest.h:64
AWSString.h
Aws::IAM::Model::DeleteServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(Aws::String &&value)
Definition: DeleteServerCertificateRequest.h:73
IAM_EXPORTS.h
IAMRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::DeleteServerCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteServerCertificateRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::DeleteServerCertificateRequest
Definition: DeleteServerCertificateRequest.h:22
Aws::IAM::Model::DeleteServerCertificateRequest::WithServerCertificateName
DeleteServerCertificateRequest & WithServerCertificateName(Aws::String &&value)
Definition: DeleteServerCertificateRequest.h:100
Aws::IAM::Model::DeleteServerCertificateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::IAM::Model::DeleteServerCertificateRequest::SetServerCertificateName
void SetServerCertificateName(const char *value)
Definition: DeleteServerCertificateRequest.h:82
Aws::IAM::Model::DeleteServerCertificateRequest::DeleteServerCertificateRequest
DeleteServerCertificateRequest()