AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SepaBankAccount.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payments/Payments_EXPORTS.h>
9#include <aws/payments/model/BankAccountType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Payments {
21namespace Model {
22
30 public:
31 AWS_PAYMENTS_API SepaBankAccount() = default;
32 AWS_PAYMENTS_API SepaBankAccount(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetAccountNumberTail() const { return m_accountNumberTail; }
43 inline bool AccountNumberTailHasBeenSet() const { return m_accountNumberTailHasBeenSet; }
44 template <typename AccountNumberTailT = Aws::String>
45 void SetAccountNumberTail(AccountNumberTailT&& value) {
46 m_accountNumberTailHasBeenSet = true;
47 m_accountNumberTail = std::forward<AccountNumberTailT>(value);
48 }
49 template <typename AccountNumberTailT = Aws::String>
50 SepaBankAccount& WithAccountNumberTail(AccountNumberTailT&& value) {
51 SetAccountNumberTail(std::forward<AccountNumberTailT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAccountHolderName() const { return m_accountHolderName; }
61 inline bool AccountHolderNameHasBeenSet() const { return m_accountHolderNameHasBeenSet; }
62 template <typename AccountHolderNameT = Aws::String>
63 void SetAccountHolderName(AccountHolderNameT&& value) {
64 m_accountHolderNameHasBeenSet = true;
65 m_accountHolderName = std::forward<AccountHolderNameT>(value);
66 }
67 template <typename AccountHolderNameT = Aws::String>
68 SepaBankAccount& WithAccountHolderName(AccountHolderNameT&& value) {
69 SetAccountHolderName(std::forward<AccountHolderNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetBankName() const { return m_bankName; }
79 inline bool BankNameHasBeenSet() const { return m_bankNameHasBeenSet; }
80 template <typename BankNameT = Aws::String>
81 void SetBankName(BankNameT&& value) {
82 m_bankNameHasBeenSet = true;
83 m_bankName = std::forward<BankNameT>(value);
84 }
85 template <typename BankNameT = Aws::String>
86 SepaBankAccount& WithBankName(BankNameT&& value) {
87 SetBankName(std::forward<BankNameT>(value));
88 return *this;
89 }
91
93
96 inline BankAccountType GetAccountType() const { return m_accountType; }
97 inline bool AccountTypeHasBeenSet() const { return m_accountTypeHasBeenSet; }
98 inline void SetAccountType(BankAccountType value) {
99 m_accountTypeHasBeenSet = true;
100 m_accountType = value;
101 }
103 SetAccountType(value);
104 return *this;
105 }
107 private:
108 Aws::String m_accountNumberTail;
109
110 Aws::String m_accountHolderName;
111
112 Aws::String m_bankName;
113
115 bool m_accountNumberTailHasBeenSet = false;
116 bool m_accountHolderNameHasBeenSet = false;
117 bool m_bankNameHasBeenSet = false;
118 bool m_accountTypeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Payments
123} // namespace Aws
void SetAccountHolderName(AccountHolderNameT &&value)
const Aws::String & GetBankName() const
const Aws::String & GetAccountHolderName() const
void SetAccountNumberTail(AccountNumberTailT &&value)
AWS_PAYMENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccountNumberTail() const
AWS_PAYMENTS_API SepaBankAccount()=default
AWS_PAYMENTS_API SepaBankAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
BankAccountType GetAccountType() const
void SetAccountType(BankAccountType value)
SepaBankAccount & WithAccountNumberTail(AccountNumberTailT &&value)
SepaBankAccount & WithAccountType(BankAccountType value)
SepaBankAccount & WithAccountHolderName(AccountHolderNameT &&value)
SepaBankAccount & WithBankName(BankNameT &&value)
AWS_PAYMENTS_API SepaBankAccount(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue