AWS SDK for C++  1.9.109
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::CreateInstanceEventWindowRequest Class Reference

#include <CreateInstanceEventWindowRequest.h>

+ Inheritance diagram for Aws::EC2::Model::CreateInstanceEventWindowRequest:

Public Member Functions

 CreateInstanceEventWindowRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
CreateInstanceEventWindowRequestWithDryRun (bool value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
CreateInstanceEventWindowRequestWithName (const Aws::String &value)
 
CreateInstanceEventWindowRequestWithName (Aws::String &&value)
 
CreateInstanceEventWindowRequestWithName (const char *value)
 
const Aws::Vector< InstanceEventWindowTimeRangeRequest > & GetTimeRanges () const
 
bool TimeRangesHasBeenSet () const
 
void SetTimeRanges (const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
 
void SetTimeRanges (Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
 
CreateInstanceEventWindowRequestWithTimeRanges (const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
 
CreateInstanceEventWindowRequestWithTimeRanges (Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
 
CreateInstanceEventWindowRequestAddTimeRanges (const InstanceEventWindowTimeRangeRequest &value)
 
CreateInstanceEventWindowRequestAddTimeRanges (InstanceEventWindowTimeRangeRequest &&value)
 
const Aws::StringGetCronExpression () const
 
bool CronExpressionHasBeenSet () const
 
void SetCronExpression (const Aws::String &value)
 
void SetCronExpression (Aws::String &&value)
 
void SetCronExpression (const char *value)
 
CreateInstanceEventWindowRequestWithCronExpression (const Aws::String &value)
 
CreateInstanceEventWindowRequestWithCronExpression (Aws::String &&value)
 
CreateInstanceEventWindowRequestWithCronExpression (const char *value)
 
const Aws::Vector< TagSpecification > & GetTagSpecifications () const
 
bool TagSpecificationsHasBeenSet () const
 
void SetTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
void SetTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateInstanceEventWindowRequestWithTagSpecifications (const Aws::Vector< TagSpecification > &value)
 
CreateInstanceEventWindowRequestWithTagSpecifications (Aws::Vector< TagSpecification > &&value)
 
CreateInstanceEventWindowRequestAddTagSpecifications (const TagSpecification &value)
 
CreateInstanceEventWindowRequestAddTagSpecifications (TagSpecification &&value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
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::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 24 of file CreateInstanceEventWindowRequest.h.

Constructor & Destructor Documentation

◆ CreateInstanceEventWindowRequest()

Aws::EC2::Model::CreateInstanceEventWindowRequest::CreateInstanceEventWindowRequest ( )

Member Function Documentation

◆ AddTagSpecifications() [1/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::AddTagSpecifications ( const TagSpecification value)
inline

The tags to apply to the event window.

Definition at line 343 of file CreateInstanceEventWindowRequest.h.

◆ AddTagSpecifications() [2/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::AddTagSpecifications ( TagSpecification &&  value)
inline

The tags to apply to the event window.

Definition at line 348 of file CreateInstanceEventWindowRequest.h.

◆ AddTimeRanges() [1/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::AddTimeRanges ( const InstanceEventWindowTimeRangeRequest value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 156 of file CreateInstanceEventWindowRequest.h.

◆ AddTimeRanges() [2/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::AddTimeRanges ( InstanceEventWindowTimeRangeRequest &&  value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 162 of file CreateInstanceEventWindowRequest.h.

◆ CronExpressionHasBeenSet()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::CronExpressionHasBeenSet ( ) const
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 199 of file CreateInstanceEventWindowRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 56 of file CreateInstanceEventWindowRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::CreateInstanceEventWindowRequest::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.

◆ GetCronExpression()

const Aws::String& Aws::EC2::Model::CreateInstanceEventWindowRequest::GetCronExpression ( ) const
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 181 of file CreateInstanceEventWindowRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 48 of file CreateInstanceEventWindowRequest.h.

◆ GetName()

const Aws::String& Aws::EC2::Model::CreateInstanceEventWindowRequest::GetName ( ) const
inline

The name of the event window.

Definition at line 78 of file CreateInstanceEventWindowRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::CreateInstanceEventWindowRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreateInstanceEventWindowRequest.h.

◆ GetTagSpecifications()

const Aws::Vector<TagSpecification>& Aws::EC2::Model::CreateInstanceEventWindowRequest::GetTagSpecifications ( ) const
inline

The tags to apply to the event window.

Definition at line 313 of file CreateInstanceEventWindowRequest.h.

◆ GetTimeRanges()

const Aws::Vector<InstanceEventWindowTimeRangeRequest>& Aws::EC2::Model::CreateInstanceEventWindowRequest::GetTimeRanges ( ) const
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 120 of file CreateInstanceEventWindowRequest.h.

◆ NameHasBeenSet()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::NameHasBeenSet ( ) const
inline

The name of the event window.

Definition at line 83 of file CreateInstanceEventWindowRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::CreateInstanceEventWindowRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCronExpression() [1/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetCronExpression ( Aws::String &&  value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 235 of file CreateInstanceEventWindowRequest.h.

◆ SetCronExpression() [2/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetCronExpression ( const Aws::String value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 217 of file CreateInstanceEventWindowRequest.h.

◆ SetCronExpression() [3/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetCronExpression ( const char *  value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 253 of file CreateInstanceEventWindowRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 64 of file CreateInstanceEventWindowRequest.h.

◆ SetName() [1/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetName ( Aws::String &&  value)
inline

The name of the event window.

Definition at line 93 of file CreateInstanceEventWindowRequest.h.

◆ SetName() [2/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetName ( const Aws::String value)
inline

The name of the event window.

Definition at line 88 of file CreateInstanceEventWindowRequest.h.

◆ SetName() [3/3]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetName ( const char *  value)
inline

The name of the event window.

Definition at line 98 of file CreateInstanceEventWindowRequest.h.

◆ SetTagSpecifications() [1/2]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the event window.

Definition at line 328 of file CreateInstanceEventWindowRequest.h.

◆ SetTagSpecifications() [2/2]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the event window.

Definition at line 323 of file CreateInstanceEventWindowRequest.h.

◆ SetTimeRanges() [1/2]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetTimeRanges ( Aws::Vector< InstanceEventWindowTimeRangeRequest > &&  value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 138 of file CreateInstanceEventWindowRequest.h.

◆ SetTimeRanges() [2/2]

void Aws::EC2::Model::CreateInstanceEventWindowRequest::SetTimeRanges ( const Aws::Vector< InstanceEventWindowTimeRangeRequest > &  value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 132 of file CreateInstanceEventWindowRequest.h.

◆ TagSpecificationsHasBeenSet()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::TagSpecificationsHasBeenSet ( ) const
inline

The tags to apply to the event window.

Definition at line 318 of file CreateInstanceEventWindowRequest.h.

◆ TimeRangesHasBeenSet()

bool Aws::EC2::Model::CreateInstanceEventWindowRequest::TimeRangesHasBeenSet ( ) const
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 126 of file CreateInstanceEventWindowRequest.h.

◆ WithCronExpression() [1/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithCronExpression ( Aws::String &&  value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 289 of file CreateInstanceEventWindowRequest.h.

◆ WithCronExpression() [2/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithCronExpression ( const Aws::String value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 271 of file CreateInstanceEventWindowRequest.h.

◆ WithCronExpression() [3/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithCronExpression ( const char *  value)
inline

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range.

Constraints:

  • Only hour and day of the week values are supported.

  • For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT.

  • The minute, month, and year must be specified by *.

  • The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23.

  • Each hour range must be >= 2 hours, for example, 0-2 or 20-23.

  • The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours.

For more information about cron expressions, see cron on the Wikipedia website.

Definition at line 307 of file CreateInstanceEventWindowRequest.h.

◆ WithDryRun()

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 72 of file CreateInstanceEventWindowRequest.h.

◆ WithName() [1/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithName ( Aws::String &&  value)
inline

The name of the event window.

Definition at line 108 of file CreateInstanceEventWindowRequest.h.

◆ WithName() [2/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithName ( const Aws::String value)
inline

The name of the event window.

Definition at line 103 of file CreateInstanceEventWindowRequest.h.

◆ WithName() [3/3]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithName ( const char *  value)
inline

The name of the event window.

Definition at line 113 of file CreateInstanceEventWindowRequest.h.

◆ WithTagSpecifications() [1/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithTagSpecifications ( Aws::Vector< TagSpecification > &&  value)
inline

The tags to apply to the event window.

Definition at line 338 of file CreateInstanceEventWindowRequest.h.

◆ WithTagSpecifications() [2/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithTagSpecifications ( const Aws::Vector< TagSpecification > &  value)
inline

The tags to apply to the event window.

Definition at line 333 of file CreateInstanceEventWindowRequest.h.

◆ WithTimeRanges() [1/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithTimeRanges ( Aws::Vector< InstanceEventWindowTimeRangeRequest > &&  value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 150 of file CreateInstanceEventWindowRequest.h.

◆ WithTimeRanges() [2/2]

CreateInstanceEventWindowRequest& Aws::EC2::Model::CreateInstanceEventWindowRequest::WithTimeRanges ( const Aws::Vector< InstanceEventWindowTimeRangeRequest > &  value)
inline

The time range for the event window. If you specify a time range, you can't specify a cron expression.

Definition at line 144 of file CreateInstanceEventWindowRequest.h.


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