AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
MembershipPaymentConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/MembershipQueryComputePaymentConfig.h>
9#include <aws/cleanrooms/model/MembershipMLPaymentConfig.h>
10#include <aws/cleanrooms/model/MembershipJobComputePaymentConfig.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 MembershipPaymentConfiguration() = default;
40 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const MembershipQueryComputePaymentConfig& GetQueryCompute() const { return m_queryCompute; }
49 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
50 template<typename QueryComputeT = MembershipQueryComputePaymentConfig>
51 void SetQueryCompute(QueryComputeT&& value) { m_queryComputeHasBeenSet = true; m_queryCompute = std::forward<QueryComputeT>(value); }
52 template<typename QueryComputeT = MembershipQueryComputePaymentConfig>
53 MembershipPaymentConfiguration& WithQueryCompute(QueryComputeT&& value) { SetQueryCompute(std::forward<QueryComputeT>(value)); return *this;}
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) { m_machineLearningHasBeenSet = true; m_machineLearning = std::forward<MachineLearningT>(value); }
65 template<typename MachineLearningT = MembershipMLPaymentConfig>
66 MembershipPaymentConfiguration& WithMachineLearning(MachineLearningT&& value) { SetMachineLearning(std::forward<MachineLearningT>(value)); return *this;}
68
70
74 inline const MembershipJobComputePaymentConfig& GetJobCompute() const { return m_jobCompute; }
75 inline bool JobComputeHasBeenSet() const { return m_jobComputeHasBeenSet; }
76 template<typename JobComputeT = MembershipJobComputePaymentConfig>
77 void SetJobCompute(JobComputeT&& value) { m_jobComputeHasBeenSet = true; m_jobCompute = std::forward<JobComputeT>(value); }
78 template<typename JobComputeT = MembershipJobComputePaymentConfig>
79 MembershipPaymentConfiguration& WithJobCompute(JobComputeT&& value) { SetJobCompute(std::forward<JobComputeT>(value)); return *this;}
81 private:
82
84 bool m_queryComputeHasBeenSet = false;
85
86 MembershipMLPaymentConfig m_machineLearning;
87 bool m_machineLearningHasBeenSet = false;
88
90 bool m_jobComputeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace CleanRooms
95} // 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