7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/DataSourceType.h>
11#include <aws/appsync/model/DynamodbDataSourceConfig.h>
12#include <aws/appsync/model/LambdaDataSourceConfig.h>
13#include <aws/appsync/model/ElasticsearchDataSourceConfig.h>
14#include <aws/appsync/model/OpenSearchServiceDataSourceConfig.h>
15#include <aws/appsync/model/HttpDataSourceConfig.h>
16#include <aws/appsync/model/RelationalDatabaseDataSourceConfig.h>
17#include <aws/appsync/model/EventBridgeDataSourceConfig.h>
18#include <aws/appsync/model/DataSourceLevelMetricsConfig.h>
52 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
106 inline void SetServiceRoleArn(
const char* value) { m_serviceRoleArnHasBeenSet =
true; m_serviceRoleArn.assign(value); }
221 bool m_apiIdHasBeenSet =
false;
224 bool m_nameHasBeenSet =
false;
227 bool m_descriptionHasBeenSet =
false;
230 bool m_typeHasBeenSet =
false;
233 bool m_serviceRoleArnHasBeenSet =
false;
236 bool m_dynamodbConfigHasBeenSet =
false;
239 bool m_lambdaConfigHasBeenSet =
false;
242 bool m_elasticsearchConfigHasBeenSet =
false;
245 bool m_openSearchServiceConfigHasBeenSet =
false;
248 bool m_httpConfigHasBeenSet =
false;
251 bool m_relationalDatabaseConfigHasBeenSet =
false;
254 bool m_eventBridgeConfigHasBeenSet =
false;
257 bool m_metricsConfigHasBeenSet =
false;
const Aws::String & GetDescription() const
UpdateDataSourceRequest & WithApiId(Aws::String &&value)
void SetLambdaConfig(const LambdaDataSourceConfig &value)
void SetDescription(const char *value)
bool RelationalDatabaseConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
UpdateDataSourceRequest & WithName(const Aws::String &value)
void SetLambdaConfig(LambdaDataSourceConfig &&value)
void SetType(DataSourceType &&value)
const DataSourceLevelMetricsConfig & GetMetricsConfig() const
void SetMetricsConfig(DataSourceLevelMetricsConfig &&value)
void SetApiId(Aws::String &&value)
const Aws::String & GetApiId() const
const OpenSearchServiceDataSourceConfig & GetOpenSearchServiceConfig() const
UpdateDataSourceRequest & WithServiceRoleArn(const Aws::String &value)
UpdateDataSourceRequest & WithRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig &value)
UpdateDataSourceRequest & WithServiceRoleArn(const char *value)
UpdateDataSourceRequest & WithDynamodbConfig(const DynamodbDataSourceConfig &value)
UpdateDataSourceRequest & WithApiId(const char *value)
bool MetricsConfigHasBeenSet() const
void SetRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig &&value)
virtual const char * GetServiceRequestName() const override
bool ElasticsearchConfigHasBeenSet() const
const HttpDataSourceConfig & GetHttpConfig() const
UpdateDataSourceRequest & WithLambdaConfig(LambdaDataSourceConfig &&value)
void SetOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig &value)
UpdateDataSourceRequest & WithElasticsearchConfig(const ElasticsearchDataSourceConfig &value)
UpdateDataSourceRequest & WithElasticsearchConfig(ElasticsearchDataSourceConfig &&value)
UpdateDataSourceRequest & WithRelationalDatabaseConfig(RelationalDatabaseDataSourceConfig &&value)
UpdateDataSourceRequest & WithType(DataSourceType &&value)
UpdateDataSourceRequest & WithServiceRoleArn(Aws::String &&value)
void SetRelationalDatabaseConfig(const RelationalDatabaseDataSourceConfig &value)
UpdateDataSourceRequest & WithEventBridgeConfig(const EventBridgeDataSourceConfig &value)
const DataSourceType & GetType() const
bool EventBridgeConfigHasBeenSet() const
UpdateDataSourceRequest & WithType(const DataSourceType &value)
void SetDescription(Aws::String &&value)
AWS_APPSYNC_API UpdateDataSourceRequest()
UpdateDataSourceRequest & WithOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig &&value)
const Aws::String & GetName() const
void SetElasticsearchConfig(const ElasticsearchDataSourceConfig &value)
const ElasticsearchDataSourceConfig & GetElasticsearchConfig() const
UpdateDataSourceRequest & WithDynamodbConfig(DynamodbDataSourceConfig &&value)
void SetMetricsConfig(const DataSourceLevelMetricsConfig &value)
UpdateDataSourceRequest & WithMetricsConfig(DataSourceLevelMetricsConfig &&value)
UpdateDataSourceRequest & WithOpenSearchServiceConfig(const OpenSearchServiceDataSourceConfig &value)
UpdateDataSourceRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetHttpConfig(const HttpDataSourceConfig &value)
UpdateDataSourceRequest & WithApiId(const Aws::String &value)
void SetType(const DataSourceType &value)
UpdateDataSourceRequest & WithDescription(const Aws::String &value)
const RelationalDatabaseDataSourceConfig & GetRelationalDatabaseConfig() const
UpdateDataSourceRequest & WithMetricsConfig(const DataSourceLevelMetricsConfig &value)
void SetName(const Aws::String &value)
UpdateDataSourceRequest & WithDescription(Aws::String &&value)
void SetServiceRoleArn(const char *value)
void SetEventBridgeConfig(EventBridgeDataSourceConfig &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
const Aws::String & GetServiceRoleArn() const
void SetElasticsearchConfig(ElasticsearchDataSourceConfig &&value)
bool LambdaConfigHasBeenSet() const
bool OpenSearchServiceConfigHasBeenSet() const
void SetDynamodbConfig(DynamodbDataSourceConfig &&value)
const EventBridgeDataSourceConfig & GetEventBridgeConfig() const
void SetServiceRoleArn(const Aws::String &value)
const DynamodbDataSourceConfig & GetDynamodbConfig() const
bool DynamodbConfigHasBeenSet() const
bool HttpConfigHasBeenSet() const
bool ApiIdHasBeenSet() const
UpdateDataSourceRequest & WithName(const char *value)
bool TypeHasBeenSet() const
void SetApiId(const char *value)
UpdateDataSourceRequest & WithHttpConfig(const HttpDataSourceConfig &value)
void SetServiceRoleArn(Aws::String &&value)
void SetApiId(const Aws::String &value)
bool NameHasBeenSet() const
UpdateDataSourceRequest & WithDescription(const char *value)
UpdateDataSourceRequest & WithLambdaConfig(const LambdaDataSourceConfig &value)
void SetHttpConfig(HttpDataSourceConfig &&value)
UpdateDataSourceRequest & WithEventBridgeConfig(EventBridgeDataSourceConfig &&value)
void SetOpenSearchServiceConfig(OpenSearchServiceDataSourceConfig &&value)
const LambdaDataSourceConfig & GetLambdaConfig() const
bool ServiceRoleArnHasBeenSet() const
void SetName(const char *value)
void SetDynamodbConfig(const DynamodbDataSourceConfig &value)
void SetEventBridgeConfig(const EventBridgeDataSourceConfig &value)
void SetName(Aws::String &&value)
UpdateDataSourceRequest & WithHttpConfig(HttpDataSourceConfig &&value)
DataSourceLevelMetricsConfig
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String