AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
UpdateMembershipPaymentConfiguration.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 UpdateMembershipPaymentConfiguration() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const MembershipQueryComputePaymentConfig& GetQueryCompute() const { return m_queryCompute; }
40 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
41 template <typename QueryComputeT = MembershipQueryComputePaymentConfig>
42 void SetQueryCompute(QueryComputeT&& value) {
43 m_queryComputeHasBeenSet = true;
44 m_queryCompute = std::forward<QueryComputeT>(value);
45 }
46 template <typename QueryComputeT = MembershipQueryComputePaymentConfig>
48 SetQueryCompute(std::forward<QueryComputeT>(value));
49 return *this;
50 }
52
54
55 inline const MembershipMLPaymentConfig& GetMachineLearning() const { return m_machineLearning; }
56 inline bool MachineLearningHasBeenSet() const { return m_machineLearningHasBeenSet; }
57 template <typename MachineLearningT = MembershipMLPaymentConfig>
58 void SetMachineLearning(MachineLearningT&& value) {
59 m_machineLearningHasBeenSet = true;
60 m_machineLearning = std::forward<MachineLearningT>(value);
61 }
62 template <typename MachineLearningT = MembershipMLPaymentConfig>
64 SetMachineLearning(std::forward<MachineLearningT>(value));
65 return *this;
66 }
68
70
71 inline const MembershipJobComputePaymentConfig& GetJobCompute() const { return m_jobCompute; }
72 inline bool JobComputeHasBeenSet() const { return m_jobComputeHasBeenSet; }
73 template <typename JobComputeT = MembershipJobComputePaymentConfig>
74 void SetJobCompute(JobComputeT&& value) {
75 m_jobComputeHasBeenSet = true;
76 m_jobCompute = std::forward<JobComputeT>(value);
77 }
78 template <typename JobComputeT = MembershipJobComputePaymentConfig>
80 SetJobCompute(std::forward<JobComputeT>(value));
81 return *this;
82 }
84 private:
86
87 MembershipMLPaymentConfig m_machineLearning;
88
90 bool m_queryComputeHasBeenSet = false;
91 bool m_machineLearningHasBeenSet = false;
92 bool m_jobComputeHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CleanRooms
97} // namespace Aws
AWS_CLEANROOMS_API UpdateMembershipPaymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API UpdateMembershipPaymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateMembershipPaymentConfiguration & WithMachineLearning(MachineLearningT &&value)
UpdateMembershipPaymentConfiguration & WithJobCompute(JobComputeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateMembershipPaymentConfiguration & WithQueryCompute(QueryComputeT &&value)
Aws::Utils::Json::JsonValue JsonValue