AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MembershipMLPaymentConfig.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/MembershipModelTrainingPaymentConfig.h>
9#include <aws/cleanrooms/model/MembershipModelInferencePaymentConfig.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 MembershipMLPaymentConfig() = default;
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const MembershipModelTrainingPaymentConfig& GetModelTraining() const { return m_modelTraining; }
47 inline bool ModelTrainingHasBeenSet() const { return m_modelTrainingHasBeenSet; }
48 template<typename ModelTrainingT = MembershipModelTrainingPaymentConfig>
49 void SetModelTraining(ModelTrainingT&& value) { m_modelTrainingHasBeenSet = true; m_modelTraining = std::forward<ModelTrainingT>(value); }
50 template<typename ModelTrainingT = MembershipModelTrainingPaymentConfig>
51 MembershipMLPaymentConfig& WithModelTraining(ModelTrainingT&& value) { SetModelTraining(std::forward<ModelTrainingT>(value)); return *this;}
53
55
58 inline const MembershipModelInferencePaymentConfig& GetModelInference() const { return m_modelInference; }
59 inline bool ModelInferenceHasBeenSet() const { return m_modelInferenceHasBeenSet; }
60 template<typename ModelInferenceT = MembershipModelInferencePaymentConfig>
61 void SetModelInference(ModelInferenceT&& value) { m_modelInferenceHasBeenSet = true; m_modelInference = std::forward<ModelInferenceT>(value); }
62 template<typename ModelInferenceT = MembershipModelInferencePaymentConfig>
63 MembershipMLPaymentConfig& WithModelInference(ModelInferenceT&& value) { SetModelInference(std::forward<ModelInferenceT>(value)); return *this;}
65 private:
66
68 bool m_modelTrainingHasBeenSet = false;
69
71 bool m_modelInferenceHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CleanRooms
76} // namespace Aws
MembershipMLPaymentConfig & WithModelTraining(ModelTrainingT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const MembershipModelTrainingPaymentConfig & GetModelTraining() const
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