AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PaymentConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/QueryComputePaymentConfig.h>
9#include <aws/cleanrooms/model/MLPaymentConfig.h>
10#include <aws/cleanrooms/model/JobComputePaymentConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRooms
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMS_API PaymentConfiguration() = default;
38 AWS_CLEANROOMS_API PaymentConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const QueryComputePaymentConfig& GetQueryCompute() const { return m_queryCompute; }
49 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
50 template<typename QueryComputeT = QueryComputePaymentConfig>
51 void SetQueryCompute(QueryComputeT&& value) { m_queryComputeHasBeenSet = true; m_queryCompute = std::forward<QueryComputeT>(value); }
52 template<typename QueryComputeT = QueryComputePaymentConfig>
53 PaymentConfiguration& WithQueryCompute(QueryComputeT&& value) { SetQueryCompute(std::forward<QueryComputeT>(value)); return *this;}
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) { m_machineLearningHasBeenSet = true; m_machineLearning = std::forward<MachineLearningT>(value); }
65 template<typename MachineLearningT = MLPaymentConfig>
66 PaymentConfiguration& WithMachineLearning(MachineLearningT&& value) { SetMachineLearning(std::forward<MachineLearningT>(value)); return *this;}
68
70
73 inline const JobComputePaymentConfig& GetJobCompute() const { return m_jobCompute; }
74 inline bool JobComputeHasBeenSet() const { return m_jobComputeHasBeenSet; }
75 template<typename JobComputeT = JobComputePaymentConfig>
76 void SetJobCompute(JobComputeT&& value) { m_jobComputeHasBeenSet = true; m_jobCompute = std::forward<JobComputeT>(value); }
77 template<typename JobComputeT = JobComputePaymentConfig>
78 PaymentConfiguration& WithJobCompute(JobComputeT&& value) { SetJobCompute(std::forward<JobComputeT>(value)); return *this;}
80 private:
81
82 QueryComputePaymentConfig m_queryCompute;
83 bool m_queryComputeHasBeenSet = false;
84
85 MLPaymentConfig m_machineLearning;
86 bool m_machineLearningHasBeenSet = false;
87
88 JobComputePaymentConfig m_jobCompute;
89 bool m_jobComputeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CleanRooms
94} // 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