7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntime_EXPORTS.h>
10#include <aws/sagemakertrainingsessionruntime/model/ModelInput.h>
11#include <aws/sagemakertrainingsessionruntime/model/TensorData.h>
22namespace SageMakerTrainingSessionRuntime {
33 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API
Datum() =
default;
44 template <
typename ModelInputT = ModelInput>
46 m_modelInputHasBeenSet =
true;
47 m_modelInput = std::forward<ModelInputT>(value);
49 template <
typename ModelInputT = ModelInput>
69 template <
typename LossFnInputsT = Aws::Map<Aws::String, TensorData>>
71 m_lossFnInputsHasBeenSet =
true;
72 m_lossFnInputs = std::forward<LossFnInputsT>(value);
74 template <
typename LossFnInputsT = Aws::Map<Aws::String, TensorData>>
79 template <
typename LossFnInputsKeyT = Aws::String,
typename LossFnInputsValueT = TensorData>
81 m_lossFnInputsHasBeenSet =
true;
82 m_lossFnInputs.emplace(std::forward<LossFnInputsKeyT>(key), std::forward<LossFnInputsValueT>(value));
90 bool m_modelInputHasBeenSet =
false;
91 bool m_lossFnInputsHasBeenSet =
false;
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Datum & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLossFnInputs(LossFnInputsT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Datum(Aws::Utils::Json::JsonView jsonValue)
bool LossFnInputsHasBeenSet() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
const ModelInput & GetModelInput() const
bool ModelInputHasBeenSet() const
void SetModelInput(ModelInputT &&value)
Datum & AddLossFnInputs(LossFnInputsKeyT &&key, LossFnInputsValueT &&value)
const Aws::Map< Aws::String, TensorData > & GetLossFnInputs() const
Datum & WithLossFnInputs(LossFnInputsT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Datum()=default
Datum & WithModelInput(ModelInputT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue