AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
PaymentInput.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/AwsBillingX402PaymentInput.h>
9#include <aws/bedrock-agentcore/model/CryptoX402PaymentInput.h>
10#include <aws/bedrock-agentcore/model/MppPaymentInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgentCore {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENTCORE_API PaymentInput() = default;
33 AWS_BEDROCKAGENTCORE_API PaymentInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API PaymentInput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const CryptoX402PaymentInput& GetCryptoX402() const { return m_cryptoX402; }
42 inline bool CryptoX402HasBeenSet() const { return m_cryptoX402HasBeenSet; }
43 template <typename CryptoX402T = CryptoX402PaymentInput>
44 void SetCryptoX402(CryptoX402T&& value) {
45 m_cryptoX402HasBeenSet = true;
46 m_cryptoX402 = std::forward<CryptoX402T>(value);
47 }
48 template <typename CryptoX402T = CryptoX402PaymentInput>
49 PaymentInput& WithCryptoX402(CryptoX402T&& value) {
50 SetCryptoX402(std::forward<CryptoX402T>(value));
51 return *this;
52 }
54
56
57 inline const MppPaymentInput& GetMpp() const { return m_mpp; }
58 inline bool MppHasBeenSet() const { return m_mppHasBeenSet; }
59 template <typename MppT = MppPaymentInput>
60 void SetMpp(MppT&& value) {
61 m_mppHasBeenSet = true;
62 m_mpp = std::forward<MppT>(value);
63 }
64 template <typename MppT = MppPaymentInput>
65 PaymentInput& WithMpp(MppT&& value) {
66 SetMpp(std::forward<MppT>(value));
67 return *this;
68 }
70
72
76 inline const AwsBillingX402PaymentInput& GetAwsBillingX402() const { return m_awsBillingX402; }
77 inline bool AwsBillingX402HasBeenSet() const { return m_awsBillingX402HasBeenSet; }
78 template <typename AwsBillingX402T = AwsBillingX402PaymentInput>
79 void SetAwsBillingX402(AwsBillingX402T&& value) {
80 m_awsBillingX402HasBeenSet = true;
81 m_awsBillingX402 = std::forward<AwsBillingX402T>(value);
82 }
83 template <typename AwsBillingX402T = AwsBillingX402PaymentInput>
84 PaymentInput& WithAwsBillingX402(AwsBillingX402T&& value) {
85 SetAwsBillingX402(std::forward<AwsBillingX402T>(value));
86 return *this;
87 }
89 private:
90 CryptoX402PaymentInput m_cryptoX402;
91
92 MppPaymentInput m_mpp;
93
94 AwsBillingX402PaymentInput m_awsBillingX402;
95 bool m_cryptoX402HasBeenSet = false;
96 bool m_mppHasBeenSet = false;
97 bool m_awsBillingX402HasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace BedrockAgentCore
102} // namespace Aws
PaymentInput & WithAwsBillingX402(AwsBillingX402T &&value)
const CryptoX402PaymentInput & GetCryptoX402() const
AWS_BEDROCKAGENTCORE_API PaymentInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API PaymentInput(Aws::Utils::Json::JsonView jsonValue)
const MppPaymentInput & GetMpp() const
void SetCryptoX402(CryptoX402T &&value)
const AwsBillingX402PaymentInput & GetAwsBillingX402() const
void SetAwsBillingX402(AwsBillingX402T &&value)
PaymentInput & WithCryptoX402(CryptoX402T &&value)
AWS_BEDROCKAGENTCORE_API PaymentInput()=default
PaymentInput & WithMpp(MppT &&value)
Aws::Utils::Json::JsonValue JsonValue