AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VerificationFailedException.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/payment-cryptography-data/model/VerificationFailedReason.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptographyData
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException() = default;
36 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline VerificationFailedReason GetReason() const { return m_reason; }
46 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
47 inline void SetReason(VerificationFailedReason value) { m_reasonHasBeenSet = true; m_reason = value; }
50
52
53 inline const Aws::String& GetMessage() const { return m_message; }
54 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
55 template<typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
57 template<typename MessageT = Aws::String>
58 VerificationFailedException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
60 private:
61
63 bool m_reasonHasBeenSet = false;
64
65 Aws::String m_message;
66 bool m_messageHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace PaymentCryptographyData
71} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException()=default
VerificationFailedException & WithReason(VerificationFailedReason value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException(Aws::Utils::Json::JsonView jsonValue)
AWS_PAYMENTCRYPTOGRAPHYDATA_API VerificationFailedException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue