AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
PredictorExecutionDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
9#include <aws/forecast/model/PredictorExecution.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ForecastService {
21namespace Model {
22
32 public:
33 AWS_FORECASTSERVICE_API PredictorExecutionDetails() = default;
34 AWS_FORECASTSERVICE_API PredictorExecutionDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<PredictorExecution>& GetPredictorExecutions() const { return m_predictorExecutions; }
45 inline bool PredictorExecutionsHasBeenSet() const { return m_predictorExecutionsHasBeenSet; }
46 template <typename PredictorExecutionsT = Aws::Vector<PredictorExecution>>
47 void SetPredictorExecutions(PredictorExecutionsT&& value) {
48 m_predictorExecutionsHasBeenSet = true;
49 m_predictorExecutions = std::forward<PredictorExecutionsT>(value);
50 }
51 template <typename PredictorExecutionsT = Aws::Vector<PredictorExecution>>
52 PredictorExecutionDetails& WithPredictorExecutions(PredictorExecutionsT&& value) {
53 SetPredictorExecutions(std::forward<PredictorExecutionsT>(value));
54 return *this;
55 }
56 template <typename PredictorExecutionsT = PredictorExecution>
57 PredictorExecutionDetails& AddPredictorExecutions(PredictorExecutionsT&& value) {
58 m_predictorExecutionsHasBeenSet = true;
59 m_predictorExecutions.emplace_back(std::forward<PredictorExecutionsT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<PredictorExecution> m_predictorExecutions;
65 bool m_predictorExecutionsHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace ForecastService
70} // 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