AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
PaymentConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/JobComputePaymentConfig.h>
9#include <aws/cleanrooms/model/MLPaymentConfig.h>
10#include <aws/cleanrooms/model/QueryComputePaymentConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CleanRooms {
22namespace Model {
23
31 public:
32 AWS_CLEANROOMS_API PaymentConfiguration() = default;
33 AWS_CLEANROOMS_API PaymentConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const QueryComputePaymentConfig& GetQueryCompute() const { return m_queryCompute; }
43 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
44 template <typename QueryComputeT = QueryComputePaymentConfig>
45 void SetQueryCompute(QueryComputeT&& value) {
46 m_queryComputeHasBeenSet = true;
47 m_queryCompute = std::forward<QueryComputeT>(value);
48 }
49 template <typename QueryComputeT = QueryComputePaymentConfig>
50 PaymentConfiguration& WithQueryCompute(QueryComputeT&& value) {
51 SetQueryCompute(std::forward<QueryComputeT>(value));
52 return *this;
53 }
55
57
61 inline const MLPaymentConfig& GetMachineLearning() const { return m_machineLearning; }
62 inline bool MachineLearningHasBeenSet() const { return m_machineLearningHasBeenSet; }
63 template <typename MachineLearningT = MLPaymentConfig>
64 void SetMachineLearning(MachineLearningT&& value) {
65 m_machineLearningHasBeenSet = true;
66 m_machineLearning = std::forward<MachineLearningT>(value);
67 }
68 template <typename MachineLearningT = MLPaymentConfig>
69 PaymentConfiguration& WithMachineLearning(MachineLearningT&& value) {
70 SetMachineLearning(std::forward<MachineLearningT>(value));
71 return *this;
72 }
74
76
79 inline const JobComputePaymentConfig& GetJobCompute() const { return m_jobCompute; }
80 inline bool JobComputeHasBeenSet() const { return m_jobComputeHasBeenSet; }
81 template <typename JobComputeT = JobComputePaymentConfig>
82 void SetJobCompute(JobComputeT&& value) {
83 m_jobComputeHasBeenSet = true;
84 m_jobCompute = std::forward<JobComputeT>(value);
85 }
86 template <typename JobComputeT = JobComputePaymentConfig>
87 PaymentConfiguration& WithJobCompute(JobComputeT&& value) {
88 SetJobCompute(std::forward<JobComputeT>(value));
89 return *this;
90 }
92 private:
93 QueryComputePaymentConfig m_queryCompute;
94
95 MLPaymentConfig m_machineLearning;
96
97 JobComputePaymentConfig m_jobCompute;
98 bool m_queryComputeHasBeenSet = false;
99 bool m_machineLearningHasBeenSet = false;
100 bool m_jobComputeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace CleanRooms
105} // namespace Aws
PaymentConfiguration & WithMachineLearning(MachineLearningT &&value)
PaymentConfiguration & WithJobCompute(JobComputeT &&value)
AWS_CLEANROOMS_API PaymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMachineLearning(MachineLearningT &&value)
AWS_CLEANROOMS_API PaymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
const MLPaymentConfig & GetMachineLearning() const
const QueryComputePaymentConfig & GetQueryCompute() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const JobComputePaymentConfig & GetJobCompute() const
PaymentConfiguration & WithQueryCompute(QueryComputeT &&value)
AWS_CLEANROOMS_API PaymentConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue