AWS SDK for C++  1.9.130
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::Neptune::Model::CreateEventSubscriptionRequest Class Reference

#include <CreateEventSubscriptionRequest.h>

+ Inheritance diagram for Aws::Neptune::Model::CreateEventSubscriptionRequest:

Public Member Functions

 CreateEventSubscriptionRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetSubscriptionName () const
 
bool SubscriptionNameHasBeenSet () const
 
void SetSubscriptionName (const Aws::String &value)
 
void SetSubscriptionName (Aws::String &&value)
 
void SetSubscriptionName (const char *value)
 
CreateEventSubscriptionRequestWithSubscriptionName (const Aws::String &value)
 
CreateEventSubscriptionRequestWithSubscriptionName (Aws::String &&value)
 
CreateEventSubscriptionRequestWithSubscriptionName (const char *value)
 
const Aws::StringGetSnsTopicArn () const
 
bool SnsTopicArnHasBeenSet () const
 
void SetSnsTopicArn (const Aws::String &value)
 
void SetSnsTopicArn (Aws::String &&value)
 
void SetSnsTopicArn (const char *value)
 
CreateEventSubscriptionRequestWithSnsTopicArn (const Aws::String &value)
 
CreateEventSubscriptionRequestWithSnsTopicArn (Aws::String &&value)
 
CreateEventSubscriptionRequestWithSnsTopicArn (const char *value)
 
const Aws::StringGetSourceType () const
 
bool SourceTypeHasBeenSet () const
 
void SetSourceType (const Aws::String &value)
 
void SetSourceType (Aws::String &&value)
 
void SetSourceType (const char *value)
 
CreateEventSubscriptionRequestWithSourceType (const Aws::String &value)
 
CreateEventSubscriptionRequestWithSourceType (Aws::String &&value)
 
CreateEventSubscriptionRequestWithSourceType (const char *value)
 
const Aws::Vector< Aws::String > & GetEventCategories () const
 
bool EventCategoriesHasBeenSet () const
 
void SetEventCategories (const Aws::Vector< Aws::String > &value)
 
void SetEventCategories (Aws::Vector< Aws::String > &&value)
 
CreateEventSubscriptionRequestWithEventCategories (const Aws::Vector< Aws::String > &value)
 
CreateEventSubscriptionRequestWithEventCategories (Aws::Vector< Aws::String > &&value)
 
CreateEventSubscriptionRequestAddEventCategories (const Aws::String &value)
 
CreateEventSubscriptionRequestAddEventCategories (Aws::String &&value)
 
CreateEventSubscriptionRequestAddEventCategories (const char *value)
 
const Aws::Vector< Aws::String > & GetSourceIds () const
 
bool SourceIdsHasBeenSet () const
 
void SetSourceIds (const Aws::Vector< Aws::String > &value)
 
void SetSourceIds (Aws::Vector< Aws::String > &&value)
 
CreateEventSubscriptionRequestWithSourceIds (const Aws::Vector< Aws::String > &value)
 
CreateEventSubscriptionRequestWithSourceIds (Aws::Vector< Aws::String > &&value)
 
CreateEventSubscriptionRequestAddSourceIds (const Aws::String &value)
 
CreateEventSubscriptionRequestAddSourceIds (Aws::String &&value)
 
CreateEventSubscriptionRequestAddSourceIds (const char *value)
 
bool GetEnabled () const
 
bool EnabledHasBeenSet () const
 
void SetEnabled (bool value)
 
