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/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Document.h>
11#include <aws/qbusiness/model/DataSourceVpcConfiguration.h>
12#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace QBusiness
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QBUSINESS_API UpdateDataSourceRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataSource"; }
34
35 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
44 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
45 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
46 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
47 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
48 inline UpdateDataSourceRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
49 inline UpdateDataSourceRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
50 inline UpdateDataSourceRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
52
54
57 inline const Aws::String& GetIndexId() const{ return m_indexId; }
58 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
59 inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
60 inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
61 inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
62 inline UpdateDataSourceRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
63 inline UpdateDataSourceRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
64 inline UpdateDataSourceRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;}
66
68
71 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
72 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
73 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
74 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
75 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
76 inline UpdateDataSourceRequest& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
77 inline UpdateDataSourceRequest& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
78 inline UpdateDataSourceRequest& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
80
82
85 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
86 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
87 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
88 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
89 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
90 inline UpdateDataSourceRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
91 inline UpdateDataSourceRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
92 inline UpdateDataSourceRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
94
96
97 inline Aws::Utils::DocumentView GetConfiguration() const{ return m_configuration; }
98 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
99 inline void SetConfiguration(const Aws::Utils::Document& value) { m_configurationHasBeenSet = true; m_configuration = value; }
100 inline void SetConfiguration(Aws::Utils::Document&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
102 inline UpdateDataSourceRequest& WithConfiguration(Aws::Utils::Document&& value) { SetConfiguration(std::move(value)); return *this;}
104
106
107 inline const DataSourceVpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
108 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
109 inline void SetVpcConfiguration(const DataSourceVpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
110 inline void SetVpcConfiguration(DataSourceVpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
114
116
119 inline const Aws::String& GetDescription() const{ return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
122 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
123 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
124 inline UpdateDataSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
125 inline UpdateDataSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
126 inline UpdateDataSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
128
130
133 inline const Aws::String& GetSyncSchedule() const{ return m_syncSchedule; }
134 inline bool SyncScheduleHasBeenSet() const { return m_syncScheduleHasBeenSet; }
135 inline void SetSyncSchedule(const Aws::String& value) { m_syncScheduleHasBeenSet = true; m_syncSchedule = value; }
136 inline void SetSyncSchedule(Aws::String&& value) { m_syncScheduleHasBeenSet = true; m_syncSchedule = std::move(value); }
137 inline void SetSyncSchedule(const char* value) { m_syncScheduleHasBeenSet = true; m_syncSchedule.assign(value); }
138 inline UpdateDataSourceRequest& WithSyncSchedule(const Aws::String& value) { SetSyncSchedule(value); return *this;}
139 inline UpdateDataSourceRequest& WithSyncSchedule(Aws::String&& value) { SetSyncSchedule(std::move(value)); return *this;}
140 inline UpdateDataSourceRequest& WithSyncSchedule(const char* value) { SetSyncSchedule(value); return *this;}
142
144
148 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
149 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
150 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
151 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
152 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
153 inline UpdateDataSourceRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
154 inline UpdateDataSourceRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
155 inline UpdateDataSourceRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
157
159
160 inline const DocumentEnrichmentConfiguration& GetDocumentEnrichmentConfiguration() const{ return m_documentEnrichmentConfiguration; }
161 inline bool DocumentEnrichmentConfigurationHasBeenSet() const { return m_documentEnrichmentConfigurationHasBeenSet; }
162 inline void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration& value) { m_documentEnrichmentConfigurationHasBeenSet = true; m_documentEnrichmentConfiguration = value; }
163 inline void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration&& value) { m_documentEnrichmentConfigurationHasBeenSet = true; m_documentEnrichmentConfiguration = std::move(value); }
167 private:
168
169 Aws::String m_applicationId;
170 bool m_applicationIdHasBeenSet = false;
171
172 Aws::String m_indexId;
173 bool m_indexIdHasBeenSet = false;
174
175 Aws::String m_dataSourceId;
176 bool m_dataSourceIdHasBeenSet = false;
177
178 Aws::String m_displayName;
179 bool m_displayNameHasBeenSet = false;
180
181 Aws::Utils::Document m_configuration;
182 bool m_configurationHasBeenSet = false;
183
184 DataSourceVpcConfiguration m_vpcConfiguration;
185 bool m_vpcConfigurationHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 Aws::String m_syncSchedule;
191 bool m_syncScheduleHasBeenSet = false;
192
193 Aws::String m_roleArn;
194 bool m_roleArnHasBeenSet = false;
195
196 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
197 bool m_documentEnrichmentConfigurationHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace QBusiness
202} // namespace Aws
void SetVpcConfiguration(DataSourceVpcConfiguration &&value)
UpdateDataSourceRequest & WithSyncSchedule(const Aws::String &value)
void SetConfiguration(const Aws::Utils::Document &value)
UpdateDataSourceRequest & WithDisplayName(Aws::String &&value)
UpdateDataSourceRequest & WithDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
UpdateDataSourceRequest & WithIndexId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateDataSourceRequest & WithConfiguration(Aws::Utils::Document &&value)
UpdateDataSourceRequest & WithIndexId(Aws::String &&value)
UpdateDataSourceRequest & WithDataSourceId(const Aws::String &value)
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdateDataSourceRequest & WithApplicationId(const Aws::String &value)
UpdateDataSourceRequest & WithConfiguration(const Aws::Utils::Document &value)
UpdateDataSourceRequest & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
UpdateDataSourceRequest & WithRoleArn(const Aws::String &value)
UpdateDataSourceRequest & WithVpcConfiguration(const DataSourceVpcConfiguration &value)
UpdateDataSourceRequest & WithIndexId(const Aws::String &value)
UpdateDataSourceRequest & WithRoleArn(const char *value)
UpdateDataSourceRequest & WithDisplayName(const Aws::String &value)
UpdateDataSourceRequest & WithDescription(Aws::String &&value)
UpdateDataSourceRequest & WithDescription(const char *value)
UpdateDataSourceRequest & WithSyncSchedule(Aws::String &&value)
UpdateDataSourceRequest & WithDescription(const Aws::String &value)
UpdateDataSourceRequest & WithApplicationId(Aws::String &&value)
UpdateDataSourceRequest & WithSyncSchedule(const char *value)
UpdateDataSourceRequest & WithDisplayName(const char *value)
UpdateDataSourceRequest & WithApplicationId(const char *value)
UpdateDataSourceRequest & WithVpcConfiguration(DataSourceVpcConfiguration &&value)
const DataSourceVpcConfiguration & GetVpcConfiguration() const
UpdateDataSourceRequest & WithDataSourceId(Aws::String &&value)
void SetConfiguration(Aws::Utils::Document &&value)
UpdateDataSourceRequest & WithDataSourceId(const char *value)
void SetVpcConfiguration(const DataSourceVpcConfiguration &value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
UpdateDataSourceRequest & WithRoleArn(Aws::String &&value)
void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String