AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/forecast/model/SupplementaryFeature.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ForecastService
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_FORECASTSERVICE_API InputDataConfig() = default;
41 AWS_FORECASTSERVICE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API InputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
51 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
52 template<typename DatasetGroupArnT = Aws::String>
53 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
54 template<typename DatasetGroupArnT = Aws::String>
55 InputDataConfig& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
57
59
63 inline const Aws::Vector<SupplementaryFeature>& GetSupplementaryFeatures() const { return m_supplementaryFeatures; }
64 inline bool SupplementaryFeaturesHasBeenSet() const { return m_supplementaryFeaturesHasBeenSet; }
65 template<typename SupplementaryFeaturesT = Aws::Vector<SupplementaryFeature>>
66 void SetSupplementaryFeatures(SupplementaryFeaturesT&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures = std::forward<SupplementaryFeaturesT>(value); }
67 template<typename SupplementaryFeaturesT = Aws::Vector<SupplementaryFeature>>
68 InputDataConfig& WithSupplementaryFeatures(SupplementaryFeaturesT&& value) { SetSupplementaryFeatures(std::forward<SupplementaryFeaturesT>(value)); return *this;}
69 template<typename SupplementaryFeaturesT = SupplementaryFeature>
70 InputDataConfig& AddSupplementaryFeatures(SupplementaryFeaturesT&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures.emplace_back(std::forward<SupplementaryFeaturesT>(value)); return *this; }
72 private:
73
74 Aws::String m_datasetGroupArn;
75 bool m_datasetGroupArnHasBeenSet = false;
76
77 Aws::Vector<SupplementaryFeature> m_supplementaryFeatures;
78 bool m_supplementaryFeaturesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ForecastService
83} // namespace Aws
AWS_FORECASTSERVICE_API InputDataConfig()=default
void SetSupplementaryFeatures(SupplementaryFeaturesT &&value)
InputDataConfig & AddSupplementaryFeatures(SupplementaryFeaturesT &&value)
AWS_FORECASTSERVICE_API InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SupplementaryFeature > & GetSupplementaryFeatures() const
void SetDatasetGroupArn(DatasetGroupArnT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDatasetGroupArn() const
InputDataConfig & WithSupplementaryFeatures(SupplementaryFeaturesT &&value)
AWS_FORECASTSERVICE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
InputDataConfig & WithDatasetGroupArn(DatasetGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue