AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
CardVerificationValue1.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PaymentCryptographyData {
20namespace Model {
21
29 public:
30 AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1() = default;
31 AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCardExpiryDate() const { return m_cardExpiryDate; }
40 inline bool CardExpiryDateHasBeenSet() const { return m_cardExpiryDateHasBeenSet; }
41 template <typename CardExpiryDateT = Aws::String>
42 void SetCardExpiryDate(CardExpiryDateT&& value) {
43 m_cardExpiryDateHasBeenSet = true;
44 m_cardExpiryDate = std::forward<CardExpiryDateT>(value);
45 }
46 template <typename CardExpiryDateT = Aws::String>
47 CardVerificationValue1& WithCardExpiryDate(CardExpiryDateT&& value) {
48 SetCardExpiryDate(std::forward<CardExpiryDateT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
59 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
60 template <typename ServiceCodeT = Aws::String>
61 void SetServiceCode(ServiceCodeT&& value) {
62 m_serviceCodeHasBeenSet = true;
63 m_serviceCode = std::forward<ServiceCodeT>(value);
64 }
65 template <typename ServiceCodeT = Aws::String>
66 CardVerificationValue1& WithServiceCode(ServiceCodeT&& value) {
67 SetServiceCode(std::forward<ServiceCodeT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_cardExpiryDate;
73
74 Aws::String m_serviceCode;
75 bool m_cardExpiryDateHasBeenSet = false;
76 bool m_serviceCodeHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PaymentCryptographyData
81} // namespace Aws
CardVerificationValue1 & WithCardExpiryDate(CardExpiryDateT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1(Aws::Utils::Json::JsonView jsonValue)
CardVerificationValue1 & WithServiceCode(ServiceCodeT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1()=default
AWS_PAYMENTCRYPTOGRAPHYDATA_API CardVerificationValue1 & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue