AWS SDK for C++  1.9.155
AWS SDK for C++
CreateDataSourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
29  {
30  public:
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 "CreateDataSource"; }
38 
39  Aws::String SerializePayload() const override;
40 
41 
45  inline const Aws::String& GetApiId() const{ return m_apiId; }
46 
50  inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
51 
55  inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
56 
60  inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
61 
65  inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
66 
70  inline CreateDataSourceRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
71 
75  inline CreateDataSourceRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
76 
80  inline CreateDataSourceRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
81 
82 
86  inline const Aws::String& GetName() const{ return m_name; }
87 
91  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 
96  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 
101  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 
106  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
107 
111  inline CreateDataSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
112 
116  inline CreateDataSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 
121  inline CreateDataSourceRequest& WithName(const char* value) { SetName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline CreateDataSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline CreateDataSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline CreateDataSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const DataSourceType& GetType() const{ return m_type; }
169 
173  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
174 
178  inline void SetType(const DataSourceType& value) { m_typeHasBeenSet = true; m_type = value; }
179 
183  inline void SetType(DataSourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
184 
188  inline CreateDataSourceRequest& WithType(const DataSourceType& value) { SetType(value); return *this;}
189 
193  inline CreateDataSourceRequest& WithType(DataSourceType&& value) { SetType(std::move(value)); return *this;}
194 
195 
200  inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; }
201 
206  inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; }
207 
212  inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; }
213 
218  inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); }
219 
224  inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); }
225 
230  inline CreateDataSourceRequest& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;}
231 
236  inline CreateDataSourceRequest& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;}
237 
242  inline CreateDataSourceRequest& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;}
243 
244 
248  inline const DynamodbDataSourceConfig& GetDynamodbConfig() const{ return m_dynamodbConfig; }
249 
253  inline bool DynamodbConfigHasBeenSet() const { return m_dynamodbConfigHasBeenSet; }
254 
258  inline void SetDynamodbConfig(const DynamodbDataSourceConfig& value) { m_dynamodbConfigHasBeenSet = true; m_dynamodbConfig = value; }
259 
263  inline void SetDynamodbConfig(DynamodbDataSourceConfig&& value) { m_dynamodbConfigHasBeenSet = true; m_dynamodbConfig = std::move(value); }
264 
268  inline CreateDataSourceRequest& WithDynamodbConfig(const DynamodbDataSourceConfig& value) { SetDynamodbConfig(value); return *this;}
269 
273  inline CreateDataSourceRequest& WithDynamodbConfig(DynamodbDataSourceConfig&& value) { SetDynamodbConfig(std::move(value)); return *this;}
274 
275 
279  inline const LambdaDataSourceConfig& GetLambdaConfig() const{ return m_lambdaConfig; }
280 
284  inline bool LambdaConfigHasBeenSet() const { return m_lambdaConfigHasBeenSet; }
285 
289  inline void SetLambdaConfig(const LambdaDataSourceConfig& value) { m_lambdaConfigHasBeenSet = true; m_lambdaConfig = value; }
290 
294  inline void SetLambdaConfig(LambdaDataSourceConfig&& value) { m_lambdaConfigHasBeenSet = true; m_lambdaConfig = std::move(value); }
295 
299  inline CreateDataSourceRequest& WithLambdaConfig(const LambdaDataSourceConfig& value) { SetLambdaConfig(value); return *this;}
300 
304  inline CreateDataSourceRequest& WithLambdaConfig(LambdaDataSourceConfig&& value) { SetLambdaConfig(std::move(value)); return *this;}
305 
306 
314  inline const ElasticsearchDataSourceConfig& GetElasticsearchConfig() const{ return m_elasticsearchConfig; }
315 
323  inline bool ElasticsearchConfigHasBeenSet() const { return m_elasticsearchConfigHasBeenSet; }
324 
332  inline void SetElasticsearchConfig(const ElasticsearchDataSourceConfig& value) { m_elasticsearchConfigHasBeenSet = true; m_elasticsearchConfig = value; }
333 
341  inline void SetElasticsearchConfig(ElasticsearchDataSourceConfig&& value) { m_elasticsearchConfigHasBeenSet = true; m_elasticsearchConfig = std::move(value); }
342 
350  inline CreateDataSourceRequest& WithElasticsearchConfig(const ElasticsearchDataSourceConfig& value) { SetElasticsearchConfig(value); return *this;}
351 
359  inline CreateDataSourceRequest& WithElasticsearchConfig(ElasticsearchDataSourceConfig&& value) { SetElasticsearchConfig(std::move(value)); return *this;}
360 
361 
365  inline const OpenSearchServiceDataSourceConfig& GetOpenSearchServiceConfig() const{ return m_openSearchServiceConfig; }
366 
370  inline bool OpenSearchServiceConfigHasBeenSet() const { return m_openSearchServiceConfigHasBeenSet; }
371 
375  inline void SetOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig& value) { m_openSearchServiceConfigHasBeenSet = true; m_openSearchServiceConfig = value; }
376 
380  inline void SetOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig&& value) { m_openSearchServiceConfigHasBeenSet = true; m_openSearchServiceConfig = std::move(value); }
381 
385  inline CreateDataSourceRequest& WithOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig& value) { SetOpenSearchServiceConfig(value); return *this;}
386 
390  inline CreateDataSourceRequest& WithOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig&& value) { SetOpenSearchServiceConfig(std::move(value)); return *this;}
391 
392 
396  inline const HttpDataSourceConfig& GetHttpConfig() const{ return m_httpConfig; }
397 
401  inline bool HttpConfigHasBeenSet() const { return m_httpConfigHasBeenSet; }
402 
406  inline void SetHttpConfig(const HttpDataSourceConfig& value) { m_httpConfigHasBeenSet = true; m_httpConfig = value; }
407 
411  inline void SetHttpConfig(HttpDataSourceConfig&& value) { m_httpConfigHasBeenSet = true; m_httpConfig = std::move(value); }
412 
416  inline CreateDataSourceRequest& WithHttpConfig(const HttpDataSourceConfig& value) { SetHttpConfig(value); return *this;}
417 
421  inline CreateDataSourceRequest& WithHttpConfig(HttpDataSourceConfig&& value) { SetHttpConfig(std::move(value)); return *this;}
422 
423 
427  inline const RelationalDatabaseDataSourceConfig& GetRelationalDatabaseConfig() const{ return m_relationalDatabaseConfig; }
428 
432  inline bool RelationalDatabaseConfigHasBeenSet() const { return m_relationalDatabaseConfigHasBeenSet; }
433 
437  inline void SetRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig& value) { m_relationalDatabaseConfigHasBeenSet = true; m_relationalDatabaseConfig = value; }
438 
442  inline void SetRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig&& value) { m_relationalDatabaseConfigHasBeenSet = true; m_relationalDatabaseConfig = std::move(value); }
443 
447  inline CreateDataSourceRequest& WithRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig& value) { SetRelationalDatabaseConfig(value); return *this;}
448 
452  inline CreateDataSourceRequest& WithRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig&& value) { SetRelationalDatabaseConfig(std::move(value)); return *this;}
453 
454  private:
455 
456  Aws::String m_apiId;
457  bool m_apiIdHasBeenSet;
458 
459  Aws::String m_name;
460  bool m_nameHasBeenSet;
461 
462  Aws::String m_description;
463  bool m_descriptionHasBeenSet;
464 
465  DataSourceType m_type;
466  bool m_typeHasBeenSet;
467 
468  Aws::String m_serviceRoleArn;
469  bool m_serviceRoleArnHasBeenSet;
470 
471  DynamodbDataSourceConfig m_dynamodbConfig;
472  bool m_dynamodbConfigHasBeenSet;
473 
474  LambdaDataSourceConfig m_lambdaConfig;
475  bool m_lambdaConfigHasBeenSet;
476 
477  ElasticsearchDataSourceConfig m_elasticsearchConfig;
478  bool m_elasticsearchConfigHasBeenSet;
479 
480  OpenSearchServiceDataSourceConfig m_openSearchServiceConfig;
481  bool m_openSearchServiceConfigHasBeenSet;
482 
483  HttpDataSourceConfig m_httpConfig;
484  bool m_httpConfigHasBeenSet;
485 
486  RelationalDatabaseDataSourceConfig m_relationalDatabaseConfig;
487  bool m_relationalDatabaseConfigHasBeenSet;
488  };
489 
490 } // namespace Model
491 } // namespace AppSync
492 } // namespace Aws
RelationalDatabaseDataSourceConfig.h
Aws::AppSync::Model::CreateDataSourceRequest::GetLambdaConfig
const LambdaDataSourceConfig & GetLambdaConfig() const
Definition: CreateDataSourceRequest.h:279
Aws::AppSync::Model::CreateDataSourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppSync::Model::CreateDataSourceRequest::GetServiceRoleArn
const Aws::String & GetServiceRoleArn() const
Definition: CreateDataSourceRequest.h:200
HttpDataSourceConfig.h
Aws::AppSync::Model::CreateDataSourceRequest::WithOpenSearchServiceConfig
CreateDataSourceRequest & WithOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:390
Aws::AppSync::Model::CreateDataSourceRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDataSourceRequest.h:137
Aws::AppSync::Model::CreateDataSourceRequest::DynamodbConfigHasBeenSet
bool DynamodbConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:253
Aws::AppSync::AppSyncRequest
Definition: AppSyncRequest.h:17
Aws::AppSync::Model::CreateDataSourceRequest::WithApiId
CreateDataSourceRequest & WithApiId(const Aws::String &value)
Definition: CreateDataSourceRequest.h:70
ElasticsearchDataSourceConfig.h
Aws::AppSync::Model::CreateDataSourceRequest::CreateDataSourceRequest
CreateDataSourceRequest()
Aws::AppSync::Model::CreateDataSourceRequest::SetHttpConfig
void SetHttpConfig(const HttpDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:406
Aws::AppSync::Model::CreateDataSourceRequest::WithHttpConfig
CreateDataSourceRequest & WithHttpConfig(HttpDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:421
Aws::AppSync::Model::CreateDataSourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDataSourceRequest.h:37
Aws::AppSync::Model::CreateDataSourceRequest::GetDynamodbConfig
const DynamodbDataSourceConfig & GetDynamodbConfig() const
Definition: CreateDataSourceRequest.h:248
Aws::AppSync::Model::CreateDataSourceRequest::GetRelationalDatabaseConfig
const RelationalDatabaseDataSourceConfig & GetRelationalDatabaseConfig() const
Definition: CreateDataSourceRequest.h:427
Aws::AppSync::Model::CreateDataSourceRequest::SetElasticsearchConfig
void SetElasticsearchConfig(ElasticsearchDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:341
Aws::AppSync::Model::CreateDataSourceRequest::WithName
CreateDataSourceRequest & WithName(const char *value)
Definition: CreateDataSourceRequest.h:121
Aws::AppSync::Model::HttpDataSourceConfig
Definition: HttpDataSourceConfig.h:33
Aws::AppSync::Model::CreateDataSourceRequest::SetDynamodbConfig
void SetDynamodbConfig(DynamodbDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:263
Aws::AppSync::Model::CreateDataSourceRequest::ApiIdHasBeenSet
bool ApiIdHasBeenSet() const
Definition: CreateDataSourceRequest.h:50
Aws::AppSync::Model::CreateDataSourceRequest::WithElasticsearchConfig
CreateDataSourceRequest & WithElasticsearchConfig(const ElasticsearchDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:350
Aws::AppSync::Model::CreateDataSourceRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDataSourceRequest.h:147
AppSync_EXPORTS.h
Aws::AppSync::Model::CreateDataSourceRequest::WithName
CreateDataSourceRequest & WithName(const Aws::String &value)
Definition: CreateDataSourceRequest.h:111
Aws::AppSync::Model::CreateDataSourceRequest::WithOpenSearchServiceConfig
CreateDataSourceRequest & WithOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:385
Aws::AppSync::Model::CreateDataSourceRequest::ElasticsearchConfigHasBeenSet
bool ElasticsearchConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:323
Aws::AppSync::Model::CreateDataSourceRequest::HttpConfigHasBeenSet
bool HttpConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:401
Aws::AppSync::Model::CreateDataSourceRequest::SetServiceRoleArn
void SetServiceRoleArn(const char *value)
Definition: CreateDataSourceRequest.h:224
Aws::AppSync::Model::CreateDataSourceRequest::SetName
void SetName(const char *value)
Definition: CreateDataSourceRequest.h:106
DynamodbDataSourceConfig.h
Aws::AppSync::Model::CreateDataSourceRequest::SetRelationalDatabaseConfig
void SetRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:442
Aws::AppSync::Model::CreateDataSourceRequest::GetType
const DataSourceType & GetType() const
Definition: CreateDataSourceRequest.h:168
Aws::AppSync::Model::CreateDataSourceRequest::SetApiId
void SetApiId(Aws::String &&value)
Definition: CreateDataSourceRequest.h:60
Aws::AppSync::Model::CreateDataSourceRequest::ServiceRoleArnHasBeenSet
bool ServiceRoleArnHasBeenSet() const
Definition: CreateDataSourceRequest.h:206
Aws::AppSync::Model::CreateDataSourceRequest::WithHttpConfig
CreateDataSourceRequest & WithHttpConfig(const HttpDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:416
Aws::AppSync::Model::CreateDataSourceRequest::LambdaConfigHasBeenSet
bool LambdaConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:284
Aws::AppSync::Model::CreateDataSourceRequest::SetHttpConfig
void SetHttpConfig(HttpDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:411
Aws::AppSync::Model::CreateDataSourceRequest::SetOpenSearchServiceConfig
void SetOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:380
Aws::AppSync::Model::CreateDataSourceRequest::WithServiceRoleArn
CreateDataSourceRequest & WithServiceRoleArn(const char *value)
Definition: CreateDataSourceRequest.h:242
Aws::AppSync::Model::CreateDataSourceRequest::SetServiceRoleArn
void SetServiceRoleArn(Aws::String &&value)
Definition: CreateDataSourceRequest.h:218
Aws::AppSync::Model::CreateDataSourceRequest::WithApiId
CreateDataSourceRequest & WithApiId(Aws::String &&value)
Definition: CreateDataSourceRequest.h:75
Aws::AppSync::Model::CreateDataSourceRequest::SetRelationalDatabaseConfig
void SetRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:437
Aws::AppSync::Model::CreateDataSourceRequest::WithDynamodbConfig
CreateDataSourceRequest & WithDynamodbConfig(const DynamodbDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:268
Aws::AppSync::Model::CreateDataSourceRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateDataSourceRequest.h:91
Aws::AppSync::Model::CreateDataSourceRequest::WithRelationalDatabaseConfig
CreateDataSourceRequest & WithRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:447
Aws::AppSync::Model::CreateDataSourceRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDataSourceRequest.h:127
Aws::AppSync::Model::CreateDataSourceRequest::SetDynamodbConfig
void SetDynamodbConfig(const DynamodbDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:258
Aws::AppSync::Model::ElasticsearchDataSourceConfig
Definition: ElasticsearchDataSourceConfig.h:36
Aws::AppSync::Model::CreateDataSourceRequest::RelationalDatabaseConfigHasBeenSet
bool RelationalDatabaseConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:432
LambdaDataSourceConfig.h
Aws::AppSync::Model::CreateDataSourceRequest::WithDynamodbConfig
CreateDataSourceRequest & WithDynamodbConfig(DynamodbDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:273
Aws::AppSync::Model::DynamodbDataSourceConfig
Definition: DynamodbDataSourceConfig.h:34
AWSString.h
Aws::AppSync::Model::CreateDataSourceRequest::WithServiceRoleArn
CreateDataSourceRequest & WithServiceRoleArn(const Aws::String &value)
Definition: CreateDataSourceRequest.h:230
Aws::AppSync::Model::CreateDataSourceRequest::WithLambdaConfig
CreateDataSourceRequest & WithLambdaConfig(LambdaDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:304
Aws::AppSync::Model::CreateDataSourceRequest::SetLambdaConfig
void SetLambdaConfig(LambdaDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:294
Aws::AppSync::Model::CreateDataSourceRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDataSourceRequest.h:132
Aws::AppSync::Model::CreateDataSourceRequest::GetOpenSearchServiceConfig
const OpenSearchServiceDataSourceConfig & GetOpenSearchServiceConfig() const
Definition: CreateDataSourceRequest.h:365
Aws::AppSync::Model::CreateDataSourceRequest
Definition: CreateDataSourceRequest.h:29
Aws::AppSync::Model::CreateDataSourceRequest::WithDescription
CreateDataSourceRequest & WithDescription(const char *value)
Definition: CreateDataSourceRequest.h:162
Aws::AppSync::Model::CreateDataSourceRequest::SetType
void SetType(const DataSourceType &value)
Definition: CreateDataSourceRequest.h:178
Aws::AppSync::Model::CreateDataSourceRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDataSourceRequest.h:142
Aws::AppSync::Model::CreateDataSourceRequest::SetElasticsearchConfig
void SetElasticsearchConfig(const ElasticsearchDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:332
Aws::AppSync::Model::CreateDataSourceRequest::SetOpenSearchServiceConfig
void SetOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:375
Aws::AppSync::Model::CreateDataSourceRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateDataSourceRequest.h:101
Aws::AppSync::Model::CreateDataSourceRequest::WithElasticsearchConfig
CreateDataSourceRequest & WithElasticsearchConfig(ElasticsearchDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:359
Aws::AppSync::Model::CreateDataSourceRequest::WithDescription
CreateDataSourceRequest & WithDescription(Aws::String &&value)
Definition: CreateDataSourceRequest.h:157
AppSyncRequest.h
Aws::AppSync::Model::CreateDataSourceRequest::GetElasticsearchConfig
const ElasticsearchDataSourceConfig & GetElasticsearchConfig() const
Definition: CreateDataSourceRequest.h:314
Aws::AppSync::Model::CreateDataSourceRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CreateDataSourceRequest.h:173
Aws::AppSync::Model::CreateDataSourceRequest::GetHttpConfig
const HttpDataSourceConfig & GetHttpConfig() const
Definition: CreateDataSourceRequest.h:396
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::CreateDataSourceRequest::SetServiceRoleArn
void SetServiceRoleArn(const Aws::String &value)
Definition: CreateDataSourceRequest.h:212
Aws::AppSync::Model::CreateDataSourceRequest::SetLambdaConfig
void SetLambdaConfig(const LambdaDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:289
Aws::AppSync::Model::CreateDataSourceRequest::WithRelationalDatabaseConfig
CreateDataSourceRequest & WithRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig &&value)
Definition: CreateDataSourceRequest.h:452
Aws::AppSync::Model::CreateDataSourceRequest::WithApiId
CreateDataSourceRequest & WithApiId(const char *value)
Definition: CreateDataSourceRequest.h:80
Aws::AppSync::Model::CreateDataSourceRequest::SetApiId
void SetApiId(const Aws::String &value)
Definition: CreateDataSourceRequest.h:55
Aws::AppSync::Model::CreateDataSourceRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateDataSourceRequest.h:96
OpenSearchServiceDataSourceConfig.h
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::CreateDataSourceRequest::WithLambdaConfig
CreateDataSourceRequest & WithLambdaConfig(const LambdaDataSourceConfig &value)
Definition: CreateDataSourceRequest.h:299
Aws::AppSync::Model::CreateDataSourceRequest::SetApiId
void SetApiId(const char *value)
Definition: CreateDataSourceRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::CreateDataSourceRequest::GetApiId
const Aws::String & GetApiId() const
Definition: CreateDataSourceRequest.h:45
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig
Definition: OpenSearchServiceDataSourceConfig.h:33
Aws::AppSync::Model::CreateDataSourceRequest::WithName
CreateDataSourceRequest & WithName(Aws::String &&value)
Definition: CreateDataSourceRequest.h:116
Aws::AppSync::Model::CreateDataSourceRequest::OpenSearchServiceConfigHasBeenSet
bool OpenSearchServiceConfigHasBeenSet() const
Definition: CreateDataSourceRequest.h:370
DataSourceType.h
Aws::AppSync::Model::CreateDataSourceRequest::WithType
CreateDataSourceRequest & WithType(const DataSourceType &value)
Definition: CreateDataSourceRequest.h:188
Aws::AppSync::Model::RelationalDatabaseDataSourceConfig
Definition: RelationalDatabaseDataSourceConfig.h:34
Aws::AppSync::Model::CreateDataSourceRequest::SetType
void SetType(DataSourceType &&value)
Definition: CreateDataSourceRequest.h:183
Aws::AppSync::Model::CreateDataSourceRequest::WithType
CreateDataSourceRequest & WithType(DataSourceType &&value)
Definition: CreateDataSourceRequest.h:193
Aws::AppSync::Model::DataSourceType
DataSourceType
Definition: DataSourceType.h:17
Aws::AppSync::Model::CreateDataSourceRequest::WithServiceRoleArn
CreateDataSourceRequest & WithServiceRoleArn(Aws::String &&value)
Definition: CreateDataSourceRequest.h:236
Aws::AppSync::Model::LambdaDataSourceConfig
Definition: LambdaDataSourceConfig.h:33
Aws::AppSync::Model::CreateDataSourceRequest::WithDescription
CreateDataSourceRequest & WithDescription(const Aws::String &value)
Definition: CreateDataSourceRequest.h:152
Aws::AppSync::Model::CreateDataSourceRequest::GetName
const Aws::String & GetName() const
Definition: CreateDataSourceRequest.h:86