AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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