AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
35
41 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
42 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
43 template <typename CertificateArnT = Aws::String>
44 void SetCertificateArn(CertificateArnT&& value) {
45 m_certificateArnHasBeenSet = true;
46 m_certificateArn = std::forward<CertificateArnT>(value);
47 }
48 template <typename CertificateArnT = Aws::String>
49 ExportCertificateRequest& WithCertificateArn(CertificateArnT&& value) {
50 SetCertificateArn(std::forward<CertificateArnT>(value));
51 return *this;
52 }
54
56
64 inline const Aws::Utils::CryptoBuffer& GetPassphrase() const { return m_passphrase; }
65 inline bool PassphraseHasBeenSet() const { return m_passphraseHasBeenSet; }
66 template <typename PassphraseT = Aws::Utils::CryptoBuffer>
67 void SetPassphrase(PassphraseT&& value) {
68 m_passphraseHasBeenSet = true;
69 m_passphrase = std::forward<PassphraseT>(value);
70 }
71 template <typename PassphraseT = Aws::Utils::CryptoBuffer>
73 SetPassphrase(std::forward<PassphraseT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_certificateArn;
79
80 Aws::Utils::CryptoBuffer m_passphrase{};
81 bool m_certificateArnHasBeenSet = false;
82 bool m_passphraseHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ACM
87} // namespace Aws
ExportCertificateRequest & WithPassphrase(PassphraseT &&value)
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