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/ec2/model/Protocol.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/PathRequestFilter.h>
13#include <aws/ec2/model/TagSpecification.h>
15#include <aws/core/utils/UUID.h>
50 template<
typename SourceIpT = Aws::String>
51 void SetSourceIp(SourceIpT&& value) { m_sourceIpHasBeenSet =
true; m_sourceIp = std::forward<SourceIpT>(value); }
52 template<
typename SourceIpT = Aws::String>
62 template<
typename DestinationIpT = Aws::String>
63 void SetDestinationIp(DestinationIpT&& value) { m_destinationIpHasBeenSet =
true; m_destinationIp = std::forward<DestinationIpT>(value); }
64 template<
typename DestinationIpT = Aws::String>
75 template<
typename SourceT = Aws::String>
76 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
77 template<
typename SourceT = Aws::String>
88 template<
typename DestinationT = Aws::String>
89 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
90 template<
typename DestinationT = Aws::String>
110 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
120 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
121 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
122 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
124 template<
typename TagSpecificationsT = TagSpecification>
137 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
150 template<
typename ClientTokenT = Aws::String>
151 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
152 template<
typename ClientTokenT = Aws::String>
164 template<
typename FilterAtSourceT = PathRequestFilter>
165 void SetFilterAtSource(FilterAtSourceT&& value) { m_filterAtSourceHasBeenSet =
true; m_filterAtSource = std::forward<FilterAtSourceT>(value); }
166 template<
typename FilterAtSourceT = PathRequestFilter>
178 template<
typename FilterAtDestinationT = PathRequestFilter>
179 void SetFilterAtDestination(FilterAtDestinationT&& value) { m_filterAtDestinationHasBeenSet =
true; m_filterAtDestination = std::forward<FilterAtDestinationT>(value); }
180 template<
typename FilterAtDestinationT = PathRequestFilter>
186 bool m_sourceIpHasBeenSet =
false;
189 bool m_destinationIpHasBeenSet =
false;
192 bool m_sourceHasBeenSet =
false;
195 bool m_destinationHasBeenSet =
false;
198 bool m_protocolHasBeenSet =
false;
200 int m_destinationPort{0};
201 bool m_destinationPortHasBeenSet =
false;
204 bool m_tagSpecificationsHasBeenSet =
false;
206 bool m_dryRun{
false};
207 bool m_dryRunHasBeenSet =
false;
210 bool m_clientTokenHasBeenSet =
true;
212 PathRequestFilter m_filterAtSource;
213 bool m_filterAtSourceHasBeenSet =
false;
215 PathRequestFilter m_filterAtDestination;
216 bool m_filterAtDestinationHasBeenSet =
false;
void SetDestination(DestinationT &&value)
CreateNetworkInsightsPathRequest & WithFilterAtSource(FilterAtSourceT &&value)
CreateNetworkInsightsPathRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetDestinationPort(int value)
bool DestinationPortHasBeenSet() const
const PathRequestFilter & GetFilterAtDestination() const
void SetProtocol(Protocol value)
CreateNetworkInsightsPathRequest & WithSourceIp(SourceIpT &&value)
CreateNetworkInsightsPathRequest & WithDestinationPort(int value)
void SetSourceIp(SourceIpT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetSource() const
bool DryRunHasBeenSet() const
CreateNetworkInsightsPathRequest & WithSource(SourceT &&value)
CreateNetworkInsightsPathRequest & WithProtocol(Protocol value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
void SetDestinationIp(DestinationIpT &&value)
bool ClientTokenHasBeenSet() const
CreateNetworkInsightsPathRequest & WithClientToken(ClientTokenT &&value)
bool SourceIpHasBeenSet() const
void SetFilterAtSource(FilterAtSourceT &&value)
void SetDryRun(bool value)
CreateNetworkInsightsPathRequest & WithFilterAtDestination(FilterAtDestinationT &&value)
const Aws::String & GetDestination() const
bool TagSpecificationsHasBeenSet() const
CreateNetworkInsightsPathRequest & WithDestinationIp(DestinationIpT &&value)
AWS_EC2_API CreateNetworkInsightsPathRequest()=default
const PathRequestFilter & GetFilterAtSource() const
CreateNetworkInsightsPathRequest & WithTagSpecifications(TagSpecificationsT &&value)
Protocol GetProtocol() const
void SetFilterAtDestination(FilterAtDestinationT &&value)
virtual const char * GetServiceRequestName() const override
bool SourceHasBeenSet() const
bool FilterAtSourceHasBeenSet() const
void SetSource(SourceT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
CreateNetworkInsightsPathRequest & WithDryRun(bool value)
int GetDestinationPort() const
const Aws::String & GetDestinationIp() const
CreateNetworkInsightsPathRequest & WithDestination(DestinationT &&value)
bool DestinationHasBeenSet() const
const Aws::String & GetSourceIp() const
bool DestinationIpHasBeenSet() const
bool FilterAtDestinationHasBeenSet() const
bool ProtocolHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector