AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ACM
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ExportCertificate"; }
32
33 AWS_ACM_API Aws::String SerializePayload() const override;
34
36
37
39
45 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
50 inline ExportCertificateRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
51 inline ExportCertificateRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline ExportCertificateRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54
56
64 inline const Aws::Utils::CryptoBuffer& GetPassphrase() const{ return m_passphrase; }
65 inline bool PassphraseHasBeenSet() const { return m_passphraseHasBeenSet; }
66 inline void SetPassphrase(const Aws::Utils::CryptoBuffer& value) { m_passphraseHasBeenSet = true; m_passphrase = value; }
67 inline void SetPassphrase(Aws::Utils::CryptoBuffer&& value) { m_passphraseHasBeenSet = true; m_passphrase = std::move(value); }
69 inline ExportCertificateRequest& WithPassphrase(Aws::Utils::CryptoBuffer&& value) { SetPassphrase(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_certificateArn;
74 bool m_certificateArnHasBeenSet = false;
75
76 Aws::Utils::CryptoBuffer m_passphrase;
77 bool m_passphraseHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ACM
82} // namespace Aws
ExportCertificateRequest & WithPassphrase(const Aws::Utils::CryptoBuffer &value)
void SetPassphrase(const Aws::Utils::CryptoBuffer &value)
AWS_ACM_API Aws::String SerializePayload() const override
ExportCertificateRequest & WithCertificateArn(Aws::String &&value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ExportCertificateRequest & WithCertificateArn(const char *value)
ExportCertificateRequest & WithPassphrase(Aws::Utils::CryptoBuffer &&value)
virtual const char * GetServiceRequestName() const override
void SetPassphrase(Aws::Utils::CryptoBuffer &&value)
ExportCertificateRequest & WithCertificateArn(const Aws::String &value)
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