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

#include <ModifyInstanceEventWindowRequest.h>

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

Public Member Functions

 ModifyInstanceEventWindowRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
ModifyInstanceEventWindowRequestWithDryRun (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)
 
ModifyInstanceEventWindowRequestWithName (const Aws::String &value)
 
ModifyInstanceEventWindowRequestWithName (Aws::String &&value)
 
ModifyInstanceEventWindowRequestWithName (const char *value)
 
const Aws::StringGetInstanceEventWindowId () const
 
bool InstanceEventWindowIdHasBeenSet () const
 
void SetInstanceEventWindowId (const Aws::String &value)
 
void SetInstanceEventWindowId (Aws::String &&value)
 
void SetInstanceEventWindowId (const char *value)
 
ModifyInstanceEventWindowRequestWithInstanceEventWindowId (const Aws::String &value)
 
ModifyInstanceEventWindowRequestWithInstanceEventWindowId (Aws::String &&value)
 
ModifyInstanceEventWindowRequestWithInstanceEventWindowId (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)
 
ModifyInstanceEventWindowRequestWithTimeRanges (const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
 
ModifyInstanceEventWindowRequestWithTimeRanges (Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
 
ModifyInstanceEventWindowRequestAddTimeRanges (const InstanceEventWindowTimeRangeRequest &value)
 
ModifyInstanceEventWindowRequestAddTimeRanges (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)
 
ModifyInstanceEventWindowRequestWithCronExpression (const Aws::String &value)
 
ModifyInstanceEventWindowRequestWithCronExpression (Aws::String &&value)
 
ModifyInstanceEventWindowRequestWithCronExpression (const char *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 23 of file ModifyInstanceEventWindowRequest.h.

Constructor & Destructor Documentation

◆ ModifyInstanceEventWindowRequest()

Aws::EC2::Model::ModifyInstanceEventWindowRequest::ModifyInstanceEventWindowRequest ( )

Member Function Documentation

◆ AddTimeRanges() [1/2]

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

The time ranges of the event window.

Definition at line 189 of file ModifyInstanceEventWindowRequest.h.

◆ AddTimeRanges() [2/2]

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

The time ranges of the event window.

Definition at line 194 of file ModifyInstanceEventWindowRequest.h.

◆ CronExpressionHasBeenSet()

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 231 of file ModifyInstanceEventWindowRequest.h.

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceEventWindowRequest::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 55 of file ModifyInstanceEventWindowRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::ModifyInstanceEventWindowRequest::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::ModifyInstanceEventWindowRequest::GetCronExpression ( ) const
inline

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 213 of file ModifyInstanceEventWindowRequest.h.

◆ GetDryRun()

bool Aws::EC2::Model::ModifyInstanceEventWindowRequest::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 47 of file ModifyInstanceEventWindowRequest.h.

◆ GetInstanceEventWindowId()

const Aws::String& Aws::EC2::Model::ModifyInstanceEventWindowRequest::GetInstanceEventWindowId ( ) const
inline

The ID of the event window.

Definition at line 118 of file ModifyInstanceEventWindowRequest.h.

◆ GetName()

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

The name of the event window.

Definition at line 77 of file ModifyInstanceEventWindowRequest.h.

◆ GetServiceRequestName()

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

Implements Aws::AmazonWebServiceRequest.

Definition at line 32 of file ModifyInstanceEventWindowRequest.h.

◆ GetTimeRanges()

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

The time ranges of the event window.

Definition at line 159 of file ModifyInstanceEventWindowRequest.h.

◆ InstanceEventWindowIdHasBeenSet()

bool Aws::EC2::Model::ModifyInstanceEventWindowRequest::InstanceEventWindowIdHasBeenSet ( ) const
inline

The ID of the event window.

Definition at line 123 of file ModifyInstanceEventWindowRequest.h.

◆ NameHasBeenSet()

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

The name of the event window.

Definition at line 82 of file ModifyInstanceEventWindowRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetCronExpression() [1/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 267 of file ModifyInstanceEventWindowRequest.h.

◆ SetCronExpression() [2/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 249 of file ModifyInstanceEventWindowRequest.h.

◆ SetCronExpression() [3/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 285 of file ModifyInstanceEventWindowRequest.h.

◆ SetDryRun()

void Aws::EC2::Model::ModifyInstanceEventWindowRequest::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 63 of file ModifyInstanceEventWindowRequest.h.

◆ SetInstanceEventWindowId() [1/3]

void Aws::EC2::Model::ModifyInstanceEventWindowRequest::SetInstanceEventWindowId ( Aws::String &&  value)
inline

The ID of the event window.

Definition at line 133 of file ModifyInstanceEventWindowRequest.h.

◆ SetInstanceEventWindowId() [2/3]

void Aws::EC2::Model::ModifyInstanceEventWindowRequest::SetInstanceEventWindowId ( const Aws::String value)
inline

The ID of the event window.

Definition at line 128 of file ModifyInstanceEventWindowRequest.h.

◆ SetInstanceEventWindowId() [3/3]

void Aws::EC2::Model::ModifyInstanceEventWindowRequest::SetInstanceEventWindowId ( const char *  value)
inline

The ID of the event window.

Definition at line 138 of file ModifyInstanceEventWindowRequest.h.

◆ SetName() [1/3]

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

The name of the event window.

Definition at line 92 of file ModifyInstanceEventWindowRequest.h.

◆ SetName() [2/3]

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

The name of the event window.

Definition at line 87 of file ModifyInstanceEventWindowRequest.h.

◆ SetName() [3/3]

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

The name of the event window.

Definition at line 97 of file ModifyInstanceEventWindowRequest.h.

◆ SetTimeRanges() [1/2]

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

The time ranges of the event window.

Definition at line 174 of file ModifyInstanceEventWindowRequest.h.

◆ SetTimeRanges() [2/2]

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

The time ranges of the event window.

Definition at line 169 of file ModifyInstanceEventWindowRequest.h.

◆ TimeRangesHasBeenSet()

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

The time ranges of the event window.

Definition at line 164 of file ModifyInstanceEventWindowRequest.h.

◆ WithCronExpression() [1/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 321 of file ModifyInstanceEventWindowRequest.h.

◆ WithCronExpression() [2/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 303 of file ModifyInstanceEventWindowRequest.h.

◆ WithCronExpression() [3/3]

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

The cron expression of the event window, for example, * 0-4,20-23 * * 1,5.

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 339 of file ModifyInstanceEventWindowRequest.h.

◆ WithDryRun()

ModifyInstanceEventWindowRequest& Aws::EC2::Model::ModifyInstanceEventWindowRequest::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 71 of file ModifyInstanceEventWindowRequest.h.

◆ WithInstanceEventWindowId() [1/3]

ModifyInstanceEventWindowRequest& Aws::EC2::Model::ModifyInstanceEventWindowRequest::WithInstanceEventWindowId ( Aws::String &&  value)
inline

The ID of the event window.

Definition at line 148 of file ModifyInstanceEventWindowRequest.h.

◆ WithInstanceEventWindowId() [2/3]

ModifyInstanceEventWindowRequest& Aws::EC2::Model::ModifyInstanceEventWindowRequest::WithInstanceEventWindowId ( const Aws::String value)
inline

The ID of the event window.

Definition at line 143 of file ModifyInstanceEventWindowRequest.h.

◆ WithInstanceEventWindowId() [3/3]

ModifyInstanceEventWindowRequest& Aws::EC2::Model::ModifyInstanceEventWindowRequest::WithInstanceEventWindowId ( const char *  value)
inline

The ID of the event window.

Definition at line 153 of file ModifyInstanceEventWindowRequest.h.

◆ WithName() [1/3]

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

The name of the event window.

Definition at line 107 of file ModifyInstanceEventWindowRequest.h.

◆ WithName() [2/3]

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

The name of the event window.

Definition at line 102 of file ModifyInstanceEventWindowRequest.h.

◆ WithName() [3/3]

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

The name of the event window.

Definition at line 112 of file ModifyInstanceEventWindowRequest.h.

◆ WithTimeRanges() [1/2]

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

The time ranges of the event window.

Definition at line 184 of file ModifyInstanceEventWindowRequest.h.

◆ WithTimeRanges() [2/2]

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

The time ranges of the event window.

Definition at line 179 of file ModifyInstanceEventWindowRequest.h.


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