AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MLPaymentConfig.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/ModelTrainingPaymentConfig.h>
9#include <aws/cleanrooms/model/ModelInferencePaymentConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMS_API MLPaymentConfig() = default;
37 AWS_CLEANROOMS_API MLPaymentConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ModelTrainingPaymentConfig& GetModelTraining() const { return m_modelTraining; }
47 inline bool ModelTrainingHasBeenSet() const { return m_modelTrainingHasBeenSet; }
48 template<typename ModelTrainingT = ModelTrainingPaymentConfig>
49 void SetModelTraining(ModelTrainingT&& value) { m_modelTrainingHasBeenSet = true; m_modelTraining = std::forward<ModelTrainingT>(value); }
50 template<typename ModelTrainingT = ModelTrainingPaymentConfig>
51 MLPaymentConfig& WithModelTraining(ModelTrainingT&& value) { SetModelTraining(std::forward<ModelTrainingT>(value)); return *this;}
53
55
58 inline const ModelInferencePaymentConfig& GetModelInference() const { return m_modelInference; }
59 inline bool ModelInferenceHasBeenSet() const { return m_modelInferenceHasBeenSet; }
60 template<typename ModelInferenceT = ModelInferencePaymentConfig>
61 void SetModelInference(ModelInferenceT&& value) { m_modelInferenceHasBeenSet = true; m_modelInference = std::forward<ModelInferenceT>(value); }
62 template<typename ModelInferenceT = ModelInferencePaymentConfig>
63 MLPaymentConfig& WithModelInference(ModelInferenceT&& value) { SetModelInference(std::forward<ModelInferenceT>(value)); return *this;}
65 private:
66
67 ModelTrainingPaymentConfig m_modelTraining;
68 bool m_modelTrainingHasBeenSet = false;
69
70 ModelInferencePaymentConfig m_modelInference;
71 bool m_modelInferenceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CleanRooms
76} // namespace Aws
const ModelInferencePaymentConfig & GetModelInference() const
void SetModelInference(ModelInferenceT &&value)
MLPaymentConfig & WithModelTraining(ModelTrainingT &&value)
AWS_CLEANROOMS_API MLPaymentConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API MLPaymentConfig()=default
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