AWS SDK for C++  1.9.108
AWS SDK for C++
InputDataConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ForecastService
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
48 
52  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
53 
57  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
58 
62  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
63 
67  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
68 
72  inline InputDataConfig& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
73 
77  inline InputDataConfig& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
78 
82  inline InputDataConfig& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
83 
84 
89  inline const Aws::Vector<SupplementaryFeature>& GetSupplementaryFeatures() const{ return m_supplementaryFeatures; }
90 
95  inline bool SupplementaryFeaturesHasBeenSet() const { return m_supplementaryFeaturesHasBeenSet; }
96 
101  inline void SetSupplementaryFeatures(const Aws::Vector<SupplementaryFeature>& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures = value; }
102 
107  inline void SetSupplementaryFeatures(Aws::Vector<SupplementaryFeature>&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures = std::move(value); }
108 
113  inline InputDataConfig& WithSupplementaryFeatures(const Aws::Vector<SupplementaryFeature>& value) { SetSupplementaryFeatures(value); return *this;}
114 
119  inline InputDataConfig& WithSupplementaryFeatures(Aws::Vector<SupplementaryFeature>&& value) { SetSupplementaryFeatures(std::move(value)); return *this;}
120 
125  inline InputDataConfig& AddSupplementaryFeatures(const SupplementaryFeature& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures.push_back(value); return *this; }
126 
131  inline InputDataConfig& AddSupplementaryFeatures(SupplementaryFeature&& value) { m_supplementaryFeaturesHasBeenSet = true; m_supplementaryFeatures.push_back(std::move(value)); return *this; }
132 
133  private:
134 
135  Aws::String m_datasetGroupArn;
136  bool m_datasetGroupArnHasBeenSet;
137 
138  Aws::Vector<SupplementaryFeature> m_supplementaryFeatures;
139  bool m_supplementaryFeaturesHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace ForecastService
144 } // namespace Aws
Aws::ForecastService::Model::InputDataConfig::SupplementaryFeaturesHasBeenSet
bool SupplementaryFeaturesHasBeenSet() const
Definition: InputDataConfig.h:95
ForecastService_EXPORTS.h
Aws::ForecastService::Model::SupplementaryFeature
Definition: SupplementaryFeature.h:47
Aws::ForecastService::Model::InputDataConfig::AddSupplementaryFeatures
InputDataConfig & AddSupplementaryFeatures(SupplementaryFeature &&value)
Definition: InputDataConfig.h:131
Aws::ForecastService::Model::InputDataConfig::WithDatasetGroupArn
InputDataConfig & WithDatasetGroupArn(const Aws::String &value)
Definition: InputDataConfig.h:72
Aws::ForecastService::Model::InputDataConfig
Definition: InputDataConfig.h:36
Aws::ForecastService::Model::InputDataConfig::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: InputDataConfig.h:52
Aws::ForecastService::Model::InputDataConfig::WithDatasetGroupArn
InputDataConfig & WithDatasetGroupArn(const char *value)
Definition: InputDataConfig.h:82
Aws::ForecastService::Model::InputDataConfig::SetSupplementaryFeatures
void SetSupplementaryFeatures(Aws::Vector< SupplementaryFeature > &&value)
Definition: InputDataConfig.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ForecastService::Model::InputDataConfig::WithDatasetGroupArn
InputDataConfig & WithDatasetGroupArn(Aws::String &&value)
Definition: InputDataConfig.h:77
Aws::ForecastService::Model::InputDataConfig::GetSupplementaryFeatures
const Aws::Vector< SupplementaryFeature > & GetSupplementaryFeatures() const
Definition: InputDataConfig.h:89
Aws::ForecastService::Model::InputDataConfig::InputDataConfig
InputDataConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::ForecastService::Model::InputDataConfig::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: InputDataConfig.h:47
Aws::ForecastService::Model::InputDataConfig::InputDataConfig
InputDataConfig()
Aws::ForecastService::Model::InputDataConfig::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: InputDataConfig.h:67
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ForecastService::Model::InputDataConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ForecastService::Model::InputDataConfig::operator=
InputDataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SupplementaryFeature.h
Aws::ForecastService::Model::InputDataConfig::WithSupplementaryFeatures
InputDataConfig & WithSupplementaryFeatures(Aws::Vector< SupplementaryFeature > &&value)
Definition: InputDataConfig.h:119
Aws::ForecastService::Model::InputDataConfig::WithSupplementaryFeatures
InputDataConfig & WithSupplementaryFeatures(const Aws::Vector< SupplementaryFeature > &value)
Definition: InputDataConfig.h:113
Aws::ForecastService::Model::InputDataConfig::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: InputDataConfig.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::InputDataConfig::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: InputDataConfig.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::InputDataConfig::AddSupplementaryFeatures
InputDataConfig & AddSupplementaryFeatures(const SupplementaryFeature &value)
Definition: InputDataConfig.h:125
Aws::ForecastService::Model::InputDataConfig::SetSupplementaryFeatures
void SetSupplementaryFeatures(const Aws::Vector< SupplementaryFeature > &value)
Definition: InputDataConfig.h:101