7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/FlowLogsResourceType.h>
12#include <aws/ec2/model/TrafficType.h>
13#include <aws/ec2/model/LogDestinationType.h>
14#include <aws/ec2/model/DestinationOptionsRequest.h>
15#include <aws/ec2/model/TagSpecification.h>
54 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
69 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
87 inline void SetDeliverLogsPermissionArn(
const char* value) { m_deliverLogsPermissionArnHasBeenSet =
true; m_deliverLogsPermissionArn.assign(value); }
102 inline void SetDeliverCrossAccountRole(
const char* value) { m_deliverCrossAccountRoleHasBeenSet =
true; m_deliverCrossAccountRole.assign(value); }
118 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
202 inline void SetLogDestination(
const char* value) { m_logDestinationHasBeenSet =
true; m_logDestination.assign(value); }
225 inline void SetLogFormat(
const char* value) { m_logFormatHasBeenSet =
true; m_logFormat.assign(value); }
275 bool m_dryRunHasBeenSet =
false;
278 bool m_clientTokenHasBeenSet =
false;
281 bool m_deliverLogsPermissionArnHasBeenSet =
false;
284 bool m_deliverCrossAccountRoleHasBeenSet =
false;
287 bool m_logGroupNameHasBeenSet =
false;
290 bool m_resourceIdsHasBeenSet =
false;
293 bool m_resourceTypeHasBeenSet =
false;
296 bool m_trafficTypeHasBeenSet =
false;
299 bool m_logDestinationTypeHasBeenSet =
false;
302 bool m_logDestinationHasBeenSet =
false;
305 bool m_logFormatHasBeenSet =
false;
308 bool m_tagSpecificationsHasBeenSet =
false;
310 int m_maxAggregationInterval;
311 bool m_maxAggregationIntervalHasBeenSet =
false;
314 bool m_destinationOptionsHasBeenSet =
false;
bool LogDestinationTypeHasBeenSet() const
CreateFlowLogsRequest & AddTagSpecifications(TagSpecification &&value)
const Aws::String & GetDeliverCrossAccountRole() const
CreateFlowLogsRequest & WithLogGroupName(const char *value)
const FlowLogsResourceType & GetResourceType() const
bool TrafficTypeHasBeenSet() const
CreateFlowLogsRequest & WithLogDestinationType(LogDestinationType &&value)
CreateFlowLogsRequest & WithDestinationOptions(DestinationOptionsRequest &&value)
void SetDeliverLogsPermissionArn(const Aws::String &value)
void SetTrafficType(TrafficType &&value)
void SetLogGroupName(Aws::String &&value)
CreateFlowLogsRequest & WithTrafficType(const TrafficType &value)
const TrafficType & GetTrafficType() const
bool ResourceIdsHasBeenSet() const
const Aws::String & GetLogGroupName() const
const LogDestinationType & GetLogDestinationType() const
CreateFlowLogsRequest & WithDeliverLogsPermissionArn(const Aws::String &value)
void SetLogGroupName(const char *value)
CreateFlowLogsRequest & WithLogGroupName(const Aws::String &value)
CreateFlowLogsRequest & AddTagSpecifications(const TagSpecification &value)
CreateFlowLogsRequest & WithLogFormat(const Aws::String &value)
void SetLogFormat(const Aws::String &value)
void SetLogDestination(Aws::String &&value)
CreateFlowLogsRequest & WithLogFormat(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
void SetLogDestinationType(LogDestinationType &&value)
CreateFlowLogsRequest & WithDeliverCrossAccountRole(Aws::String &&value)
CreateFlowLogsRequest & WithLogGroupName(Aws::String &&value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateFlowLogsRequest & WithDeliverLogsPermissionArn(Aws::String &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateFlowLogsRequest & WithClientToken(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const DestinationOptionsRequest & GetDestinationOptions() const
void SetDeliverCrossAccountRole(const Aws::String &value)
CreateFlowLogsRequest & WithMaxAggregationInterval(int value)
CreateFlowLogsRequest & AddResourceIds(Aws::String &&value)
AWS_EC2_API CreateFlowLogsRequest()
void SetDryRun(bool value)
CreateFlowLogsRequest & WithLogFormat(const char *value)
CreateFlowLogsRequest & WithResourceIds(Aws::Vector< Aws::String > &&value)
bool LogDestinationHasBeenSet() const
CreateFlowLogsRequest & AddResourceIds(const char *value)
bool LogFormatHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetDeliverCrossAccountRole(const char *value)
bool ResourceTypeHasBeenSet() const
bool DeliverCrossAccountRoleHasBeenSet() const
void SetDestinationOptions(const DestinationOptionsRequest &value)
void SetResourceType(const FlowLogsResourceType &value)
void SetResourceIds(const Aws::Vector< Aws::String > &value)
void SetClientToken(const char *value)
void SetLogDestinationType(const LogDestinationType &value)
const Aws::String & GetLogFormat() const
const Aws::Vector< Aws::String > & GetResourceIds() const
CreateFlowLogsRequest & WithDestinationOptions(const DestinationOptionsRequest &value)
void SetLogFormat(const char *value)
CreateFlowLogsRequest & WithResourceType(const FlowLogsResourceType &value)
CreateFlowLogsRequest & WithDeliverCrossAccountRole(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateFlowLogsRequest & WithDeliverCrossAccountRole(const char *value)
bool DeliverLogsPermissionArnHasBeenSet() const
bool LogGroupNameHasBeenSet() const
CreateFlowLogsRequest & WithResourceType(FlowLogsResourceType &&value)
CreateFlowLogsRequest & WithLogDestination(const char *value)
void SetLogGroupName(const Aws::String &value)
CreateFlowLogsRequest & WithDryRun(bool value)
CreateFlowLogsRequest & WithDeliverLogsPermissionArn(const char *value)
void SetResourceType(FlowLogsResourceType &&value)
bool DryRunHasBeenSet() const
CreateFlowLogsRequest & WithLogDestination(Aws::String &&value)
CreateFlowLogsRequest & AddResourceIds(const Aws::String &value)
CreateFlowLogsRequest & WithClientToken(Aws::String &&value)
void SetDeliverLogsPermissionArn(Aws::String &&value)
CreateFlowLogsRequest & WithClientToken(const char *value)
int GetMaxAggregationInterval() const
void SetMaxAggregationInterval(int value)
bool DestinationOptionsHasBeenSet() const
void SetDeliverCrossAccountRole(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetLogDestination(const Aws::String &value)
void SetResourceIds(Aws::Vector< Aws::String > &&value)
CreateFlowLogsRequest & WithResourceIds(const Aws::Vector< Aws::String > &value)
CreateFlowLogsRequest & WithLogDestination(const Aws::String &value)
bool MaxAggregationIntervalHasBeenSet() const
void SetLogDestination(const char *value)
void SetDeliverLogsPermissionArn(const char *value)
const Aws::String & GetLogDestination() const
void SetLogFormat(Aws::String &&value)
void SetTrafficType(const TrafficType &value)
CreateFlowLogsRequest & WithTrafficType(TrafficType &&value)
const Aws::String & GetClientToken() const
CreateFlowLogsRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetDeliverLogsPermissionArn() const
virtual const char * GetServiceRequestName() const override
void SetDestinationOptions(DestinationOptionsRequest &&value)
CreateFlowLogsRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateFlowLogsRequest & WithLogDestinationType(const LogDestinationType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector