7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ec2/model/Protocol.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/PathFilter.h>
14#include <aws/ec2/model/Tag.h>
53 template<
typename NetworkInsightsPathIdT = Aws::String>
54 void SetNetworkInsightsPathId(NetworkInsightsPathIdT&& value) { m_networkInsightsPathIdHasBeenSet =
true; m_networkInsightsPathId = std::forward<NetworkInsightsPathIdT>(value); }
55 template<
typename NetworkInsightsPathIdT = Aws::String>
65 template<
typename NetworkInsightsPathArnT = Aws::String>
66 void SetNetworkInsightsPathArn(NetworkInsightsPathArnT&& value) { m_networkInsightsPathArnHasBeenSet =
true; m_networkInsightsPathArn = std::forward<NetworkInsightsPathArnT>(value); }
67 template<
typename NetworkInsightsPathArnT = Aws::String>
77 template<
typename CreatedDateT = Aws::Utils::DateTime>
78 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
79 template<
typename CreatedDateT = Aws::Utils::DateTime>
89 template<
typename SourceT = Aws::String>
90 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
91 template<
typename SourceT = Aws::String>
101 template<
typename DestinationT = Aws::String>
102 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
103 template<
typename DestinationT = Aws::String>
113 template<
typename SourceArnT = Aws::String>
114 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet =
true; m_sourceArn = std::forward<SourceArnT>(value); }
115 template<
typename SourceArnT = Aws::String>
125 template<
typename DestinationArnT = Aws::String>
126 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet =
true; m_destinationArn = std::forward<DestinationArnT>(value); }
127 template<
typename DestinationArnT = Aws::String>
137 template<
typename SourceIpT = Aws::String>
138 void SetSourceIp(SourceIpT&& value) { m_sourceIpHasBeenSet =
true; m_sourceIp = std::forward<SourceIpT>(value); }
139 template<
typename SourceIpT = Aws::String>
149 template<
typename DestinationIpT = Aws::String>
150 void SetDestinationIp(DestinationIpT&& value) { m_destinationIpHasBeenSet =
true; m_destinationIp = std::forward<DestinationIpT>(value); }
151 template<
typename DestinationIpT = Aws::String>
171 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
181 template<
typename TagsT = Aws::Vector<Tag>>
182 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
183 template<
typename TagsT = Aws::Vector<Tag>>
185 template<
typename TagsT = Tag>
196 template<
typename FilterAtSourceT = PathFilter>
197 void SetFilterAtSource(FilterAtSourceT&& value) { m_filterAtSourceHasBeenSet =
true; m_filterAtSource = std::forward<FilterAtSourceT>(value); }
198 template<
typename FilterAtSourceT = PathFilter>
209 template<
typename FilterAtDestinationT = PathFilter>
210 void SetFilterAtDestination(FilterAtDestinationT&& value) { m_filterAtDestinationHasBeenSet =
true; m_filterAtDestination = std::forward<FilterAtDestinationT>(value); }
211 template<
typename FilterAtDestinationT = PathFilter>
217 bool m_networkInsightsPathIdHasBeenSet =
false;
220 bool m_networkInsightsPathArnHasBeenSet =
false;
223 bool m_createdDateHasBeenSet =
false;
226 bool m_sourceHasBeenSet =
false;
229 bool m_destinationHasBeenSet =
false;
232 bool m_sourceArnHasBeenSet =
false;
235 bool m_destinationArnHasBeenSet =
false;
238 bool m_sourceIpHasBeenSet =
false;
241 bool m_destinationIpHasBeenSet =
false;
244 bool m_protocolHasBeenSet =
false;
246 int m_destinationPort{0};
247 bool m_destinationPortHasBeenSet =
false;
250 bool m_tagsHasBeenSet =
false;
252 PathFilter m_filterAtSource;
253 bool m_filterAtSourceHasBeenSet =
false;
255 PathFilter m_filterAtDestination;
256 bool m_filterAtDestinationHasBeenSet =
false;
const Aws::String & GetSourceArn() const
void SetDestinationPort(int value)
void SetSourceIp(SourceIpT &&value)
NetworkInsightsPath & WithFilterAtSource(FilterAtSourceT &&value)
NetworkInsightsPath & WithDestination(DestinationT &&value)
void SetSource(SourceT &&value)
const Aws::String & GetDestination() const
int GetDestinationPort() const
const Aws::String & GetDestinationIp() const
NetworkInsightsPath & WithFilterAtDestination(FilterAtDestinationT &&value)
void SetFilterAtSource(FilterAtSourceT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNetworkInsightsPathId(NetworkInsightsPathIdT &&value)
void SetNetworkInsightsPathArn(NetworkInsightsPathArnT &&value)
const Aws::String & GetSourceIp() const
NetworkInsightsPath & WithSourceIp(SourceIpT &&value)
const Aws::String & GetNetworkInsightsPathId() const
Protocol GetProtocol() const
NetworkInsightsPath & WithDestinationArn(DestinationArnT &&value)
NetworkInsightsPath & WithDestinationIp(DestinationIpT &&value)
bool SourceArnHasBeenSet() const
const PathFilter & GetFilterAtSource() const
NetworkInsightsPath & WithDestinationPort(int value)
void SetTags(TagsT &&value)
AWS_EC2_API NetworkInsightsPath()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API NetworkInsightsPath(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDestinationArn(DestinationArnT &&value)
NetworkInsightsPath & WithProtocol(Protocol value)
bool DestinationArnHasBeenSet() const
bool TagsHasBeenSet() const
const PathFilter & GetFilterAtDestination() const
bool CreatedDateHasBeenSet() const
bool DestinationIpHasBeenSet() const
NetworkInsightsPath & WithNetworkInsightsPathId(NetworkInsightsPathIdT &&value)
bool SourceHasBeenSet() const
bool DestinationHasBeenSet() const
NetworkInsightsPath & WithNetworkInsightsPathArn(NetworkInsightsPathArnT &&value)
NetworkInsightsPath & WithTags(TagsT &&value)
bool NetworkInsightsPathIdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetSource() const
bool NetworkInsightsPathArnHasBeenSet() const
NetworkInsightsPath & WithSourceArn(SourceArnT &&value)
void SetDestinationIp(DestinationIpT &&value)
void SetSourceArn(SourceArnT &&value)
AWS_EC2_API NetworkInsightsPath & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFilterAtDestination(FilterAtDestinationT &&value)
NetworkInsightsPath & AddTags(TagsT &&value)
NetworkInsightsPath & WithCreatedDate(CreatedDateT &&value)
void SetDestination(DestinationT &&value)
bool SourceIpHasBeenSet() const
const Aws::String & GetDestinationArn() const
void SetCreatedDate(CreatedDateT &&value)
void SetProtocol(Protocol value)
const Aws::String & GetNetworkInsightsPathArn() const
NetworkInsightsPath & WithSource(SourceT &&value)
bool FilterAtSourceHasBeenSet() const
bool ProtocolHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool FilterAtDestinationHasBeenSet() const
bool DestinationPortHasBeenSet() const
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