AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::FlowLog Class Reference

#include <FlowLog.h>

Public Member Functions

 FlowLog ()
 
 FlowLog (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FlowLogoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
const Aws::Utils::DateTimeGetCreationTime () const
 
bool CreationTimeHasBeenSet () const
 
void SetCreationTime (const Aws::Utils::DateTime &value)
 
void SetCreationTime (Aws::Utils::DateTime &&value)
 
FlowLogWithCreationTime (const Aws::Utils::DateTime &value)
 
FlowLogWithCreationTime (Aws::Utils::DateTime &&value)
 
const Aws::StringGetDeliverLogsErrorMessage () const
 
bool DeliverLogsErrorMessageHasBeenSet () const
 
void SetDeliverLogsErrorMessage (const Aws::String &value)
 
void SetDeliverLogsErrorMessage (Aws::String &&value)
 
void SetDeliverLogsErrorMessage (const char *value)
 
FlowLogWithDeliverLogsErrorMessage (const Aws::String &value)
 
FlowLogWithDeliverLogsErrorMessage (Aws::String &&value)
 
FlowLogWithDeliverLogsErrorMessage (const char *value)
 
const Aws::StringGetDeliverLogsPermissionArn () const
 
bool DeliverLogsPermissionArnHasBeenSet () const
 
void SetDeliverLogsPermissionArn (const Aws::String &value)
 
void SetDeliverLogsPermissionArn (Aws::String &&value)
 
void SetDeliverLogsPermissionArn (const char *value)
 
FlowLogWithDeliverLogsPermissionArn (const Aws::String &value)
 
FlowLogWithDeliverLogsPermissionArn (Aws::String &&value)
 
FlowLogWithDeliverLogsPermissionArn (const char *value)
 
const Aws::StringGetDeliverLogsStatus () const
 
bool DeliverLogsStatusHasBeenSet () const
 
void SetDeliverLogsStatus (const Aws::String &value)
 
void SetDeliverLogsStatus (Aws::String &&value)
 
void SetDeliverLogsStatus (const char *value)
 
FlowLogWithDeliverLogsStatus (const Aws::String &value)
 
FlowLogWithDeliverLogsStatus (Aws::String &&value)
 
FlowLogWithDeliverLogsStatus (const char *value)
 
const Aws::StringGetFlowLogId () const
 
bool FlowLogIdHasBeenSet () const
 
void SetFlowLogId (const Aws::String &value)
 
void SetFlowLogId (Aws::String &&value)
 
void SetFlowLogId (const char *value)
 
FlowLogWithFlowLogId (const Aws::String &value)
 
FlowLogWithFlowLogId (Aws::String &&value)
 
FlowLogWithFlowLogId (const char *value)
 
const Aws::StringGetFlowLogStatus () const
 
bool FlowLogStatusHasBeenSet () const
 
void SetFlowLogStatus (const Aws::String &value)
 
void SetFlowLogStatus (Aws::String &&value)
 
void SetFlowLogStatus (const char *value)
 
FlowLogWithFlowLogStatus (const Aws::String &value)
 
FlowLogWithFlowLogStatus (Aws::String &&value)
 
FlowLogWithFlowLogStatus (const char *value)
 
const Aws::StringGetLogGroupName () const
 
bool LogGroupNameHasBeenSet () const
 
void SetLogGroupName (const Aws::String &value)
 
void SetLogGroupName (Aws::String &&value)
 
void SetLogGroupName (const char *value)
 
FlowLogWithLogGroupName (const Aws::String &value)
 
FlowLogWithLogGroupName (Aws::String &&value)
 
FlowLogWithLogGroupName (const char *value)
 
const Aws::StringGetResourceId () const
 
bool ResourceIdHasBeenSet () const
 
void SetResourceId (const Aws::String &value)
 
void SetResourceId (Aws::String &&value)
 
void SetResourceId (const char *value)
 
FlowLogWithResourceId (const Aws::String &value)
 
FlowLogWithResourceId (Aws::String &&value)
 
FlowLogWithResourceId (const char *value)
 
const TrafficTypeGetTrafficType () const
 
bool TrafficTypeHasBeenSet () const
 
void SetTrafficType (const TrafficType &value)
 
void SetTrafficType (TrafficType &&value)
 
FlowLogWithTrafficType (const TrafficType &value)
 
FlowLogWithTrafficType (TrafficType &&value)
 
const LogDestinationTypeGetLogDestinationType () const
 
bool LogDestinationTypeHasBeenSet () const
 
void SetLogDestinationType (const LogDestinationType &value)
 
void SetLogDestinationType (LogDestinationType &&value)
 
FlowLogWithLogDestinationType (const LogDestinationType &value)
 
FlowLogWithLogDestinationType (LogDestinationType &&value)
 
const Aws::StringGetLogDestination () const
 
bool LogDestinationHasBeenSet () const
 
void SetLogDestination (const Aws::String &value)
 
void SetLogDestination (Aws::String &&value)
 
void SetLogDestination (const char *value)
 
FlowLogWithLogDestination (const Aws::String &value)
 
FlowLogWithLogDestination (Aws::String &&value)
 
FlowLogWithLogDestination (const char *value)
 
const Aws::StringGetLogFormat () const
 
bool LogFormatHasBeenSet () const
 
void SetLogFormat (const Aws::String &value)
 
void SetLogFormat (Aws::String &&value)
 
void SetLogFormat (const char *value)
 
FlowLogWithLogFormat (const Aws::String &value)
 
FlowLogWithLogFormat (Aws::String &&value)
 
FlowLogWithLogFormat (const char *value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
FlowLogWithTags (const Aws::Vector< Tag > &value)
 
FlowLogWithTags (Aws::Vector< Tag > &&value)
 
FlowLogAddTags (const Tag &value)
 
FlowLogAddTags (Tag &&value)
 
int GetMaxAggregationInterval () const
 
bool MaxAggregationIntervalHasBeenSet () const
 
void SetMaxAggregationInterval (int value)
 
FlowLogWithMaxAggregationInterval (int value)
 

Detailed Description

Describes a flow log.

See Also:

AWS API Reference

Definition at line 36 of file FlowLog.h.

Constructor & Destructor Documentation

◆ FlowLog() [1/2]

Aws::EC2::Model::FlowLog::FlowLog ( )

◆ FlowLog() [2/2]

Aws::EC2::Model::FlowLog::FlowLog ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddTags() [1/2]

FlowLog& Aws::EC2::Model::FlowLog::AddTags ( const Tag value)
inline

The tags for the flow log.

Definition at line 636 of file FlowLog.h.

◆ AddTags() [2/2]

FlowLog& Aws::EC2::Model::FlowLog::AddTags ( Tag &&  value)
inline

The tags for the flow log.

Definition at line 641 of file FlowLog.h.

◆ CreationTimeHasBeenSet()

bool Aws::EC2::Model::FlowLog::CreationTimeHasBeenSet ( ) const
inline

The date and time the flow log was created.

Definition at line 55 of file FlowLog.h.

◆ DeliverLogsErrorMessageHasBeenSet()

bool Aws::EC2::Model::FlowLog::DeliverLogsErrorMessageHasBeenSet ( ) const
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 96 of file FlowLog.h.

◆ DeliverLogsPermissionArnHasBeenSet()

bool Aws::EC2::Model::FlowLog::DeliverLogsPermissionArnHasBeenSet ( ) const
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 167 of file FlowLog.h.

◆ DeliverLogsStatusHasBeenSet()

bool Aws::EC2::Model::FlowLog::DeliverLogsStatusHasBeenSet ( ) const
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 210 of file FlowLog.h.

◆ FlowLogIdHasBeenSet()

bool Aws::EC2::Model::FlowLog::FlowLogIdHasBeenSet ( ) const
inline

The flow log ID.

Definition at line 257 of file FlowLog.h.

◆ FlowLogStatusHasBeenSet()

bool Aws::EC2::Model::FlowLog::FlowLogStatusHasBeenSet ( ) const
inline

The status of the flow log (ACTIVE).

Definition at line 298 of file FlowLog.h.

◆ GetCreationTime()

const Aws::Utils::DateTime& Aws::EC2::Model::FlowLog::GetCreationTime ( ) const
inline

The date and time the flow log was created.

Definition at line 50 of file FlowLog.h.

◆ GetDeliverLogsErrorMessage()

const Aws::String& Aws::EC2::Model::FlowLog::GetDeliverLogsErrorMessage ( ) const
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 86 of file FlowLog.h.

◆ GetDeliverLogsPermissionArn()

const Aws::String& Aws::EC2::Model::FlowLog::GetDeliverLogsPermissionArn ( ) const
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 162 of file FlowLog.h.

◆ GetDeliverLogsStatus()

const Aws::String& Aws::EC2::Model::FlowLog::GetDeliverLogsStatus ( ) const
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 204 of file FlowLog.h.

◆ GetFlowLogId()

const Aws::String& Aws::EC2::Model::FlowLog::GetFlowLogId ( ) const
inline

The flow log ID.

Definition at line 252 of file FlowLog.h.

◆ GetFlowLogStatus()

const Aws::String& Aws::EC2::Model::FlowLog::GetFlowLogStatus ( ) const
inline

The status of the flow log (ACTIVE).

Definition at line 293 of file FlowLog.h.

◆ GetLogDestination()

const Aws::String& Aws::EC2::Model::FlowLog::GetLogDestination ( ) const
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 489 of file FlowLog.h.

◆ GetLogDestinationType()

const LogDestinationType& Aws::EC2::Model::FlowLog::GetLogDestinationType ( ) const
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 448 of file FlowLog.h.

◆ GetLogFormat()

const Aws::String& Aws::EC2::Model::FlowLog::GetLogFormat ( ) const
inline

The format of the flow log record.

Definition at line 565 of file FlowLog.h.

◆ GetLogGroupName()

const Aws::String& Aws::EC2::Model::FlowLog::GetLogGroupName ( ) const
inline

The name of the flow log group.

Definition at line 334 of file FlowLog.h.

◆ GetMaxAggregationInterval()

int Aws::EC2::Model::FlowLog::GetMaxAggregationInterval ( ) const
inline

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

Definition at line 653 of file FlowLog.h.

◆ GetResourceId()

const Aws::String& Aws::EC2::Model::FlowLog::GetResourceId ( ) const
inline

The ID of the resource on which the flow log was created.

Definition at line 375 of file FlowLog.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::FlowLog::GetTags ( ) const
inline

The tags for the flow log.

Definition at line 606 of file FlowLog.h.

◆ GetTrafficType()

const TrafficType& Aws::EC2::Model::FlowLog::GetTrafficType ( ) const
inline

The type of traffic captured for the flow log.

Definition at line 416 of file FlowLog.h.

◆ LogDestinationHasBeenSet()

bool Aws::EC2::Model::FlowLog::LogDestinationHasBeenSet ( ) const
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 499 of file FlowLog.h.

◆ LogDestinationTypeHasBeenSet()

bool Aws::EC2::Model::FlowLog::LogDestinationTypeHasBeenSet ( ) const
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 454 of file FlowLog.h.

◆ LogFormatHasBeenSet()

bool Aws::EC2::Model::FlowLog::LogFormatHasBeenSet ( ) const
inline

The format of the flow log record.

Definition at line 570 of file FlowLog.h.

◆ LogGroupNameHasBeenSet()

bool Aws::EC2::Model::FlowLog::LogGroupNameHasBeenSet ( ) const
inline

The name of the flow log group.

Definition at line 339 of file FlowLog.h.

◆ MaxAggregationIntervalHasBeenSet()

bool Aws::EC2::Model::FlowLog::MaxAggregationIntervalHasBeenSet ( ) const
inline

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

Definition at line 664 of file FlowLog.h.

◆ operator=()

FlowLog& Aws::EC2::Model::FlowLog::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutputToStream() [1/2]

void Aws::EC2::Model::FlowLog::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::FlowLog::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ ResourceIdHasBeenSet()

bool Aws::EC2::Model::FlowLog::ResourceIdHasBeenSet ( ) const
inline

The ID of the resource on which the flow log was created.

Definition at line 380 of file FlowLog.h.

◆ SetCreationTime() [1/2]

void Aws::EC2::Model::FlowLog::SetCreationTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the flow log was created.

Definition at line 65 of file FlowLog.h.

◆ SetCreationTime() [2/2]

void Aws::EC2::Model::FlowLog::SetCreationTime ( const Aws::Utils::DateTime value)
inline

The date and time the flow log was created.

Definition at line 60 of file FlowLog.h.

◆ SetDeliverLogsErrorMessage() [1/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsErrorMessage ( Aws::String &&  value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 116 of file FlowLog.h.

◆ SetDeliverLogsErrorMessage() [2/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsErrorMessage ( const Aws::String value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 106 of file FlowLog.h.

◆ SetDeliverLogsErrorMessage() [3/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsErrorMessage ( const char *  value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 126 of file FlowLog.h.

◆ SetDeliverLogsPermissionArn() [1/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsPermissionArn ( Aws::String &&  value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 177 of file FlowLog.h.

◆ SetDeliverLogsPermissionArn() [2/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsPermissionArn ( const Aws::String value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 172 of file FlowLog.h.

◆ SetDeliverLogsPermissionArn() [3/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsPermissionArn ( const char *  value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 182 of file FlowLog.h.

◆ SetDeliverLogsStatus() [1/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsStatus ( Aws::String &&  value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 222 of file FlowLog.h.

◆ SetDeliverLogsStatus() [2/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsStatus ( const Aws::String value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 216 of file FlowLog.h.

◆ SetDeliverLogsStatus() [3/3]

void Aws::EC2::Model::FlowLog::SetDeliverLogsStatus ( const char *  value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 228 of file FlowLog.h.

◆ SetFlowLogId() [1/3]

void Aws::EC2::Model::FlowLog::SetFlowLogId ( Aws::String &&  value)
inline

The flow log ID.

Definition at line 267 of file FlowLog.h.

◆ SetFlowLogId() [2/3]

void Aws::EC2::Model::FlowLog::SetFlowLogId ( const Aws::String value)
inline

The flow log ID.

Definition at line 262 of file FlowLog.h.

◆ SetFlowLogId() [3/3]

void Aws::EC2::Model::FlowLog::SetFlowLogId ( const char *  value)
inline

The flow log ID.

Definition at line 272 of file FlowLog.h.

◆ SetFlowLogStatus() [1/3]

void Aws::EC2::Model::FlowLog::SetFlowLogStatus ( Aws::String &&  value)
inline

The status of the flow log (ACTIVE).

Definition at line 308 of file FlowLog.h.

◆ SetFlowLogStatus() [2/3]

void Aws::EC2::Model::FlowLog::SetFlowLogStatus ( const Aws::String value)
inline

The status of the flow log (ACTIVE).

Definition at line 303 of file FlowLog.h.

◆ SetFlowLogStatus() [3/3]

void Aws::EC2::Model::FlowLog::SetFlowLogStatus ( const char *  value)
inline

The status of the flow log (ACTIVE).

Definition at line 313 of file FlowLog.h.

◆ SetLogDestination() [1/3]

void Aws::EC2::Model::FlowLog::SetLogDestination ( Aws::String &&  value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 519 of file FlowLog.h.

◆ SetLogDestination() [2/3]

void Aws::EC2::Model::FlowLog::SetLogDestination ( const Aws::String value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 509 of file FlowLog.h.

◆ SetLogDestination() [3/3]

void Aws::EC2::Model::FlowLog::SetLogDestination ( const char *  value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 529 of file FlowLog.h.

◆ SetLogDestinationType() [1/2]

void Aws::EC2::Model::FlowLog::SetLogDestinationType ( const LogDestinationType value)
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 460 of file FlowLog.h.

◆ SetLogDestinationType() [2/2]

void Aws::EC2::Model::FlowLog::SetLogDestinationType ( LogDestinationType &&  value)
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 466 of file FlowLog.h.

◆ SetLogFormat() [1/3]

void Aws::EC2::Model::FlowLog::SetLogFormat ( Aws::String &&  value)
inline

The format of the flow log record.

Definition at line 580 of file FlowLog.h.

◆ SetLogFormat() [2/3]

void Aws::EC2::Model::FlowLog::SetLogFormat ( const Aws::String value)
inline

The format of the flow log record.

Definition at line 575 of file FlowLog.h.

◆ SetLogFormat() [3/3]

void Aws::EC2::Model::FlowLog::SetLogFormat ( const char *  value)
inline

The format of the flow log record.

Definition at line 585 of file FlowLog.h.

◆ SetLogGroupName() [1/3]

void Aws::EC2::Model::FlowLog::SetLogGroupName ( Aws::String &&  value)
inline

The name of the flow log group.

Definition at line 349 of file FlowLog.h.

◆ SetLogGroupName() [2/3]

void Aws::EC2::Model::FlowLog::SetLogGroupName ( const Aws::String value)
inline

The name of the flow log group.

Definition at line 344 of file FlowLog.h.

◆ SetLogGroupName() [3/3]

void Aws::EC2::Model::FlowLog::SetLogGroupName ( const char *  value)
inline

The name of the flow log group.

Definition at line 354 of file FlowLog.h.

◆ SetMaxAggregationInterval()

void Aws::EC2::Model::FlowLog::SetMaxAggregationInterval ( int  value)
inline

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

Definition at line 675 of file FlowLog.h.

◆ SetResourceId() [1/3]

void Aws::EC2::Model::FlowLog::SetResourceId ( Aws::String &&  value)
inline

The ID of the resource on which the flow log was created.

Definition at line 390 of file FlowLog.h.

◆ SetResourceId() [2/3]

void Aws::EC2::Model::FlowLog::SetResourceId ( const Aws::String value)
inline

The ID of the resource on which the flow log was created.

Definition at line 385 of file FlowLog.h.

◆ SetResourceId() [3/3]

void Aws::EC2::Model::FlowLog::SetResourceId ( const char *  value)
inline

The ID of the resource on which the flow log was created.

Definition at line 395 of file FlowLog.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::FlowLog::SetTags ( Aws::Vector< Tag > &&  value)
inline

The tags for the flow log.

Definition at line 621 of file FlowLog.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::FlowLog::SetTags ( const Aws::Vector< Tag > &  value)
inline

The tags for the flow log.

Definition at line 616 of file FlowLog.h.

◆ SetTrafficType() [1/2]

void Aws::EC2::Model::FlowLog::SetTrafficType ( const TrafficType value)
inline

The type of traffic captured for the flow log.

Definition at line 426 of file FlowLog.h.

◆ SetTrafficType() [2/2]

void Aws::EC2::Model::FlowLog::SetTrafficType ( TrafficType &&  value)
inline

The type of traffic captured for the flow log.

Definition at line 431 of file FlowLog.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::FlowLog::TagsHasBeenSet ( ) const
inline

The tags for the flow log.

Definition at line 611 of file FlowLog.h.

◆ TrafficTypeHasBeenSet()

bool Aws::EC2::Model::FlowLog::TrafficTypeHasBeenSet ( ) const
inline

The type of traffic captured for the flow log.

Definition at line 421 of file FlowLog.h.

◆ WithCreationTime() [1/2]

FlowLog& Aws::EC2::Model::FlowLog::WithCreationTime ( Aws::Utils::DateTime &&  value)
inline

The date and time the flow log was created.

Definition at line 75 of file FlowLog.h.

◆ WithCreationTime() [2/2]

FlowLog& Aws::EC2::Model::FlowLog::WithCreationTime ( const Aws::Utils::DateTime value)
inline

The date and time the flow log was created.

Definition at line 70 of file FlowLog.h.

◆ WithDeliverLogsErrorMessage() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsErrorMessage ( Aws::String &&  value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 146 of file FlowLog.h.

◆ WithDeliverLogsErrorMessage() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsErrorMessage ( const Aws::String value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 136 of file FlowLog.h.

◆ WithDeliverLogsErrorMessage() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsErrorMessage ( const char *  value)
inline

Information about the error that occurred. Rate limited indicates that CloudWatch Logs throttling has been applied for one or more network interfaces, or that you've reached the limit on the number of log groups that you can create. Access error indicates that the IAM role associated with the flow log does not have sufficient permissions to publish to CloudWatch Logs. Unknown error indicates an internal error.

Definition at line 156 of file FlowLog.h.

◆ WithDeliverLogsPermissionArn() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsPermissionArn ( Aws::String &&  value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 192 of file FlowLog.h.

◆ WithDeliverLogsPermissionArn() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsPermissionArn ( const Aws::String value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 187 of file FlowLog.h.

◆ WithDeliverLogsPermissionArn() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsPermissionArn ( const char *  value)
inline

The ARN of the IAM role that posts logs to CloudWatch Logs.

Definition at line 197 of file FlowLog.h.

◆ WithDeliverLogsStatus() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsStatus ( Aws::String &&  value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 240 of file FlowLog.h.

◆ WithDeliverLogsStatus() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsStatus ( const Aws::String value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 234 of file FlowLog.h.

◆ WithDeliverLogsStatus() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithDeliverLogsStatus ( const char *  value)
inline

The status of the logs delivery (SUCCESS | FAILED).

Definition at line 246 of file FlowLog.h.

◆ WithFlowLogId() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogId ( Aws::String &&  value)
inline

The flow log ID.

Definition at line 282 of file FlowLog.h.

◆ WithFlowLogId() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogId ( const Aws::String value)
inline

The flow log ID.

Definition at line 277 of file FlowLog.h.

◆ WithFlowLogId() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogId ( const char *  value)
inline

The flow log ID.

Definition at line 287 of file FlowLog.h.

◆ WithFlowLogStatus() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogStatus ( Aws::String &&  value)
inline

The status of the flow log (ACTIVE).

Definition at line 323 of file FlowLog.h.

◆ WithFlowLogStatus() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogStatus ( const Aws::String value)
inline

The status of the flow log (ACTIVE).

Definition at line 318 of file FlowLog.h.

◆ WithFlowLogStatus() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithFlowLogStatus ( const char *  value)
inline

The status of the flow log (ACTIVE).

Definition at line 328 of file FlowLog.h.

◆ WithLogDestination() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogDestination ( Aws::String &&  value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 549 of file FlowLog.h.

◆ WithLogDestination() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogDestination ( const Aws::String value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 539 of file FlowLog.h.

◆ WithLogDestination() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogDestination ( const char *  value)
inline

Specifies the destination to which the flow log data is published. Flow log data can be published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN of the Amazon S3 bucket to which the data is published.

Definition at line 559 of file FlowLog.h.

◆ WithLogDestinationType() [1/2]

FlowLog& Aws::EC2::Model::FlowLog::WithLogDestinationType ( const LogDestinationType value)
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 472 of file FlowLog.h.

◆ WithLogDestinationType() [2/2]

FlowLog& Aws::EC2::Model::FlowLog::WithLogDestinationType ( LogDestinationType &&  value)
inline

Specifies the type of destination to which the flow log data is published. Flow log data can be published to CloudWatch Logs or Amazon S3.

Definition at line 478 of file FlowLog.h.

◆ WithLogFormat() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogFormat ( Aws::String &&  value)
inline

The format of the flow log record.

Definition at line 595 of file FlowLog.h.

◆ WithLogFormat() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogFormat ( const Aws::String value)
inline

The format of the flow log record.

Definition at line 590 of file FlowLog.h.

◆ WithLogFormat() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogFormat ( const char *  value)
inline

The format of the flow log record.

Definition at line 600 of file FlowLog.h.

◆ WithLogGroupName() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogGroupName ( Aws::String &&  value)
inline

The name of the flow log group.

Definition at line 364 of file FlowLog.h.

◆ WithLogGroupName() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogGroupName ( const Aws::String value)
inline

The name of the flow log group.

Definition at line 359 of file FlowLog.h.

◆ WithLogGroupName() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithLogGroupName ( const char *  value)
inline

The name of the flow log group.

Definition at line 369 of file FlowLog.h.

◆ WithMaxAggregationInterval()

FlowLog& Aws::EC2::Model::FlowLog::WithMaxAggregationInterval ( int  value)
inline

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

When a network interface is attached to a Nitro-based instance, the aggregation interval is always 60 seconds (1 minute) or less, regardless of the specified value.

Valid Values: 60 | 600

Definition at line 686 of file FlowLog.h.

◆ WithResourceId() [1/3]

FlowLog& Aws::EC2::Model::FlowLog::WithResourceId ( Aws::String &&  value)
inline

The ID of the resource on which the flow log was created.

Definition at line 405 of file FlowLog.h.

◆ WithResourceId() [2/3]

FlowLog& Aws::EC2::Model::FlowLog::WithResourceId ( const Aws::String value)
inline

The ID of the resource on which the flow log was created.

Definition at line 400 of file FlowLog.h.

◆ WithResourceId() [3/3]

FlowLog& Aws::EC2::Model::FlowLog::WithResourceId ( const char *  value)
inline

The ID of the resource on which the flow log was created.

Definition at line 410 of file FlowLog.h.

◆ WithTags() [1/2]

FlowLog& Aws::EC2::Model::FlowLog::WithTags ( Aws::Vector< Tag > &&  value)
inline

The tags for the flow log.

Definition at line 631 of file FlowLog.h.

◆ WithTags() [2/2]

FlowLog& Aws::EC2::Model::FlowLog::WithTags ( const Aws::Vector< Tag > &  value)
inline

The tags for the flow log.

Definition at line 626 of file FlowLog.h.

◆ WithTrafficType() [1/2]

FlowLog& Aws::EC2::Model::FlowLog::WithTrafficType ( const TrafficType value)
inline

The type of traffic captured for the flow log.

Definition at line 436 of file FlowLog.h.

◆ WithTrafficType() [2/2]

FlowLog& Aws::EC2::Model::FlowLog::WithTrafficType ( TrafficType &&  value)
inline

The type of traffic captured for the flow log.

Definition at line 441 of file FlowLog.h.


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