AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDatasetRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotanalytics/model/RetentionPeriod.h>
12#include <aws/iotanalytics/model/VersioningConfiguration.h>
13#include <aws/iotanalytics/model/DatasetAction.h>
14#include <aws/iotanalytics/model/DatasetTrigger.h>
15#include <aws/iotanalytics/model/DatasetContentDeliveryRule.h>
16#include <aws/iotanalytics/model/LateDataRule.h>
17#include <utility>
18
19namespace Aws
20{
21namespace IoTAnalytics
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_IOTANALYTICS_API UpdateDatasetRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataset"; }
38
39 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
47 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
48 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
49 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
50 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
51 inline UpdateDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
52 inline UpdateDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
53 inline UpdateDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
55
57
60 inline const Aws::Vector<DatasetAction>& GetActions() const{ return m_actions; }
61 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
62 inline void SetActions(const Aws::Vector<DatasetAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
63 inline void SetActions(Aws::Vector<DatasetAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
64 inline UpdateDatasetRequest& WithActions(const Aws::Vector<DatasetAction>& value) { SetActions(value); return *this;}
65 inline UpdateDatasetRequest& WithActions(Aws::Vector<DatasetAction>&& value) { SetActions(std::move(value)); return *this;}
66 inline UpdateDatasetRequest& AddActions(const DatasetAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
67 inline UpdateDatasetRequest& AddActions(DatasetAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
69
71
75 inline const Aws::Vector<DatasetTrigger>& GetTriggers() const{ return m_triggers; }
76 inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; }
77 inline void SetTriggers(const Aws::Vector<DatasetTrigger>& value) { m_triggersHasBeenSet = true; m_triggers = value; }
78 inline void SetTriggers(Aws::Vector<DatasetTrigger>&& value) { m_triggersHasBeenSet = true; m_triggers = std::move(value); }
79 inline UpdateDatasetRequest& WithTriggers(const Aws::Vector<DatasetTrigger>& value) { SetTriggers(value); return *this;}
80 inline UpdateDatasetRequest& WithTriggers(Aws::Vector<DatasetTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
81 inline UpdateDatasetRequest& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; }
82 inline UpdateDatasetRequest& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; }
84
86
90 inline const Aws::Vector<DatasetContentDeliveryRule>& GetContentDeliveryRules() const{ return m_contentDeliveryRules; }
91 inline bool ContentDeliveryRulesHasBeenSet() const { return m_contentDeliveryRulesHasBeenSet; }
92 inline void SetContentDeliveryRules(const Aws::Vector<DatasetContentDeliveryRule>& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = value; }
93 inline void SetContentDeliveryRules(Aws::Vector<DatasetContentDeliveryRule>&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = std::move(value); }
96 inline UpdateDatasetRequest& AddContentDeliveryRules(const DatasetContentDeliveryRule& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(value); return *this; }
97 inline UpdateDatasetRequest& AddContentDeliveryRules(DatasetContentDeliveryRule&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(std::move(value)); return *this; }
99
101
104 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
105 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
106 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
107 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
108 inline UpdateDatasetRequest& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
109 inline UpdateDatasetRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
111
113
122 inline const VersioningConfiguration& GetVersioningConfiguration() const{ return m_versioningConfiguration; }
123 inline bool VersioningConfigurationHasBeenSet() const { return m_versioningConfigurationHasBeenSet; }
124 inline void SetVersioningConfiguration(const VersioningConfiguration& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = value; }
125 inline void SetVersioningConfiguration(VersioningConfiguration&& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = std::move(value); }
129
131
137 inline const Aws::Vector<LateDataRule>& GetLateDataRules() const{ return m_lateDataRules; }
138 inline bool LateDataRulesHasBeenSet() const { return m_lateDataRulesHasBeenSet; }
139 inline void SetLateDataRules(const Aws::Vector<LateDataRule>& value) { m_lateDataRulesHasBeenSet = true; m_lateDataRules = value; }
140 inline void SetLateDataRules(Aws::Vector<LateDataRule>&& value) { m_lateDataRulesHasBeenSet = true; m_lateDataRules = std::move(value); }
142 inline UpdateDatasetRequest& WithLateDataRules(Aws::Vector<LateDataRule>&& value) { SetLateDataRules(std::move(value)); return *this;}
143 inline UpdateDatasetRequest& AddLateDataRules(const LateDataRule& value) { m_lateDataRulesHasBeenSet = true; m_lateDataRules.push_back(value); return *this; }
144 inline UpdateDatasetRequest& AddLateDataRules(LateDataRule&& value) { m_lateDataRulesHasBeenSet = true; m_lateDataRules.push_back(std::move(value)); return *this; }
146 private:
147
148 Aws::String m_datasetName;
149 bool m_datasetNameHasBeenSet = false;
150
152 bool m_actionsHasBeenSet = false;
153
155 bool m_triggersHasBeenSet = false;
156
157 Aws::Vector<DatasetContentDeliveryRule> m_contentDeliveryRules;
158 bool m_contentDeliveryRulesHasBeenSet = false;
159
160 RetentionPeriod m_retentionPeriod;
161 bool m_retentionPeriodHasBeenSet = false;
162
163 VersioningConfiguration m_versioningConfiguration;
164 bool m_versioningConfigurationHasBeenSet = false;
165
166 Aws::Vector<LateDataRule> m_lateDataRules;
167 bool m_lateDataRulesHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace IoTAnalytics
172} // namespace Aws
UpdateDatasetRequest & AddActions(const DatasetAction &value)
UpdateDatasetRequest & WithDatasetName(const char *value)
UpdateDatasetRequest & WithDatasetName(Aws::String &&value)
void SetActions(const Aws::Vector< DatasetAction > &value)
UpdateDatasetRequest & WithActions(const Aws::Vector< DatasetAction > &value)
UpdateDatasetRequest & AddTriggers(const DatasetTrigger &value)
UpdateDatasetRequest & AddLateDataRules(const LateDataRule &value)
const VersioningConfiguration & GetVersioningConfiguration() const
UpdateDatasetRequest & WithContentDeliveryRules(const Aws::Vector< DatasetContentDeliveryRule > &value)
void SetActions(Aws::Vector< DatasetAction > &&value)
UpdateDatasetRequest & WithRetentionPeriod(RetentionPeriod &&value)
UpdateDatasetRequest & WithContentDeliveryRules(Aws::Vector< DatasetContentDeliveryRule > &&value)
UpdateDatasetRequest & WithTriggers(const Aws::Vector< DatasetTrigger > &value)
const Aws::Vector< DatasetAction > & GetActions() const
UpdateDatasetRequest & WithRetentionPeriod(const RetentionPeriod &value)
UpdateDatasetRequest & WithVersioningConfiguration(const VersioningConfiguration &value)
const Aws::Vector< DatasetContentDeliveryRule > & GetContentDeliveryRules() const
UpdateDatasetRequest & WithLateDataRules(const Aws::Vector< LateDataRule > &value)
virtual const char * GetServiceRequestName() const override
UpdateDatasetRequest & AddLateDataRules(LateDataRule &&value)
UpdateDatasetRequest & WithTriggers(Aws::Vector< DatasetTrigger > &&value)
void SetVersioningConfiguration(VersioningConfiguration &&value)
void SetRetentionPeriod(const RetentionPeriod &value)
void SetTriggers(Aws::Vector< DatasetTrigger > &&value)
UpdateDatasetRequest & WithActions(Aws::Vector< DatasetAction > &&value)
UpdateDatasetRequest & AddContentDeliveryRules(DatasetContentDeliveryRule &&value)
UpdateDatasetRequest & AddContentDeliveryRules(const DatasetContentDeliveryRule &value)
const Aws::Vector< LateDataRule > & GetLateDataRules() const
void SetContentDeliveryRules(const Aws::Vector< DatasetContentDeliveryRule > &value)
void SetVersioningConfiguration(const VersioningConfiguration &value)
UpdateDatasetRequest & AddTriggers(DatasetTrigger &&value)
const Aws::Vector< DatasetTrigger > & GetTriggers() const
void SetLateDataRules(Aws::Vector< LateDataRule > &&value)
void SetTriggers(const Aws::Vector< DatasetTrigger > &value)
UpdateDatasetRequest & WithVersioningConfiguration(VersioningConfiguration &&value)
UpdateDatasetRequest & WithLateDataRules(Aws::Vector< LateDataRule > &&value)
UpdateDatasetRequest & WithDatasetName(const Aws::String &value)
UpdateDatasetRequest & AddActions(DatasetAction &&value)
void SetLateDataRules(const Aws::Vector< LateDataRule > &value)
void SetContentDeliveryRules(Aws::Vector< DatasetContentDeliveryRule > &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector