AWS SDK for C++  1.9.1
AWS SDK for C++
DeleteCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/acm/ACMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ACM
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 "DeleteCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
45  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 
55  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
56 
65  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
66 
75  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
76 
85  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
86 
95  inline DeleteCertificateRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
96 
105  inline DeleteCertificateRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
106 
115  inline DeleteCertificateRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
116 
117  private:
118 
119  Aws::String m_certificateArn;
120  bool m_certificateArnHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace ACM
125 } // namespace Aws
Aws::ACM::Model::DeleteCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ACM::Model::DeleteCertificateRequest::DeleteCertificateRequest
DeleteCertificateRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ACM::Model::DeleteCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ACM::Model::DeleteCertificateRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: DeleteCertificateRequest.h:65
Aws::ACM::Model::DeleteCertificateRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: DeleteCertificateRequest.h:75
Aws::ACM::ACMRequest
Definition: ACMRequest.h:17
Aws::ACM::Model::DeleteCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteCertificateRequest.h:30
Aws::ACM::Model::DeleteCertificateRequest
Definition: DeleteCertificateRequest.h:22
Aws::ACM::Model::DeleteCertificateRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: DeleteCertificateRequest.h:55
AWSString.h
ACMRequest.h
ACM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::DeleteCertificateRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: DeleteCertificateRequest.h:85
Aws::ACM::Model::DeleteCertificateRequest::WithCertificateArn
DeleteCertificateRequest & WithCertificateArn(Aws::String &&value)
Definition: DeleteCertificateRequest.h:105
Aws::ACM::Model::DeleteCertificateRequest::WithCertificateArn
DeleteCertificateRequest & WithCertificateArn(const Aws::String &value)
Definition: DeleteCertificateRequest.h:95
Aws::ACM::Model::DeleteCertificateRequest::WithCertificateArn
DeleteCertificateRequest & WithCertificateArn(const char *value)
Definition: DeleteCertificateRequest.h:115
Aws::ACM::Model::DeleteCertificateRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: DeleteCertificateRequest.h:45