7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/PathFilter.h>
13#include <aws/ec2/model/Protocol.h>
14#include <aws/ec2/model/Tag.h>
47 template <
typename NetworkInsightsPathIdT = Aws::String>
49 m_networkInsightsPathIdHasBeenSet =
true;
50 m_networkInsightsPathId = std::forward<NetworkInsightsPathIdT>(value);
52 template <
typename NetworkInsightsPathIdT = Aws::String>
65 template <
typename NetworkInsightsPathArnT = Aws::String>
67 m_networkInsightsPathArnHasBeenSet =
true;
68 m_networkInsightsPathArn = std::forward<NetworkInsightsPathArnT>(value);
70 template <
typename NetworkInsightsPathArnT = Aws::String>
83 template <
typename CreatedDateT = Aws::Utils::DateTime>
85 m_createdDateHasBeenSet =
true;
86 m_createdDate = std::forward<CreatedDateT>(value);
88 template <
typename CreatedDateT = Aws::Utils::DateTime>
101 template <
typename SourceT = Aws::String>
103 m_sourceHasBeenSet =
true;
104 m_source = std::forward<SourceT>(value);
106 template <
typename SourceT = Aws::String>
119 template <
typename DestinationT = Aws::String>
121 m_destinationHasBeenSet =
true;
122 m_destination = std::forward<DestinationT>(value);
124 template <
typename DestinationT = Aws::String>
137 template <
typename SourceArnT = Aws::String>
139 m_sourceArnHasBeenSet =
true;
140 m_sourceArn = std::forward<SourceArnT>(value);
142 template <
typename SourceArnT = Aws::String>
155 template <
typename DestinationArnT = Aws::String>
157 m_destinationArnHasBeenSet =
true;
158 m_destinationArn = std::forward<DestinationArnT>(value);
160 template <
typename DestinationArnT = Aws::String>
173 template <
typename SourceIpT = Aws::String>
175 m_sourceIpHasBeenSet =
true;
176 m_sourceIp = std::forward<SourceIpT>(value);
178 template <
typename SourceIpT = Aws::String>
191 template <
typename DestinationIpT = Aws::String>
193 m_destinationIpHasBeenSet =
true;
194 m_destinationIp = std::forward<DestinationIpT>(value);
196 template <
typename DestinationIpT = Aws::String>
210 m_protocolHasBeenSet =
true;
226 m_destinationPortHasBeenSet =
true;
227 m_destinationPort = value;
241 template <
typename TagsT = Aws::Vector<Tag>>
243 m_tagsHasBeenSet =
true;
244 m_tags = std::forward<TagsT>(value);
246 template <
typename TagsT = Aws::Vector<Tag>>
248 SetTags(std::forward<TagsT>(value));
251 template <
typename TagsT = Tag>
253 m_tagsHasBeenSet =
true;
254 m_tags.emplace_back(std::forward<TagsT>(value));
266 template <
typename FilterAtSourceT = PathFilter>
268 m_filterAtSourceHasBeenSet =
true;
269 m_filterAtSource = std::forward<FilterAtSourceT>(value);
271 template <
typename FilterAtSourceT = PathFilter>
285 template <
typename FilterAtDestinationT = PathFilter>
287 m_filterAtDestinationHasBeenSet =
true;
288 m_filterAtDestination = std::forward<FilterAtDestinationT>(value);
290 template <
typename FilterAtDestinationT = PathFilter>
317 int m_destinationPort{0};
321 PathFilter m_filterAtSource;
323 PathFilter m_filterAtDestination;
324 bool m_networkInsightsPathIdHasBeenSet =
false;
325 bool m_networkInsightsPathArnHasBeenSet =
false;
326 bool m_createdDateHasBeenSet =
false;
327 bool m_sourceHasBeenSet =
false;
328 bool m_destinationHasBeenSet =
false;
329 bool m_sourceArnHasBeenSet =
false;
330 bool m_destinationArnHasBeenSet =
false;
331 bool m_sourceIpHasBeenSet =
false;
332 bool m_destinationIpHasBeenSet =
false;
333 bool m_protocolHasBeenSet =
false;
334 bool m_destinationPortHasBeenSet =
false;
335 bool m_tagsHasBeenSet =
false;
336 bool m_filterAtSourceHasBeenSet =
false;
337 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