AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PredictorExecutionDetails.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/model/PredictorExecution.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 ForecastService
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_FORECASTSERVICE_API PredictorExecutionDetails() = default;
39 AWS_FORECASTSERVICE_API PredictorExecutionDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<PredictorExecution>& GetPredictorExecutions() const { return m_predictorExecutions; }
51 inline bool PredictorExecutionsHasBeenSet() const { return m_predictorExecutionsHasBeenSet; }
52 template<typename PredictorExecutionsT = Aws::Vector<PredictorExecution>>
53 void SetPredictorExecutions(PredictorExecutionsT&& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions = std::forward<PredictorExecutionsT>(value); }
54 template<typename PredictorExecutionsT = Aws::Vector<PredictorExecution>>
55 PredictorExecutionDetails& WithPredictorExecutions(PredictorExecutionsT&& value) { SetPredictorExecutions(std::forward<PredictorExecutionsT>(value)); return *this;}
56 template<typename PredictorExecutionsT = PredictorExecution>
57 PredictorExecutionDetails& AddPredictorExecutions(PredictorExecutionsT&& value) { m_predictorExecutionsHasBeenSet = true; m_predictorExecutions.emplace_back(std::forward<PredictorExecutionsT>(value)); return *this; }
59 private:
60
61 Aws::Vector<PredictorExecution> m_predictorExecutions;
62 bool m_predictorExecutionsHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace ForecastService
67} // namespace Aws
PredictorExecutionDetails & WithPredictorExecutions(PredictorExecutionsT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PredictorExecutionDetails & AddPredictorExecutions(PredictorExecutionsT &&value)
const Aws::Vector< PredictorExecution > & GetPredictorExecutions() const
AWS_FORECASTSERVICE_API PredictorExecutionDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API PredictorExecutionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API PredictorExecutionDetails()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue