AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CryptogramAuthResponse.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/CryptogramVerificationArpcMethod1.h>
9#include <aws/payment-cryptography-data/model/CryptogramVerificationArpcMethod2.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PaymentCryptographyData {
21namespace Model {
22
31 public:
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse() = default;
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const CryptogramVerificationArpcMethod1& GetArpcMethod1() const { return m_arpcMethod1; }
43 inline bool ArpcMethod1HasBeenSet() const { return m_arpcMethod1HasBeenSet; }
44 template <typename ArpcMethod1T = CryptogramVerificationArpcMethod1>
45 void SetArpcMethod1(ArpcMethod1T&& value) {
46 m_arpcMethod1HasBeenSet = true;
47 m_arpcMethod1 = std::forward<ArpcMethod1T>(value);
48 }
49 template <typename ArpcMethod1T = CryptogramVerificationArpcMethod1>
50 CryptogramAuthResponse& WithArpcMethod1(ArpcMethod1T&& value) {
51 SetArpcMethod1(std::forward<ArpcMethod1T>(value));
52 return *this;
53 }
55
57
61 inline const CryptogramVerificationArpcMethod2& GetArpcMethod2() const { return m_arpcMethod2; }
62 inline bool ArpcMethod2HasBeenSet() const { return m_arpcMethod2HasBeenSet; }
63 template <typename ArpcMethod2T = CryptogramVerificationArpcMethod2>
64 void SetArpcMethod2(ArpcMethod2T&& value) {
65 m_arpcMethod2HasBeenSet = true;
66 m_arpcMethod2 = std::forward<ArpcMethod2T>(value);
67 }
68 template <typename ArpcMethod2T = CryptogramVerificationArpcMethod2>
69 CryptogramAuthResponse& WithArpcMethod2(ArpcMethod2T&& value) {
70 SetArpcMethod2(std::forward<ArpcMethod2T>(value));
71 return *this;
72 }
74 private:
76
78 bool m_arpcMethod1HasBeenSet = false;
79 bool m_arpcMethod2HasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace PaymentCryptographyData
84} // namespace Aws
const CryptogramVerificationArpcMethod1 & GetArpcMethod1() const
CryptogramAuthResponse & WithArpcMethod1(ArpcMethod1T &&value)
const CryptogramVerificationArpcMethod2 & GetArpcMethod2() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API CryptogramAuthResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
CryptogramAuthResponse & WithArpcMethod2(ArpcMethod2T &&value)
Aws::Utils::Json::JsonValue JsonValue