AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataSourceRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/model/DataSourceConfigurationInput.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/datazone/model/EnableSetting.h>
13#include <aws/datazone/model/RecommendationConfiguration.h>
14#include <aws/datazone/model/ScheduleConfiguration.h>
15#include <aws/datazone/model/FormInput.h>
16#include <utility>
17
18namespace Aws
19{
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API UpdateDataSourceRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataSource"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::Vector<FormInput>& GetAssetFormsInput() const{ return m_assetFormsInput; }
47 inline bool AssetFormsInputHasBeenSet() const { return m_assetFormsInputHasBeenSet; }
48 inline void SetAssetFormsInput(const Aws::Vector<FormInput>& value) { m_assetFormsInputHasBeenSet = true; m_assetFormsInput = value; }
49 inline void SetAssetFormsInput(Aws::Vector<FormInput>&& value) { m_assetFormsInputHasBeenSet = true; m_assetFormsInput = std::move(value); }
51 inline UpdateDataSourceRequest& WithAssetFormsInput(Aws::Vector<FormInput>&& value) { SetAssetFormsInput(std::move(value)); return *this;}
52 inline UpdateDataSourceRequest& AddAssetFormsInput(const FormInput& value) { m_assetFormsInputHasBeenSet = true; m_assetFormsInput.push_back(value); return *this; }
53 inline UpdateDataSourceRequest& AddAssetFormsInput(FormInput&& value) { m_assetFormsInputHasBeenSet = true; m_assetFormsInput.push_back(std::move(value)); return *this; }
55
57
61 inline const DataSourceConfigurationInput& GetConfiguration() const{ return m_configuration; }
62 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
63 inline void SetConfiguration(const DataSourceConfigurationInput& value) { m_configurationHasBeenSet = true; m_configuration = value; }
64 inline void SetConfiguration(DataSourceConfigurationInput&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
68
70
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline UpdateDataSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline UpdateDataSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline UpdateDataSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
89 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
90 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
91 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
92 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
93 inline UpdateDataSourceRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
94 inline UpdateDataSourceRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
95 inline UpdateDataSourceRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
97
99
103 inline const EnableSetting& GetEnableSetting() const{ return m_enableSetting; }
104 inline bool EnableSettingHasBeenSet() const { return m_enableSettingHasBeenSet; }
105 inline void SetEnableSetting(const EnableSetting& value) { m_enableSettingHasBeenSet = true; m_enableSetting = value; }
106 inline void SetEnableSetting(EnableSetting&& value) { m_enableSettingHasBeenSet = true; m_enableSetting = std::move(value); }
107 inline UpdateDataSourceRequest& WithEnableSetting(const EnableSetting& value) { SetEnableSetting(value); return *this;}
108 inline UpdateDataSourceRequest& WithEnableSetting(EnableSetting&& value) { SetEnableSetting(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
116 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
117 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
118 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
119 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
120 inline UpdateDataSourceRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
121 inline UpdateDataSourceRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
122 inline UpdateDataSourceRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
124
126
130 inline const Aws::String& GetName() const{ return m_name; }
131 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
133 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
134 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
135 inline UpdateDataSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
136 inline UpdateDataSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
137 inline UpdateDataSourceRequest& WithName(const char* value) { SetName(value); return *this;}
139
141
145 inline bool GetPublishOnImport() const{ return m_publishOnImport; }
146 inline bool PublishOnImportHasBeenSet() const { return m_publishOnImportHasBeenSet; }
147 inline void SetPublishOnImport(bool value) { m_publishOnImportHasBeenSet = true; m_publishOnImport = value; }
148 inline UpdateDataSourceRequest& WithPublishOnImport(bool value) { SetPublishOnImport(value); return *this;}
150
152
156 inline const RecommendationConfiguration& GetRecommendation() const{ return m_recommendation; }
157 inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; }
158 inline void SetRecommendation(const RecommendationConfiguration& value) { m_recommendationHasBeenSet = true; m_recommendation = value; }
159 inline void SetRecommendation(RecommendationConfiguration&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::move(value); }
163
165
169 inline bool GetRetainPermissionsOnRevokeFailure() const{ return m_retainPermissionsOnRevokeFailure; }
170 inline bool RetainPermissionsOnRevokeFailureHasBeenSet() const { return m_retainPermissionsOnRevokeFailureHasBeenSet; }
171 inline void SetRetainPermissionsOnRevokeFailure(bool value) { m_retainPermissionsOnRevokeFailureHasBeenSet = true; m_retainPermissionsOnRevokeFailure = value; }
174
176
180 inline const ScheduleConfiguration& GetSchedule() const{ return m_schedule; }
181 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
182 inline void SetSchedule(const ScheduleConfiguration& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
183 inline void SetSchedule(ScheduleConfiguration&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
184 inline UpdateDataSourceRequest& WithSchedule(const ScheduleConfiguration& value) { SetSchedule(value); return *this;}
185 inline UpdateDataSourceRequest& WithSchedule(ScheduleConfiguration&& value) { SetSchedule(std::move(value)); return *this;}
187 private:
188
189 Aws::Vector<FormInput> m_assetFormsInput;
190 bool m_assetFormsInputHasBeenSet = false;
191
192 DataSourceConfigurationInput m_configuration;
193 bool m_configurationHasBeenSet = false;
194
195 Aws::String m_description;
196 bool m_descriptionHasBeenSet = false;
197
198 Aws::String m_domainIdentifier;
199 bool m_domainIdentifierHasBeenSet = false;
200
201 EnableSetting m_enableSetting;
202 bool m_enableSettingHasBeenSet = false;
203
204 Aws::String m_identifier;
205 bool m_identifierHasBeenSet = false;
206
207 Aws::String m_name;
208 bool m_nameHasBeenSet = false;
209
210 bool m_publishOnImport;
211 bool m_publishOnImportHasBeenSet = false;
212
213 RecommendationConfiguration m_recommendation;
214 bool m_recommendationHasBeenSet = false;
215
216 bool m_retainPermissionsOnRevokeFailure;
217 bool m_retainPermissionsOnRevokeFailureHasBeenSet = false;
218
219 ScheduleConfiguration m_schedule;
220 bool m_scheduleHasBeenSet = false;
221 };
222
223} // namespace Model
224} // namespace DataZone
225} // namespace Aws
UpdateDataSourceRequest & WithPublishOnImport(bool value)
UpdateDataSourceRequest & WithSchedule(const ScheduleConfiguration &value)
UpdateDataSourceRequest & WithDescription(const Aws::String &value)
UpdateDataSourceRequest & WithEnableSetting(EnableSetting &&value)
void SetRecommendation(RecommendationConfiguration &&value)
UpdateDataSourceRequest & WithName(const char *value)
void SetRecommendation(const RecommendationConfiguration &value)
void SetConfiguration(DataSourceConfigurationInput &&value)
UpdateDataSourceRequest & WithConfiguration(const DataSourceConfigurationInput &value)
UpdateDataSourceRequest & WithIdentifier(const char *value)
UpdateDataSourceRequest & WithRecommendation(RecommendationConfiguration &&value)
UpdateDataSourceRequest & WithAssetFormsInput(Aws::Vector< FormInput > &&value)
UpdateDataSourceRequest & AddAssetFormsInput(const FormInput &value)
virtual const char * GetServiceRequestName() const override
UpdateDataSourceRequest & WithEnableSetting(const EnableSetting &value)
UpdateDataSourceRequest & WithDomainIdentifier(const Aws::String &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateDataSourceRequest & WithIdentifier(Aws::String &&value)
UpdateDataSourceRequest & WithIdentifier(const Aws::String &value)
UpdateDataSourceRequest & WithDescription(Aws::String &&value)
void SetAssetFormsInput(const Aws::Vector< FormInput > &value)
const RecommendationConfiguration & GetRecommendation() const
UpdateDataSourceRequest & WithRecommendation(const RecommendationConfiguration &value)
UpdateDataSourceRequest & WithAssetFormsInput(const Aws::Vector< FormInput > &value)
UpdateDataSourceRequest & WithDomainIdentifier(Aws::String &&value)
const Aws::Vector< FormInput > & GetAssetFormsInput() const
UpdateDataSourceRequest & WithConfiguration(DataSourceConfigurationInput &&value)
UpdateDataSourceRequest & WithRetainPermissionsOnRevokeFailure(bool value)
void SetConfiguration(const DataSourceConfigurationInput &value)
const DataSourceConfigurationInput & GetConfiguration() const
void SetSchedule(ScheduleConfiguration &&value)
const ScheduleConfiguration & GetSchedule() const
UpdateDataSourceRequest & WithDescription(const char *value)
void SetAssetFormsInput(Aws::Vector< FormInput > &&value)
UpdateDataSourceRequest & AddAssetFormsInput(FormInput &&value)
UpdateDataSourceRequest & WithDomainIdentifier(const char *value)
void SetSchedule(const ScheduleConfiguration &value)
UpdateDataSourceRequest & WithSchedule(ScheduleConfiguration &&value)
UpdateDataSourceRequest & WithName(Aws::String &&value)
UpdateDataSourceRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector