AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppSync::Model::DataSource Class Reference

#include <DataSource.h>

Public Member Functions

 DataSource ()
 
 DataSource (Aws::Utils::Json::JsonView jsonValue)
 
DataSourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetDataSourceArn () const
 
bool DataSourceArnHasBeenSet () const
 
void SetDataSourceArn (const Aws::String &value)
 
void SetDataSourceArn (Aws::String &&value)
 
void SetDataSourceArn (const char *value)
 
DataSourceWithDataSourceArn (const Aws::String &value)
 
DataSourceWithDataSourceArn (Aws::String &&value)
 
DataSourceWithDataSourceArn (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
DataSourceWithName (const Aws::String &value)
 
DataSourceWithName (Aws::String &&value)
 
DataSourceWithName (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
DataSourceWithDescription (const Aws::String &value)
 
DataSourceWithDescription (Aws::String &&value)
 
DataSourceWithDescription (const char *value)
 
const DataSourceTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const DataSourceType &value)
 
void SetType (DataSourceType &&value)
 
DataSourceWithType (const DataSourceType &value)
 
DataSourceWithType (DataSourceType &&value)
 
const Aws::StringGetServiceRoleArn () const
 
bool ServiceRoleArnHasBeenSet () const
 
void SetServiceRoleArn (const Aws::String &value)
 
void SetServiceRoleArn (Aws::String &&value)
 
void SetServiceRoleArn (const char *value)
 
DataSourceWithServiceRoleArn (const Aws::String &value)
 
DataSourceWithServiceRoleArn (Aws::String &&value)
 
DataSourceWithServiceRoleArn (const char *value)
 
const DynamodbDataSourceConfigGetDynamodbConfig () const
 
bool DynamodbConfigHasBeenSet () const
 
void SetDynamodbConfig (const DynamodbDataSourceConfig &value)
 
void SetDynamodbConfig (DynamodbDataSourceConfig &&value)
 
DataSourceWithDynamodbConfig (const DynamodbDataSourceConfig &value)
 
DataSourceWithDynamodbConfig (DynamodbDataSourceConfig &&value)
 
const LambdaDataSourceConfigGetLambdaConfig () const
 
bool LambdaConfigHasBeenSet () const
 
void SetLambdaConfig (const LambdaDataSourceConfig &value)
 
void SetLambdaConfig (LambdaDataSourceConfig &&value)
 
DataSourceWithLambdaConfig (const LambdaDataSourceConfig &value)
 
DataSourceWithLambdaConfig (LambdaDataSourceConfig &&value)
 
const ElasticsearchDataSourceConfigGetElasticsearchConfig () const
 
bool ElasticsearchConfigHasBeenSet () const
 
void SetElasticsearchConfig (const ElasticsearchDataSourceConfig &value)
 
void SetElasticsearchConfig (ElasticsearchDataSourceConfig &&value)
 
DataSourceWithElasticsearchConfig (const ElasticsearchDataSourceConfig &value)
 
DataSourceWithElasticsearchConfig (ElasticsearchDataSourceConfig &&value)
 
const HttpDataSourceConfigGetHttpConfig () const
 
bool HttpConfigHasBeenSet () const
 
void SetHttpConfig (const HttpDataSourceConfig &value)
 
void SetHttpConfig (HttpDataSourceConfig &&value)
 
DataSourceWithHttpConfig (const HttpDataSourceConfig &value)
 
DataSourceWithHttpConfig (HttpDataSourceConfig &&value)
 
const RelationalDatabaseDataSourceConfigGetRelationalDatabaseConfig () const
 
bool RelationalDatabaseConfigHasBeenSet () const
 
void SetRelationalDatabaseConfig (const RelationalDatabaseDataSourceConfig &value)
 
void SetRelationalDatabaseConfig (RelationalDatabaseDataSourceConfig &&value)
 
DataSourceWithRelationalDatabaseConfig (const RelationalDatabaseDataSourceConfig &value)
 
DataSourceWithRelationalDatabaseConfig (RelationalDatabaseDataSourceConfig &&value)
 

Detailed Description

Describes a data source.

See Also:

AWS API Reference

Definition at line 37 of file DataSource.h.

Constructor & Destructor Documentation

◆ DataSource() [1/2]

Aws::AppSync::Model::DataSource::DataSource ( )

◆ DataSource() [2/2]

Aws::AppSync::Model::DataSource::DataSource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ DataSourceArnHasBeenSet()

bool Aws::AppSync::Model::DataSource::DataSourceArnHasBeenSet ( ) const
inline

The data source ARN.

Definition at line 54 of file DataSource.h.

◆ DescriptionHasBeenSet()

bool Aws::AppSync::Model::DataSource::DescriptionHasBeenSet ( ) const
inline

The description of the data source.

Definition at line 136 of file DataSource.h.

◆ DynamodbConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::DynamodbConfigHasBeenSet ( ) const
inline

Amazon DynamoDB settings.

Definition at line 311 of file DataSource.h.

◆ ElasticsearchConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::ElasticsearchConfigHasBeenSet ( ) const
inline

Amazon Elasticsearch Service settings.

Definition at line 373 of file DataSource.h.

◆ GetDataSourceArn()

const Aws::String& Aws::AppSync::Model::DataSource::GetDataSourceArn ( ) const
inline

The data source ARN.

Definition at line 49 of file DataSource.h.

◆ GetDescription()

const Aws::String& Aws::AppSync::Model::DataSource::GetDescription ( ) const
inline

The description of the data source.

Definition at line 131 of file DataSource.h.

◆ GetDynamodbConfig()

const DynamodbDataSourceConfig& Aws::AppSync::Model::DataSource::GetDynamodbConfig ( ) const
inline

Amazon DynamoDB settings.

Definition at line 306 of file DataSource.h.

◆ GetElasticsearchConfig()

const ElasticsearchDataSourceConfig& Aws::AppSync::Model::DataSource::GetElasticsearchConfig ( ) const
inline

Amazon Elasticsearch Service settings.

Definition at line 368 of file DataSource.h.

◆ GetHttpConfig()

const HttpDataSourceConfig& Aws::AppSync::Model::DataSource::GetHttpConfig ( ) const
inline

HTTP endpoint settings.

Definition at line 399 of file DataSource.h.

◆ GetLambdaConfig()

const LambdaDataSourceConfig& Aws::AppSync::Model::DataSource::GetLambdaConfig ( ) const
inline

AWS Lambda settings.

Definition at line 337 of file DataSource.h.

◆ GetName()

const Aws::String& Aws::AppSync::Model::DataSource::GetName ( ) const
inline

The name of the data source.

Definition at line 90 of file DataSource.h.

◆ GetRelationalDatabaseConfig()

const RelationalDatabaseDataSourceConfig& Aws::AppSync::Model::DataSource::GetRelationalDatabaseConfig ( ) const
inline

Relational database settings.

Definition at line 430 of file DataSource.h.

◆ GetServiceRoleArn()

const Aws::String& Aws::AppSync::Model::DataSource::GetServiceRoleArn ( ) const
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 258 of file DataSource.h.

◆ GetType()

const DataSourceType& Aws::AppSync::Model::DataSource::GetType ( ) const
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 181 of file DataSource.h.

◆ HttpConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::HttpConfigHasBeenSet ( ) const
inline

HTTP endpoint settings.

Definition at line 404 of file DataSource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppSync::Model::DataSource::Jsonize ( ) const

◆ LambdaConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::LambdaConfigHasBeenSet ( ) const
inline

AWS Lambda settings.

Definition at line 342 of file DataSource.h.

◆ NameHasBeenSet()

bool Aws::AppSync::Model::DataSource::NameHasBeenSet ( ) const
inline

The name of the data source.

Definition at line 95 of file DataSource.h.

◆ operator=()

DataSource& Aws::AppSync::Model::DataSource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RelationalDatabaseConfigHasBeenSet()

bool Aws::AppSync::Model::DataSource::RelationalDatabaseConfigHasBeenSet ( ) const
inline

Relational database settings.

Definition at line 435 of file DataSource.h.

◆ ServiceRoleArnHasBeenSet()

bool Aws::AppSync::Model::DataSource::ServiceRoleArnHasBeenSet ( ) const
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 264 of file DataSource.h.

◆ SetDataSourceArn() [1/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( const Aws::String value)
inline

The data source ARN.

Definition at line 59 of file DataSource.h.

◆ SetDataSourceArn() [2/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( Aws::String &&  value)
inline

The data source ARN.

Definition at line 64 of file DataSource.h.

◆ SetDataSourceArn() [3/3]

void Aws::AppSync::Model::DataSource::SetDataSourceArn ( const char *  value)
inline

The data source ARN.

Definition at line 69 of file DataSource.h.

◆ SetDescription() [1/3]

void Aws::AppSync::Model::DataSource::SetDescription ( const Aws::String value)
inline

The description of the data source.

Definition at line 141 of file DataSource.h.

◆ SetDescription() [2/3]

void Aws::AppSync::Model::DataSource::SetDescription ( Aws::String &&  value)
inline

The description of the data source.

Definition at line 146 of file DataSource.h.

◆ SetDescription() [3/3]

void Aws::AppSync::Model::DataSource::SetDescription ( const char *  value)
inline

The description of the data source.

Definition at line 151 of file DataSource.h.

◆ SetDynamodbConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetDynamodbConfig ( const DynamodbDataSourceConfig value)
inline

Amazon DynamoDB settings.

Definition at line 316 of file DataSource.h.

◆ SetDynamodbConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetDynamodbConfig ( DynamodbDataSourceConfig &&  value)
inline

Amazon DynamoDB settings.

Definition at line 321 of file DataSource.h.

◆ SetElasticsearchConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetElasticsearchConfig ( const ElasticsearchDataSourceConfig value)
inline

Amazon Elasticsearch Service settings.

Definition at line 378 of file DataSource.h.

◆ SetElasticsearchConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetElasticsearchConfig ( ElasticsearchDataSourceConfig &&  value)
inline

Amazon Elasticsearch Service settings.

Definition at line 383 of file DataSource.h.

◆ SetHttpConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetHttpConfig ( const HttpDataSourceConfig value)
inline

HTTP endpoint settings.

Definition at line 409 of file DataSource.h.

◆ SetHttpConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetHttpConfig ( HttpDataSourceConfig &&  value)
inline

HTTP endpoint settings.

Definition at line 414 of file DataSource.h.

◆ SetLambdaConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetLambdaConfig ( const LambdaDataSourceConfig value)
inline

AWS Lambda settings.

Definition at line 347 of file DataSource.h.

◆ SetLambdaConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetLambdaConfig ( LambdaDataSourceConfig &&  value)
inline

AWS Lambda settings.

Definition at line 352 of file DataSource.h.

◆ SetName() [1/3]

void Aws::AppSync::Model::DataSource::SetName ( const Aws::String value)
inline

The name of the data source.

Definition at line 100 of file DataSource.h.

◆ SetName() [2/3]

void Aws::AppSync::Model::DataSource::SetName ( Aws::String &&  value)
inline

The name of the data source.

Definition at line 105 of file DataSource.h.

◆ SetName() [3/3]

void Aws::AppSync::Model::DataSource::SetName ( const char *  value)
inline

The name of the data source.

Definition at line 110 of file DataSource.h.

◆ SetRelationalDatabaseConfig() [1/2]

void Aws::AppSync::Model::DataSource::SetRelationalDatabaseConfig ( const RelationalDatabaseDataSourceConfig value)
inline

Relational database settings.

Definition at line 440 of file DataSource.h.

◆ SetRelationalDatabaseConfig() [2/2]

void Aws::AppSync::Model::DataSource::SetRelationalDatabaseConfig ( RelationalDatabaseDataSourceConfig &&  value)
inline

Relational database settings.

Definition at line 445 of file DataSource.h.

◆ SetServiceRoleArn() [1/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( const Aws::String value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 270 of file DataSource.h.

◆ SetServiceRoleArn() [2/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( Aws::String &&  value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 276 of file DataSource.h.

◆ SetServiceRoleArn() [3/3]

void Aws::AppSync::Model::DataSource::SetServiceRoleArn ( const char *  value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 282 of file DataSource.h.

◆ SetType() [1/2]

void Aws::AppSync::Model::DataSource::SetType ( const DataSourceType value)
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 209 of file DataSource.h.

◆ SetType() [2/2]

void Aws::AppSync::Model::DataSource::SetType ( DataSourceType &&  value)
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 223 of file DataSource.h.

◆ TypeHasBeenSet()

bool Aws::AppSync::Model::DataSource::TypeHasBeenSet ( ) const
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 195 of file DataSource.h.

◆ WithDataSourceArn() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( const Aws::String value)
inline

The data source ARN.

Definition at line 74 of file DataSource.h.

◆ WithDataSourceArn() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( Aws::String &&  value)
inline

The data source ARN.

Definition at line 79 of file DataSource.h.

◆ WithDataSourceArn() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithDataSourceArn ( const char *  value)
inline

The data source ARN.

Definition at line 84 of file DataSource.h.

◆ WithDescription() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( const Aws::String value)
inline

The description of the data source.

Definition at line 156 of file DataSource.h.

◆ WithDescription() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( Aws::String &&  value)
inline

The description of the data source.

Definition at line 161 of file DataSource.h.

◆ WithDescription() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithDescription ( const char *  value)
inline

The description of the data source.

Definition at line 166 of file DataSource.h.

◆ WithDynamodbConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithDynamodbConfig ( const DynamodbDataSourceConfig value)
inline

Amazon DynamoDB settings.

Definition at line 326 of file DataSource.h.

◆ WithDynamodbConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithDynamodbConfig ( DynamodbDataSourceConfig &&  value)
inline

Amazon DynamoDB settings.

Definition at line 331 of file DataSource.h.

◆ WithElasticsearchConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithElasticsearchConfig ( const ElasticsearchDataSourceConfig value)
inline

Amazon Elasticsearch Service settings.

Definition at line 388 of file DataSource.h.

◆ WithElasticsearchConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithElasticsearchConfig ( ElasticsearchDataSourceConfig &&  value)
inline

Amazon Elasticsearch Service settings.

Definition at line 393 of file DataSource.h.

◆ WithHttpConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithHttpConfig ( const HttpDataSourceConfig value)
inline

HTTP endpoint settings.

Definition at line 419 of file DataSource.h.

◆ WithHttpConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithHttpConfig ( HttpDataSourceConfig &&  value)
inline

HTTP endpoint settings.

Definition at line 424 of file DataSource.h.

◆ WithLambdaConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithLambdaConfig ( const LambdaDataSourceConfig value)
inline

AWS Lambda settings.

Definition at line 357 of file DataSource.h.

◆ WithLambdaConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithLambdaConfig ( LambdaDataSourceConfig &&  value)
inline

AWS Lambda settings.

Definition at line 362 of file DataSource.h.

◆ WithName() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( const Aws::String value)
inline

The name of the data source.

Definition at line 115 of file DataSource.h.

◆ WithName() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( Aws::String &&  value)
inline

The name of the data source.

Definition at line 120 of file DataSource.h.

◆ WithName() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithName ( const char *  value)
inline

The name of the data source.

Definition at line 125 of file DataSource.h.

◆ WithRelationalDatabaseConfig() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithRelationalDatabaseConfig ( const RelationalDatabaseDataSourceConfig value)
inline

Relational database settings.

Definition at line 450 of file DataSource.h.

◆ WithRelationalDatabaseConfig() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithRelationalDatabaseConfig ( RelationalDatabaseDataSourceConfig &&  value)
inline

Relational database settings.

Definition at line 455 of file DataSource.h.

◆ WithServiceRoleArn() [1/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( const Aws::String value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 288 of file DataSource.h.

◆ WithServiceRoleArn() [2/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( Aws::String &&  value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 294 of file DataSource.h.

◆ WithServiceRoleArn() [3/3]

DataSource& Aws::AppSync::Model::DataSource::WithServiceRoleArn ( const char *  value)
inline

The AWS IAM service role ARN for the data source. The system assumes this role when accessing the data source.

Definition at line 300 of file DataSource.h.

◆ WithType() [1/2]

DataSource& Aws::AppSync::Model::DataSource::WithType ( const DataSourceType value)
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 237 of file DataSource.h.

◆ WithType() [2/2]

DataSource& Aws::AppSync::Model::DataSource::WithType ( DataSourceType &&  value)
inline

The type of the data source.

  • AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.

  • AMAZON_ELASTICSEARCH: The data source is an Amazon Elasticsearch Service domain.

  • AWS_LAMBDA: The data source is an AWS Lambda function.

  • NONE: There is no data source. This type is used when you wish to invoke a GraphQL operation without connecting to a data source, such as performing data transformation with resolvers or triggering a subscription to be invoked from a mutation.

  • HTTP: The data source is an HTTP endpoint.

  • RELATIONAL_DATABASE: The data source is a relational database.

Definition at line 251 of file DataSource.h.


The documentation for this class was generated from the following file: