7#include <aws/core/utils/Document.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntime_EXPORTS.h>
10#include <aws/sagemakertrainingsessionruntime/model/Datum.h>
11#include <aws/sagemakertrainingsessionruntime/model/LossFnName.h>
22namespace SageMakerTrainingSessionRuntime {
45 m_lossFnNameHasBeenSet =
true;
62 template <
typename DatumListT = Aws::Vector<Datum>>
64 m_datumListHasBeenSet =
true;
65 m_datumList = std::forward<DatumListT>(value);
67 template <
typename DatumListT = Aws::Vector<Datum>>
72 template <
typename DatumListT = Datum>
74 m_datumListHasBeenSet =
true;
75 m_datumList.emplace_back(std::forward<DatumListT>(value));
89 template <
typename LossFnConfigT = Aws::Utils::Document>
91 m_lossFnConfigHasBeenSet =
true;
92 m_lossFnConfig = std::forward<LossFnConfigT>(value);
94 template <
typename LossFnConfigT = Aws::Utils::Document>
106 bool m_lossFnNameHasBeenSet =
false;
107 bool m_datumListHasBeenSet =
false;
108 bool m_lossFnConfigHasBeenSet =
false;
void SetLossFnName(LossFnName value)
ForwardConfig & AddDatumList(DatumListT &&value)
const Aws::Vector< Datum > & GetDatumList() const
LossFnName GetLossFnName() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ForwardConfig()=default
bool DatumListHasBeenSet() const
Aws::Utils::DocumentView GetLossFnConfig() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ForwardConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLossFnConfig(LossFnConfigT &&value)
bool LossFnConfigHasBeenSet() const
ForwardConfig & WithLossFnName(LossFnName value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ForwardConfig(Aws::Utils::Json::JsonView jsonValue)
void SetDatumList(DatumListT &&value)
bool LossFnNameHasBeenSet() const
ForwardConfig & WithLossFnConfig(LossFnConfigT &&value)
ForwardConfig & WithDatumList(DatumListT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue