AWS SDK for C++

AWS SDK for C++ Version 1.11.848

Loading...
Searching...
No Matches
ExportCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/core/utils/Array.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 ExportCertificateRequest() = 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 "ExportCertificate"; }
29
30 AWS_ACM_API Aws::String SerializePayload() const override;
31
33
37 AWS_ACM_API EndpointParameters GetEndpointContextParams() const override;
38
40
46 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 template <typename CertificateArnT = Aws::String>
49 void SetCertificateArn(CertificateArnT&& value) {
50 m_certificateArnHasBeenSet = true;
51 m_certificateArn = std::forward<CertificateArnT>(value);
52 }
53 template <typename CertificateArnT = Aws::String>
54 ExportCertificateRequest& WithCertificateArn(CertificateArnT&& value) {
55 SetCertificateArn(std::forward<CertificateArnT>(value));
56 return *this;
57 }
59
61
69 inline const Aws::Utils::CryptoBuffer& GetPassphrase() const { return m_passphrase; }
70 inline bool PassphraseHasBeenSet() const { return m_passphraseHasBeenSet; }
71 template <typename PassphraseT = Aws::Utils::CryptoBuffer>
72 void SetPassphrase(PassphraseT&& value) {
73 m_passphraseHasBeenSet = true;
74 m_passphrase = std::forward<PassphraseT>(value);
75 }
76 template <typename PassphraseT = Aws::Utils::CryptoBuffer>
78 SetPassphrase(std::forward<PassphraseT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_certificateArn;
84
85 Aws::Utils::CryptoBuffer m_passphrase{};
86 bool m_certificateArnHasBeenSet = false;
87 bool m_passphraseHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ACM
92} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
Definition ACMRequest.h:18
ExportCertificateRequest & WithPassphrase(PassphraseT &&value)
AWS_ACM_API EndpointParameters GetEndpointContextParams() const override
ExportCertificateRequest & WithCertificateArn(CertificateArnT &&value)
AWS_ACM_API Aws::String SerializePayload() const override
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_ACM_API ExportCertificateRequest()=default
const Aws::Utils::CryptoBuffer & GetPassphrase() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String