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>
52 inline void SetSourceIp(
const char* value) { m_sourceIpHasBeenSet =
true; m_sourceIp.assign(value); }
66 inline void SetDestinationIp(
const char* value) { m_destinationIpHasBeenSet =
true; m_destinationIp.assign(value); }
81 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
96 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
120 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
147 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
162 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
198 bool m_sourceIpHasBeenSet =
false;
201 bool m_destinationIpHasBeenSet =
false;
204 bool m_sourceHasBeenSet =
false;
207 bool m_destinationHasBeenSet =
false;
210 bool m_protocolHasBeenSet =
false;
212 int m_destinationPort;
213 bool m_destinationPortHasBeenSet =
false;
216 bool m_tagSpecificationsHasBeenSet =
false;
219 bool m_dryRunHasBeenSet =
false;
222 bool m_clientTokenHasBeenSet =
false;
225 bool m_filterAtSourceHasBeenSet =
false;
228 bool m_filterAtDestinationHasBeenSet =
false;
void SetDestinationIp(const Aws::String &value)
CreateNetworkInsightsPathRequest & WithDestinationIp(const Aws::String &value)
AWS_EC2_API CreateNetworkInsightsPathRequest()
void SetClientToken(const char *value)
void SetSourceIp(const char *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
CreateNetworkInsightsPathRequest & WithSource(Aws::String &&value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
const PathRequestFilter & GetFilterAtDestination() const
CreateNetworkInsightsPathRequest & WithDestinationIp(const char *value)
void SetFilterAtSource(PathRequestFilter &&value)
void SetDestination(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateNetworkInsightsPathRequest & WithProtocol(const Protocol &value)
CreateNetworkInsightsPathRequest & WithDestinationPort(int value)
void SetFilterAtSource(const PathRequestFilter &value)
const Protocol & GetProtocol() const
const Aws::String & GetSource() const
bool DryRunHasBeenSet() const
CreateNetworkInsightsPathRequest & WithClientToken(const char *value)
CreateNetworkInsightsPathRequest & WithSourceIp(const char *value)
CreateNetworkInsightsPathRequest & AddTagSpecifications(TagSpecification &&value)
CreateNetworkInsightsPathRequest & AddTagSpecifications(const TagSpecification &value)
void SetSource(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CreateNetworkInsightsPathRequest & WithDestination(const Aws::String &value)
const Aws::String & GetClientToken() const
CreateNetworkInsightsPathRequest & WithFilterAtSource(PathRequestFilter &&value)
bool ClientTokenHasBeenSet() const
CreateNetworkInsightsPathRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateNetworkInsightsPathRequest & WithFilterAtDestination(const PathRequestFilter &value)
void SetClientToken(const Aws::String &value)
bool SourceIpHasBeenSet() const
CreateNetworkInsightsPathRequest & WithDestination(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetSourceIp(Aws::String &&value)
void SetDestinationIp(Aws::String &&value)
void SetDryRun(bool value)
void SetDestinationIp(const char *value)
const Aws::String & GetDestination() const
bool TagSpecificationsHasBeenSet() const
void SetFilterAtDestination(const PathRequestFilter &value)
CreateNetworkInsightsPathRequest & WithSourceIp(Aws::String &&value)
CreateNetworkInsightsPathRequest & WithFilterAtSource(const PathRequestFilter &value)
void SetSource(const char *value)
void SetProtocol(Protocol &&value)
CreateNetworkInsightsPathRequest & WithSource(const char *value)
CreateNetworkInsightsPathRequest & WithClientToken(const Aws::String &value)
const PathRequestFilter & GetFilterAtSource() const
CreateNetworkInsightsPathRequest & WithSource(const Aws::String &value)
void SetFilterAtDestination(PathRequestFilter &&value)
CreateNetworkInsightsPathRequest & WithClientToken(Aws::String &&value)
void SetDestination(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetProtocol(const Protocol &value)
CreateNetworkInsightsPathRequest & WithDestinationIp(Aws::String &&value)
bool SourceHasBeenSet() const
bool FilterAtSourceHasBeenSet() const
CreateNetworkInsightsPathRequest & WithDestination(Aws::String &&value)
CreateNetworkInsightsPathRequest & WithProtocol(Protocol &&value)
CreateNetworkInsightsPathRequest & WithFilterAtDestination(PathRequestFilter &&value)
void SetSourceIp(const Aws::String &value)
CreateNetworkInsightsPathRequest & WithDryRun(bool value)
int GetDestinationPort() const
CreateNetworkInsightsPathRequest & WithSourceIp(const Aws::String &value)
const Aws::String & GetDestinationIp() const
CreateNetworkInsightsPathRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetDestination(const char *value)
bool DestinationHasBeenSet() const
const Aws::String & GetSourceIp() const
void SetSource(const Aws::String &value)
bool DestinationIpHasBeenSet() const
bool FilterAtDestinationHasBeenSet() const
bool ProtocolHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector