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/TagSpecification.h>
13#include <aws/core/utils/UUID.h>
48 template<
typename NetworkInterfaceIdT = Aws::String>
49 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet =
true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
50 template<
typename NetworkInterfaceIdT = Aws::String>
61 template<
typename NetworkLoadBalancerArnT = Aws::String>
62 void SetNetworkLoadBalancerArn(NetworkLoadBalancerArnT&& value) { m_networkLoadBalancerArnHasBeenSet =
true; m_networkLoadBalancerArn = std::forward<NetworkLoadBalancerArnT>(value); }
63 template<
typename NetworkLoadBalancerArnT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
85 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
86 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
87 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
89 template<
typename TagSpecificationsT = TagSpecification>
102 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
115 template<
typename ClientTokenT = Aws::String>
116 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
117 template<
typename ClientTokenT = Aws::String>
127 template<
typename GatewayLoadBalancerEndpo
intIdT = Aws::String>
128 void SetGatewayLoadBalancerEndpointId(GatewayLoadBalancerEndpointIdT&& value) { m_gatewayLoadBalancerEndpointIdHasBeenSet =
true; m_gatewayLoadBalancerEndpointId = std::forward<GatewayLoadBalancerEndpointIdT>(value); }
129 template<
typename GatewayLoadBalancerEndpo
intIdT = Aws::String>
135 bool m_networkInterfaceIdHasBeenSet =
false;
138 bool m_networkLoadBalancerArnHasBeenSet =
false;
141 bool m_descriptionHasBeenSet =
false;
144 bool m_tagSpecificationsHasBeenSet =
false;
146 bool m_dryRun{
false};
147 bool m_dryRunHasBeenSet =
false;
150 bool m_clientTokenHasBeenSet =
true;
153 bool m_gatewayLoadBalancerEndpointIdHasBeenSet =
false;
bool DescriptionHasBeenSet() const
CreateTrafficMirrorTargetRequest & WithNetworkLoadBalancerArn(NetworkLoadBalancerArnT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetNetworkLoadBalancerArn(NetworkLoadBalancerArnT &&value)
CreateTrafficMirrorTargetRequest & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API CreateTrafficMirrorTargetRequest()=default
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
CreateTrafficMirrorTargetRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetGatewayLoadBalancerEndpointId() const
const Aws::String & GetDescription() const
bool TagSpecificationsHasBeenSet() const
CreateTrafficMirrorTargetRequest & WithDescription(DescriptionT &&value)
bool NetworkInterfaceIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTagSpecifications(TagSpecificationsT &&value)
CreateTrafficMirrorTargetRequest & WithClientToken(ClientTokenT &&value)
bool NetworkLoadBalancerArnHasBeenSet() const
void SetGatewayLoadBalancerEndpointId(GatewayLoadBalancerEndpointIdT &&value)
bool GatewayLoadBalancerEndpointIdHasBeenSet() const
const Aws::String & GetNetworkLoadBalancerArn() const
bool ClientTokenHasBeenSet() const
void SetDryRun(bool value)
const Aws::String & GetClientToken() const
const Aws::String & GetNetworkInterfaceId() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetClientToken(ClientTokenT &&value)
CreateTrafficMirrorTargetRequest & WithDryRun(bool value)
CreateTrafficMirrorTargetRequest & WithGatewayLoadBalancerEndpointId(GatewayLoadBalancerEndpointIdT &&value)
CreateTrafficMirrorTargetRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool DryRunHasBeenSet() const
void SetDescription(DescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector