AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
RevokeMemberIssuedCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/acm/model/PrivateCaRevocationReason.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ACM {
16namespace Model {
17
21 public:
22 AWS_ACM_API RevokeMemberIssuedCertificateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "RevokeMemberIssuedCertificate"; }
29
30 AWS_ACM_API Aws::String SerializePayload() const override;
31
33
37 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
38
40
43 inline const Aws::String& GetCertificateAuthorityArn() const { return m_certificateAuthorityArn; }
44 inline bool CertificateAuthorityArnHasBeenSet() const { return m_certificateAuthorityArnHasBeenSet; }
45 template <typename CertificateAuthorityArnT = Aws::String>
46 void SetCertificateAuthorityArn(CertificateAuthorityArnT&& value) {
47 m_certificateAuthorityArnHasBeenSet = true;
48 m_certificateAuthorityArn = std::forward<CertificateAuthorityArnT>(value);
49 }
50 template <typename CertificateAuthorityArnT = Aws::String>
52 SetCertificateAuthorityArn(std::forward<CertificateAuthorityArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetCertificateSerial() const { return m_certificateSerial; }
62 inline bool CertificateSerialHasBeenSet() const { return m_certificateSerialHasBeenSet; }
63 template <typename CertificateSerialT = Aws::String>
64 void SetCertificateSerial(CertificateSerialT&& value) {
65 m_certificateSerialHasBeenSet = true;
66 m_certificateSerial = std::forward<CertificateSerialT>(value);
67 }
68 template <typename CertificateSerialT = Aws::String>
70 SetCertificateSerial(std::forward<CertificateSerialT>(value));
71 return *this;
72 }
74
76
79 inline PrivateCaRevocationReason GetRevocationReason() const { return m_revocationReason; }
80 inline bool RevocationReasonHasBeenSet() const { return m_revocationReasonHasBeenSet; }
82 m_revocationReasonHasBeenSet = true;
83 m_revocationReason = value;
84 }
90 private:
91 Aws::String m_certificateAuthorityArn;
92
93 Aws::String m_certificateSerial;
94
96 bool m_certificateAuthorityArnHasBeenSet = false;
97 bool m_certificateSerialHasBeenSet = false;
98 bool m_revocationReasonHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ACM
103} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ACM_API Aws::String SerializePayload() const override
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
RevokeMemberIssuedCertificateRequest & WithCertificateSerial(CertificateSerialT &&value)
RevokeMemberIssuedCertificateRequest & WithRevocationReason(PrivateCaRevocationReason value)
RevokeMemberIssuedCertificateRequest & WithCertificateAuthorityArn(CertificateAuthorityArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String