7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/TrafficType.h>
12#include <aws/ec2/model/LogDestinationType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/DestinationOptionsResponse.h>
15#include <aws/ec2/model/Tag.h>
73 inline void SetDeliverLogsErrorMessage(
const char* value) { m_deliverLogsErrorMessageHasBeenSet =
true; m_deliverLogsErrorMessage.assign(value); }
88 inline void SetDeliverLogsPermissionArn(
const char* value) { m_deliverLogsPermissionArnHasBeenSet =
true; m_deliverLogsPermissionArn.assign(value); }
103 inline void SetDeliverCrossAccountRole(
const char* value) { m_deliverCrossAccountRoleHasBeenSet =
true; m_deliverCrossAccountRole.assign(value); }
118 inline void SetDeliverLogsStatus(
const char* value) { m_deliverLogsStatusHasBeenSet =
true; m_deliverLogsStatus.assign(value); }
132 inline void SetFlowLogId(
const char* value) { m_flowLogIdHasBeenSet =
true; m_flowLogId.assign(value); }
146 inline void SetFlowLogStatus(
const char* value) { m_flowLogStatusHasBeenSet =
true; m_flowLogStatus.assign(value); }
160 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
174 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
212 inline void SetLogDestination(
const char* value) { m_logDestinationHasBeenSet =
true; m_logDestination.assign(value); }
226 inline void SetLogFormat(
const char* value) { m_logFormatHasBeenSet =
true; m_logFormat.assign(value); }
242 inline FlowLog&
AddTags(
const Tag& value) { m_tagsHasBeenSet =
true; m_tags.push_back(value);
return *
this; }
243 inline FlowLog&
AddTags(
Tag&& value) { m_tagsHasBeenSet =
true; m_tags.push_back(std::move(value));
return *
this; }
276 bool m_creationTimeHasBeenSet =
false;
279 bool m_deliverLogsErrorMessageHasBeenSet =
false;
282 bool m_deliverLogsPermissionArnHasBeenSet =
false;
285 bool m_deliverCrossAccountRoleHasBeenSet =
false;
288 bool m_deliverLogsStatusHasBeenSet =
false;
291 bool m_flowLogIdHasBeenSet =
false;
294 bool m_flowLogStatusHasBeenSet =
false;
297 bool m_logGroupNameHasBeenSet =
false;
300 bool m_resourceIdHasBeenSet =
false;
303 bool m_trafficTypeHasBeenSet =
false;
306 bool m_logDestinationTypeHasBeenSet =
false;
309 bool m_logDestinationHasBeenSet =
false;
312 bool m_logFormatHasBeenSet =
false;
315 bool m_tagsHasBeenSet =
false;
317 int m_maxAggregationInterval;
318 bool m_maxAggregationIntervalHasBeenSet =
false;
321 bool m_destinationOptionsHasBeenSet =
false;
const Aws::String & GetFlowLogId() const
void SetLogDestinationType(LogDestinationType &&value)
void SetResourceId(const Aws::String &value)
void SetDeliverLogsPermissionArn(const char *value)
FlowLog & WithFlowLogStatus(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
const TrafficType & GetTrafficType() const
void SetDeliverLogsErrorMessage(Aws::String &&value)
bool DeliverLogsErrorMessageHasBeenSet() const
FlowLog & WithDeliverLogsPermissionArn(const Aws::String &value)
FlowLog & WithFlowLogStatus(const char *value)
FlowLog & WithDeliverCrossAccountRole(const char *value)
FlowLog & WithDeliverLogsErrorMessage(const char *value)
const Aws::String & GetLogDestination() const
int GetMaxAggregationInterval() const
bool LogFormatHasBeenSet() const
FlowLog & AddTags(const Tag &value)
bool DestinationOptionsHasBeenSet() const
bool DeliverLogsStatusHasBeenSet() const
FlowLog & WithDeliverLogsStatus(const Aws::String &value)
FlowLog & WithDeliverLogsPermissionArn(Aws::String &&value)
bool FlowLogStatusHasBeenSet() const
bool ResourceIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FlowLog & WithDeliverLogsStatus(Aws::String &&value)
FlowLog & WithResourceId(Aws::String &&value)
const Aws::String & GetFlowLogStatus() const
void SetLogDestination(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetLogGroupName() const
void SetLogFormat(Aws::String &&value)
FlowLog & WithLogDestinationType(LogDestinationType &&value)
void SetDeliverCrossAccountRole(const char *value)
FlowLog & WithDeliverCrossAccountRole(Aws::String &&value)
void SetDeliverLogsErrorMessage(const Aws::String &value)
void SetLogFormat(const char *value)
void SetFlowLogStatus(Aws::String &&value)
const Aws::String & GetDeliverCrossAccountRole() const
bool CreationTimeHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetLogGroupName(const char *value)
FlowLog & WithFlowLogStatus(const Aws::String &value)
void SetResourceId(Aws::String &&value)
FlowLog & WithResourceId(const char *value)
void SetDeliverCrossAccountRole(const Aws::String &value)
FlowLog & WithLogGroupName(const Aws::String &value)
FlowLog & WithTags(const Aws::Vector< Tag > &value)
FlowLog & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetLogDestination(const Aws::String &value)
FlowLog & WithDestinationOptions(DestinationOptionsResponse &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool DeliverCrossAccountRoleHasBeenSet() const
void SetFlowLogId(Aws::String &&value)
FlowLog & WithResourceId(const Aws::String &value)
FlowLog & WithLogDestination(const Aws::String &value)
bool MaxAggregationIntervalHasBeenSet() const
FlowLog & WithLogDestination(const char *value)
FlowLog & WithLogDestinationType(const LogDestinationType &value)
void SetTrafficType(TrafficType &&value)
void SetLogFormat(const Aws::String &value)
FlowLog & WithDeliverLogsStatus(const char *value)
bool TrafficTypeHasBeenSet() const
void SetDestinationOptions(const DestinationOptionsResponse &value)
FlowLog & WithLogFormat(Aws::String &&value)
FlowLog & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_EC2_API FlowLog & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FlowLog & WithLogGroupName(const char *value)
AWS_EC2_API FlowLog(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetDeliverLogsErrorMessage() const
void SetDeliverLogsPermissionArn(const Aws::String &value)
void SetDestinationOptions(DestinationOptionsResponse &&value)
FlowLog & WithDeliverLogsErrorMessage(Aws::String &&value)
const DestinationOptionsResponse & GetDestinationOptions() const
FlowLog & WithLogFormat(const Aws::String &value)
bool LogGroupNameHasBeenSet() const
void SetLogGroupName(const Aws::String &value)
FlowLog & WithDestinationOptions(const DestinationOptionsResponse &value)
const Aws::String & GetResourceId() const
FlowLog & WithFlowLogId(Aws::String &&value)
void SetLogDestination(Aws::String &&value)
FlowLog & WithMaxAggregationInterval(int value)
FlowLog & AddTags(Tag &&value)
const Aws::String & GetDeliverLogsPermissionArn() const
void SetDeliverLogsStatus(const Aws::String &value)
void SetFlowLogId(const Aws::String &value)
void SetResourceId(const char *value)
const LogDestinationType & GetLogDestinationType() const
void SetFlowLogId(const char *value)
bool LogDestinationTypeHasBeenSet() const
bool LogDestinationHasBeenSet() const
FlowLog & WithLogFormat(const char *value)
FlowLog & WithDeliverLogsPermissionArn(const char *value)
FlowLog & WithTrafficType(const TrafficType &value)
void SetDeliverLogsStatus(const char *value)
void SetLogDestinationType(const LogDestinationType &value)
FlowLog & WithDeliverLogsErrorMessage(const Aws::String &value)
bool TagsHasBeenSet() const
FlowLog & WithTrafficType(TrafficType &&value)
void SetTrafficType(const TrafficType &value)
const Aws::String & GetLogFormat() const
void SetMaxAggregationInterval(int value)
FlowLog & WithFlowLogId(const char *value)
FlowLog & WithDeliverCrossAccountRole(const Aws::String &value)
FlowLog & WithFlowLogId(const Aws::String &value)
void SetLogGroupName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetFlowLogStatus(const char *value)
FlowLog & WithTags(Aws::Vector< Tag > &&value)
bool DeliverLogsPermissionArnHasBeenSet() const
void SetFlowLogStatus(const Aws::String &value)
void SetDeliverLogsStatus(Aws::String &&value)
FlowLog & WithLogDestination(Aws::String &&value)
void SetDeliverCrossAccountRole(Aws::String &&value)
void SetDeliverLogsErrorMessage(const char *value)
FlowLog & WithLogGroupName(Aws::String &&value)
bool FlowLogIdHasBeenSet() const
const Aws::String & GetDeliverLogsStatus() const
void SetDeliverLogsPermissionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream