AWS SDK for C++

AWS SDK for C++ Version 1.11.933

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