AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
InputDataConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/forecast/ForecastService_EXPORTS.h>
10#include <aws/forecast/model/SupplementaryFeature.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ForecastService {
22namespace Model {
23
34 public:
35 AWS_FORECASTSERVICE_API InputDataConfig() = default;
36 AWS_FORECASTSERVICE_API InputDataConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FORECASTSERVICE_API InputDataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
45 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
46 template <typename DatasetGroupArnT = Aws::String>
47 void SetDatasetGroupArn(DatasetGroupArnT&& value) {
48 m_datasetGroupArnHasBeenSet = true;
49 m_datasetGroupArn = std::forward<DatasetGroupArnT>(value);
50 }
51 template <typename DatasetGroupArnT = Aws::String>
52 InputDataConfig& WithDatasetGroupArn(DatasetGroupArnT&& value) {
53 SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value));
54 return *this;
55 }
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) {
67 m_supplementaryFeaturesHasBeenSet = true;
68 m_supplementaryFeatures = std::forward<SupplementaryFeaturesT>(value);
69 }
70 template <typename SupplementaryFeaturesT = Aws::Vector<SupplementaryFeature>>
71 InputDataConfig& WithSupplementaryFeatures(SupplementaryFeaturesT&& value) {
72 SetSupplementaryFeatures(std::forward<SupplementaryFeaturesT>(value));
73 return *this;
74 }
75 template <typename SupplementaryFeaturesT = SupplementaryFeature>
76 InputDataConfig& AddSupplementaryFeatures(SupplementaryFeaturesT&& value) {
77 m_supplementaryFeaturesHasBeenSet = true;
78 m_supplementaryFeatures.emplace_back(std::forward<SupplementaryFeaturesT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_datasetGroupArn;
84
85 Aws::Vector<SupplementaryFeature> m_supplementaryFeatures;
86 bool m_datasetGroupArnHasBeenSet = false;
87 bool m_supplementaryFeaturesHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace ForecastService
92} // 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