AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
MembershipPaymentConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/MembershipJobComputePaymentConfig.h>
9#include <aws/cleanrooms/model/MembershipMLPaymentConfig.h>
10#include <aws/cleanrooms/model/MembershipQueryComputePaymentConfig.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 MembershipPaymentConfiguration() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const MembershipQueryComputePaymentConfig& GetQueryCompute() const { return m_queryCompute; }
43 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
44 template <typename QueryComputeT = MembershipQueryComputePaymentConfig>
45 void SetQueryCompute(QueryComputeT&& value) {
46 m_queryComputeHasBeenSet = true;
47 m_queryCompute = std::forward<QueryComputeT>(value);
48 }
49 template <typename QueryComputeT = MembershipQueryComputePaymentConfig>
51 SetQueryCompute(std::forward<QueryComputeT>(value));
52 return *this;
53 }
55
57
61 inline const MembershipMLPaymentConfig& GetMachineLearning() const { return m_machineLearning; }
62 inline bool MachineLearningHasBeenSet() const { return m_machineLearningHasBeenSet; }
63 template <typename MachineLearningT = MembershipMLPaymentConfig>
64 void SetMachineLearning(MachineLearningT&& value) {
65 m_machineLearningHasBeenSet = true;
66 m_machineLearning = std::forward<MachineLearningT>(value);
67 }
68 template <typename MachineLearningT = MembershipMLPaymentConfig>
70 SetMachineLearning(std::forward<MachineLearningT>(value));
71 return *this;
72 }
74
76
80 inline const MembershipJobComputePaymentConfig& GetJobCompute() const { return m_jobCompute; }
81 inline bool JobComputeHasBeenSet() const { return m_jobComputeHasBeenSet; }
82 template <typename JobComputeT = MembershipJobComputePaymentConfig>
83 void SetJobCompute(JobComputeT&& value) {
84 m_jobComputeHasBeenSet = true;
85 m_jobCompute = std::forward<JobComputeT>(value);
86 }
87 template <typename JobComputeT = MembershipJobComputePaymentConfig>
89 SetJobCompute(std::forward<JobComputeT>(value));
90 return *this;
91 }
93 private:
95 bool m_queryComputeHasBeenSet = false;
96
97 MembershipMLPaymentConfig m_machineLearning;
98 bool m_machineLearningHasBeenSet = false;
99
101 bool m_jobComputeHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace CleanRooms
106} // namespace Aws
const MembershipJobComputePaymentConfig & GetJobCompute() const
AWS_CLEANROOMS_API MembershipPaymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MembershipPaymentConfiguration & WithJobCompute(JobComputeT &&value)
AWS_CLEANROOMS_API MembershipPaymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API MembershipPaymentConfiguration()=default
MembershipPaymentConfiguration & WithQueryCompute(QueryComputeT &&value)
MembershipPaymentConfiguration & WithMachineLearning(MachineLearningT &&value)
const MembershipQueryComputePaymentConfig & GetQueryCompute() const
Aws::Utils::Json::JsonValue JsonValue