AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetCertificateSigningRequestRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
9#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
10#include <aws/payment-cryptography/model/CertificateSubjectType.h>
11#include <aws/payment-cryptography/model/SigningAlgorithmType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PaymentCryptography {
17namespace Model {
18
22 public:
23 AWS_PAYMENTCRYPTOGRAPHY_API GetCertificateSigningRequestRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GetCertificateSigningRequest"; }
30
31 AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override;
32
33 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
40 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
41 template <typename KeyIdentifierT = Aws::String>
42 void SetKeyIdentifier(KeyIdentifierT&& value) {
43 m_keyIdentifierHasBeenSet = true;
44 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
45 }
46 template <typename KeyIdentifierT = Aws::String>
48 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline SigningAlgorithmType GetSigningAlgorithm() const { return m_signingAlgorithm; }
58 inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
60 m_signingAlgorithmHasBeenSet = true;
61 m_signingAlgorithm = value;
62 }
65 return *this;
66 }
68
70
73 inline const CertificateSubjectType& GetCertificateSubject() const { return m_certificateSubject; }
74 inline bool CertificateSubjectHasBeenSet() const { return m_certificateSubjectHasBeenSet; }
75 template <typename CertificateSubjectT = CertificateSubjectType>
76 void SetCertificateSubject(CertificateSubjectT&& value) {
77 m_certificateSubjectHasBeenSet = true;
78 m_certificateSubject = std::forward<CertificateSubjectT>(value);
79 }
80 template <typename CertificateSubjectT = CertificateSubjectType>
82 SetCertificateSubject(std::forward<CertificateSubjectT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_keyIdentifier;
88
90
91 CertificateSubjectType m_certificateSubject;
92 bool m_keyIdentifierHasBeenSet = false;
93 bool m_signingAlgorithmHasBeenSet = false;
94 bool m_certificateSubjectHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace PaymentCryptography
99} // namespace Aws
GetCertificateSigningRequestRequest & WithCertificateSubject(CertificateSubjectT &&value)
GetCertificateSigningRequestRequest & WithSigningAlgorithm(SigningAlgorithmType value)
AWS_PAYMENTCRYPTOGRAPHY_API GetCertificateSigningRequestRequest()=default
GetCertificateSigningRequestRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String