AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
MembershipMLPaymentConfig.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/MembershipModelInferencePaymentConfig.h>
9#include <aws/cleanrooms/model/MembershipModelTrainingPaymentConfig.h>
10#include <aws/cleanrooms/model/MembershipSyntheticDataGenerationPaymentConfig.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 MembershipMLPaymentConfig() = default;
35 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const MembershipModelTrainingPaymentConfig& GetModelTraining() const { return m_modelTraining; }
42 inline bool ModelTrainingHasBeenSet() const { return m_modelTrainingHasBeenSet; }
43 template <typename ModelTrainingT = MembershipModelTrainingPaymentConfig>
44 void SetModelTraining(ModelTrainingT&& value) {
45 m_modelTrainingHasBeenSet = true;
46 m_modelTraining = std::forward<ModelTrainingT>(value);
47 }
48 template <typename ModelTrainingT = MembershipModelTrainingPaymentConfig>
50 SetModelTraining(std::forward<ModelTrainingT>(value));
51 return *this;
52 }
54
56
59 inline const MembershipModelInferencePaymentConfig& GetModelInference() const { return m_modelInference; }
60 inline bool ModelInferenceHasBeenSet() const { return m_modelInferenceHasBeenSet; }
61 template <typename ModelInferenceT = MembershipModelInferencePaymentConfig>
62 void SetModelInference(ModelInferenceT&& value) {
63 m_modelInferenceHasBeenSet = true;
64 m_modelInference = std::forward<ModelInferenceT>(value);
65 }
66 template <typename ModelInferenceT = MembershipModelInferencePaymentConfig>
68 SetModelInference(std::forward<ModelInferenceT>(value));
69 return *this;
70 }
72
74
78 inline const MembershipSyntheticDataGenerationPaymentConfig& GetSyntheticDataGeneration() const { return m_syntheticDataGeneration; }
79 inline bool SyntheticDataGenerationHasBeenSet() const { return m_syntheticDataGenerationHasBeenSet; }
80 template <typename SyntheticDataGenerationT = MembershipSyntheticDataGenerationPaymentConfig>
81 void SetSyntheticDataGeneration(SyntheticDataGenerationT&& value) {
82 m_syntheticDataGenerationHasBeenSet = true;
83 m_syntheticDataGeneration = std::forward<SyntheticDataGenerationT>(value);
84 }
85 template <typename SyntheticDataGenerationT = MembershipSyntheticDataGenerationPaymentConfig>
86 MembershipMLPaymentConfig& WithSyntheticDataGeneration(SyntheticDataGenerationT&& value) {
87 SetSyntheticDataGeneration(std::forward<SyntheticDataGenerationT>(value));
88 return *this;
89 }
91 private:
93
95
96 MembershipSyntheticDataGenerationPaymentConfig m_syntheticDataGeneration;
97 bool m_modelTrainingHasBeenSet = false;
98 bool m_modelInferenceHasBeenSet = false;
99 bool m_syntheticDataGenerationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CleanRooms
104} // namespace Aws
MembershipMLPaymentConfig & WithModelTraining(ModelTrainingT &&value)
void SetSyntheticDataGeneration(SyntheticDataGenerationT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const MembershipModelTrainingPaymentConfig & GetModelTraining() const
const MembershipSyntheticDataGenerationPaymentConfig & GetSyntheticDataGeneration() const
MembershipMLPaymentConfig & WithSyntheticDataGeneration(SyntheticDataGenerationT &&value)
AWS_CLEANROOMS_API MembershipMLPaymentConfig()=default
AWS_CLEANROOMS_API MembershipMLPaymentConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const MembershipModelInferencePaymentConfig & GetModelInference() const
AWS_CLEANROOMS_API MembershipMLPaymentConfig(Aws::Utils::Json::JsonView jsonValue)
MembershipMLPaymentConfig & WithModelInference(ModelInferenceT &&value)
Aws::Utils::Json::JsonValue JsonValue