AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataConfig.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/AttributeConfig.h>
11#include <aws/forecast/model/AdditionalDataset.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ForecastService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_FORECASTSERVICE_API DataConfig();
39 AWS_FORECASTSERVICE_API DataConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API DataConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
49 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
50 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
51 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
52 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
53 inline DataConfig& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
54 inline DataConfig& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
55 inline DataConfig& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
57
59
62 inline const Aws::Vector<AttributeConfig>& GetAttributeConfigs() const{ return m_attributeConfigs; }
63 inline bool AttributeConfigsHasBeenSet() const { return m_attributeConfigsHasBeenSet; }
64 inline void SetAttributeConfigs(const Aws::Vector<AttributeConfig>& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs = value; }
65 inline void SetAttributeConfigs(Aws::Vector<AttributeConfig>&& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs = std::move(value); }
67 inline DataConfig& WithAttributeConfigs(Aws::Vector<AttributeConfig>&& value) { SetAttributeConfigs(std::move(value)); return *this;}
68 inline DataConfig& AddAttributeConfigs(const AttributeConfig& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs.push_back(value); return *this; }
69 inline DataConfig& AddAttributeConfigs(AttributeConfig&& value) { m_attributeConfigsHasBeenSet = true; m_attributeConfigs.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::Vector<AdditionalDataset>& GetAdditionalDatasets() const{ return m_additionalDatasets; }
77 inline bool AdditionalDatasetsHasBeenSet() const { return m_additionalDatasetsHasBeenSet; }
78 inline void SetAdditionalDatasets(const Aws::Vector<AdditionalDataset>& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets = value; }
79 inline void SetAdditionalDatasets(Aws::Vector<AdditionalDataset>&& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets = std::move(value); }
82 inline DataConfig& AddAdditionalDatasets(const AdditionalDataset& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets.push_back(value); return *this; }
83 inline DataConfig& AddAdditionalDatasets(AdditionalDataset&& value) { m_additionalDatasetsHasBeenSet = true; m_additionalDatasets.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_datasetGroupArn;
88 bool m_datasetGroupArnHasBeenSet = false;
89
90 Aws::Vector<AttributeConfig> m_attributeConfigs;
91 bool m_attributeConfigsHasBeenSet = false;
92
93 Aws::Vector<AdditionalDataset> m_additionalDatasets;
94 bool m_additionalDatasetsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ForecastService
99} // namespace Aws
DataConfig & WithAdditionalDatasets(Aws::Vector< AdditionalDataset > &&value)
Definition DataConfig.h:81
void SetAttributeConfigs(const Aws::Vector< AttributeConfig > &value)
Definition DataConfig.h:64
DataConfig & WithDatasetGroupArn(Aws::String &&value)
Definition DataConfig.h:54
DataConfig & AddAttributeConfigs(const AttributeConfig &value)
Definition DataConfig.h:68
void SetAttributeConfigs(Aws::Vector< AttributeConfig > &&value)
Definition DataConfig.h:65
DataConfig & WithDatasetGroupArn(const char *value)
Definition DataConfig.h:55
void SetAdditionalDatasets(const Aws::Vector< AdditionalDataset > &value)
Definition DataConfig.h:78
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DataConfig & AddAdditionalDatasets(AdditionalDataset &&value)
Definition DataConfig.h:83
DataConfig & WithAttributeConfigs(const Aws::Vector< AttributeConfig > &value)
Definition DataConfig.h:66
AWS_FORECASTSERVICE_API DataConfig()
void SetDatasetGroupArn(const Aws::String &value)
Definition DataConfig.h:50
void SetAdditionalDatasets(Aws::Vector< AdditionalDataset > &&value)
Definition DataConfig.h:79
const Aws::String & GetDatasetGroupArn() const
Definition DataConfig.h:48
void SetDatasetGroupArn(Aws::String &&value)
Definition DataConfig.h:51
const Aws::Vector< AdditionalDataset > & GetAdditionalDatasets() const
Definition DataConfig.h:76
AWS_FORECASTSERVICE_API DataConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AttributeConfig > & GetAttributeConfigs() const
Definition DataConfig.h:62
DataConfig & AddAdditionalDatasets(const AdditionalDataset &value)
Definition DataConfig.h:82
AWS_FORECASTSERVICE_API DataConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DataConfig & AddAttributeConfigs(AttributeConfig &&value)
Definition DataConfig.h:69
DataConfig & WithAdditionalDatasets(const Aws::Vector< AdditionalDataset > &value)
Definition DataConfig.h:80
DataConfig & WithAttributeConfigs(Aws::Vector< AttributeConfig > &&value)
Definition DataConfig.h:67
void SetDatasetGroupArn(const char *value)
Definition DataConfig.h:52
DataConfig & WithDatasetGroupArn(const Aws::String &value)
Definition DataConfig.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue