AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TranslateKeyMaterialRequest.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyDataRequest.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9#include <aws/payment-cryptography-data/model/IncomingKeyMaterial.h>
10#include <aws/payment-cryptography-data/model/KeyCheckValueAlgorithm.h>
11#include <aws/payment-cryptography-data/model/OutgoingKeyMaterial.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PaymentCryptographyData {
17namespace Model {
18
22 public:
23 AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslateKeyMaterialRequest() = 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 "TranslateKeyMaterial"; }
30
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override;
32
34
38 inline const IncomingKeyMaterial& GetIncomingKeyMaterial() const { return m_incomingKeyMaterial; }
39 inline bool IncomingKeyMaterialHasBeenSet() const { return m_incomingKeyMaterialHasBeenSet; }
40 template <typename IncomingKeyMaterialT = IncomingKeyMaterial>
41 void SetIncomingKeyMaterial(IncomingKeyMaterialT&& value) {
42 m_incomingKeyMaterialHasBeenSet = true;
43 m_incomingKeyMaterial = std::forward<IncomingKeyMaterialT>(value);
44 }
45 template <typename IncomingKeyMaterialT = IncomingKeyMaterial>
47 SetIncomingKeyMaterial(std::forward<IncomingKeyMaterialT>(value));
48 return *this;
49 }
51
53
57 inline const OutgoingKeyMaterial& GetOutgoingKeyMaterial() const { return m_outgoingKeyMaterial; }
58 inline bool OutgoingKeyMaterialHasBeenSet() const { return m_outgoingKeyMaterialHasBeenSet; }
59 template <typename OutgoingKeyMaterialT = OutgoingKeyMaterial>
60 void SetOutgoingKeyMaterial(OutgoingKeyMaterialT&& value) {
61 m_outgoingKeyMaterialHasBeenSet = true;
62 m_outgoingKeyMaterial = std::forward<OutgoingKeyMaterialT>(value);
63 }
64 template <typename OutgoingKeyMaterialT = OutgoingKeyMaterial>
66 SetOutgoingKeyMaterial(std::forward<OutgoingKeyMaterialT>(value));
67 return *this;
68 }
70
72
76 inline KeyCheckValueAlgorithm GetKeyCheckValueAlgorithm() const { return m_keyCheckValueAlgorithm; }
77 inline bool KeyCheckValueAlgorithmHasBeenSet() const { return m_keyCheckValueAlgorithmHasBeenSet; }
79 m_keyCheckValueAlgorithmHasBeenSet = true;
80 m_keyCheckValueAlgorithm = value;
81 }
84 return *this;
85 }
87 private:
88 IncomingKeyMaterial m_incomingKeyMaterial;
89
90 OutgoingKeyMaterial m_outgoingKeyMaterial;
91
93 bool m_incomingKeyMaterialHasBeenSet = false;
94 bool m_outgoingKeyMaterialHasBeenSet = false;
95 bool m_keyCheckValueAlgorithmHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace PaymentCryptographyData
100} // namespace Aws
TranslateKeyMaterialRequest & WithOutgoingKeyMaterial(OutgoingKeyMaterialT &&value)
TranslateKeyMaterialRequest & WithIncomingKeyMaterial(IncomingKeyMaterialT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::String SerializePayload() const override
AWS_PAYMENTCRYPTOGRAPHYDATA_API TranslateKeyMaterialRequest()=default
TranslateKeyMaterialRequest & WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String