CreateEventSubscriptionRequestWithEnabled (bool value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateEventSubscriptionRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateEventSubscriptionRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateEventSubscriptionRequestAddTags (const Tag &value)
 
CreateEventSubscriptionRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::Neptune::NeptuneRequest
virtual ~NeptuneRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::Neptune::NeptuneRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 23 of file CreateEventSubscriptionRequest.h.

Constructor & Destructor Documentation

◆ CreateEventSubscriptionRequest()

Aws::Neptune::Model::CreateEventSubscriptionRequest::CreateEventSubscriptionRequest ( )

Member Function Documentation

◆ AddEventCategories() [1/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddEventCategories ( Aws::String &&  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 282 of file CreateEventSubscriptionRequest.h.

◆ AddEventCategories() [2/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddEventCategories ( const Aws::String value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 275 of file CreateEventSubscriptionRequest.h.

◆ AddEventCategories() [3/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddEventCategories ( const char *  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 289 of file CreateEventSubscriptionRequest.h.

◆ AddSourceIds() [1/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddSourceIds ( Aws::String &&  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 418 of file CreateEventSubscriptionRequest.h.

◆ AddSourceIds() [2/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddSourceIds ( const Aws::String value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 402 of file CreateEventSubscriptionRequest.h.

◆ AddSourceIds() [3/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddSourceIds ( const char *  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 434 of file CreateEventSubscriptionRequest.h.

◆ AddTags() [1/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddTags ( const Tag value)
inline

The tags to be applied to the new event subscription.

Definition at line 495 of file CreateEventSubscriptionRequest.h.

◆ AddTags() [2/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::AddTags ( Tag &&  value)
inline

The tags to be applied to the new event subscription.

Definition at line 500 of file CreateEventSubscriptionRequest.h.

◆ DumpBodyToUrl()

void Aws::Neptune::Model::CreateEventSubscriptionRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ EnabledHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::EnabledHasBeenSet ( ) const
inline

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

Definition at line 447 of file CreateEventSubscriptionRequest.h.

◆ EventCategoriesHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::EventCategoriesHasBeenSet ( ) const
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 240 of file CreateEventSubscriptionRequest.h.

◆ GetEnabled()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::GetEnabled ( ) const
inline

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

Definition at line 441 of file CreateEventSubscriptionRequest.h.

◆ GetEventCategories()

const Aws::Vector<Aws::String>& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetEventCategories ( ) const
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 233 of file CreateEventSubscriptionRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Neptune::Model::CreateEventSubscriptionRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file CreateEventSubscriptionRequest.h.

◆ GetSnsTopicArn()

const Aws::String& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetSnsTopicArn ( ) const
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 95 of file CreateEventSubscriptionRequest.h.

◆ GetSourceIds()

const Aws::Vector<Aws::String>& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetSourceIds ( ) const
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 306 of file CreateEventSubscriptionRequest.h.

◆ GetSourceType()

const Aws::String& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetSourceType ( ) const
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 155 of file CreateEventSubscriptionRequest.h.

◆ GetSubscriptionName()

const Aws::String& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetSubscriptionName ( ) const
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 45 of file CreateEventSubscriptionRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Neptune::Model::CreateEventSubscriptionRequest::GetTags ( ) const
inline

The tags to be applied to the new event subscription.

Definition at line 465 of file CreateEventSubscriptionRequest.h.

◆ SerializePayload()

Aws::String Aws::Neptune::Model::CreateEventSubscriptionRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetEnabled()

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetEnabled ( bool  value)
inline

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

Definition at line 453 of file CreateEventSubscriptionRequest.h.

◆ SetEventCategories() [1/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetEventCategories ( Aws::Vector< Aws::String > &&  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 254 of file CreateEventSubscriptionRequest.h.

◆ SetEventCategories() [2/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetEventCategories ( const Aws::Vector< Aws::String > &  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 247 of file CreateEventSubscriptionRequest.h.

◆ SetSnsTopicArn() [1/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSnsTopicArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 116 of file CreateEventSubscriptionRequest.h.

◆ SetSnsTopicArn() [2/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSnsTopicArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 109 of file CreateEventSubscriptionRequest.h.

◆ SetSnsTopicArn() [3/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSnsTopicArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 123 of file CreateEventSubscriptionRequest.h.

◆ SetSourceIds() [1/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSourceIds ( Aws::Vector< Aws::String > &&  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 354 of file CreateEventSubscriptionRequest.h.

◆ SetSourceIds() [2/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSourceIds ( const Aws::Vector< Aws::String > &  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 338 of file CreateEventSubscriptionRequest.h.

◆ SetSourceType() [1/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSourceType ( Aws::String &&  value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 185 of file CreateEventSubscriptionRequest.h.

◆ SetSourceType() [2/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSourceType ( const Aws::String value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 175 of file CreateEventSubscriptionRequest.h.

◆ SetSourceType() [3/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSourceType ( const char *  value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 195 of file CreateEventSubscriptionRequest.h.

◆ SetSubscriptionName() [1/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSubscriptionName ( Aws::String &&  value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 63 of file CreateEventSubscriptionRequest.h.

◆ SetSubscriptionName() [2/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSubscriptionName ( const Aws::String value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 57 of file CreateEventSubscriptionRequest.h.

◆ SetSubscriptionName() [3/3]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetSubscriptionName ( const char *  value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 69 of file CreateEventSubscriptionRequest.h.

◆ SetTags() [1/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tags to be applied to the new event subscription.

Definition at line 480 of file CreateEventSubscriptionRequest.h.

◆ SetTags() [2/2]

void Aws::Neptune::Model::CreateEventSubscriptionRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tags to be applied to the new event subscription.

Definition at line 475 of file CreateEventSubscriptionRequest.h.

◆ SnsTopicArnHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::SnsTopicArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 102 of file CreateEventSubscriptionRequest.h.

◆ SourceIdsHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::SourceIdsHasBeenSet ( ) const
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 322 of file CreateEventSubscriptionRequest.h.

◆ SourceTypeHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::SourceTypeHasBeenSet ( ) const
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 165 of file CreateEventSubscriptionRequest.h.

◆ SubscriptionNameHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::SubscriptionNameHasBeenSet ( ) const
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 51 of file CreateEventSubscriptionRequest.h.

◆ TagsHasBeenSet()

bool Aws::Neptune::Model::CreateEventSubscriptionRequest::TagsHasBeenSet ( ) const
inline

The tags to be applied to the new event subscription.

Definition at line 470 of file CreateEventSubscriptionRequest.h.

◆ WithEnabled()

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithEnabled ( bool  value)
inline

A Boolean value; set to true to activate the subscription, set to false to create the subscription but not active it.

Definition at line 459 of file CreateEventSubscriptionRequest.h.

◆ WithEventCategories() [1/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithEventCategories ( Aws::Vector< Aws::String > &&  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 268 of file CreateEventSubscriptionRequest.h.

◆ WithEventCategories() [2/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithEventCategories ( const Aws::Vector< Aws::String > &  value)
inline

A list of event categories for a SourceType that you want to subscribe to. You can see a list of the categories for a given SourceType by using the DescribeEventCategories action.

Definition at line 261 of file CreateEventSubscriptionRequest.h.

◆ WithSnsTopicArn() [1/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSnsTopicArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 137 of file CreateEventSubscriptionRequest.h.

◆ WithSnsTopicArn() [2/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSnsTopicArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 130 of file CreateEventSubscriptionRequest.h.

◆ WithSnsTopicArn() [3/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSnsTopicArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

Definition at line 144 of file CreateEventSubscriptionRequest.h.

◆ WithSourceIds() [1/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSourceIds ( Aws::Vector< Aws::String > &&  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 386 of file CreateEventSubscriptionRequest.h.

◆ WithSourceIds() [2/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSourceIds ( const Aws::Vector< Aws::String > &  value)
inline

The list of identifiers of the event sources for which events are returned. If not specified, then all sources are included in the response. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Constraints:

  • If SourceIds are supplied, SourceType must also be provided.

  • If the source type is a DB instance, then a DBInstanceIdentifier must be supplied.

  • If the source type is a DB security group, a DBSecurityGroupName must be supplied.

  • If the source type is a DB parameter group, a DBParameterGroupName must be supplied.

  • If the source type is a DB snapshot, a DBSnapshotIdentifier must be supplied.

Definition at line 370 of file CreateEventSubscriptionRequest.h.

◆ WithSourceType() [1/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSourceType ( Aws::String &&  value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 215 of file CreateEventSubscriptionRequest.h.

◆ WithSourceType() [2/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSourceType ( const Aws::String value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 205 of file CreateEventSubscriptionRequest.h.

◆ WithSourceType() [3/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSourceType ( const char *  value)
inline

The type of source that is generating the events. For example, if you want to be notified of events generated by a DB instance, you would set this parameter to db-instance. if this value is not specified, all events are returned.

Valid values: db-instance | db-cluster | db-parameter-group | db-security-group | db-snapshot | db-cluster-snapshot

Definition at line 225 of file CreateEventSubscriptionRequest.h.

◆ WithSubscriptionName() [1/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSubscriptionName ( Aws::String &&  value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 81 of file CreateEventSubscriptionRequest.h.

◆ WithSubscriptionName() [2/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSubscriptionName ( const Aws::String value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 75 of file CreateEventSubscriptionRequest.h.

◆ WithSubscriptionName() [3/3]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithSubscriptionName ( const char *  value)
inline

The name of the subscription.

Constraints: The name must be less than 255 characters.

Definition at line 87 of file CreateEventSubscriptionRequest.h.

◆ WithTags() [1/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tags to be applied to the new event subscription.

Definition at line 490 of file CreateEventSubscriptionRequest.h.

◆ WithTags() [2/2]

CreateEventSubscriptionRequest& Aws::Neptune::Model::CreateEventSubscriptionRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tags to be applied to the new event subscription.

Definition at line 485 of file CreateEventSubscriptionRequest.h.


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