7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/networkmonitor/NetworkMonitor_EXPORTS.h>
11#include <aws/networkmonitor/model/AddressFamily.h>
12#include <aws/networkmonitor/model/ProbeState.h>
13#include <aws/networkmonitor/model/Protocol.h>
24namespace NetworkMonitor {
35 AWS_NETWORKMONITOR_API
Probe() =
default;
46 template <
typename ProbeIdT = Aws::String>
48 m_probeIdHasBeenSet =
true;
49 m_probeId = std::forward<ProbeIdT>(value);
51 template <
typename ProbeIdT = Aws::String>
64 template <
typename ProbeArnT = Aws::String>
66 m_probeArnHasBeenSet =
true;
67 m_probeArn = std::forward<ProbeArnT>(value);
69 template <
typename ProbeArnT = Aws::String>
82 template <
typename SourceArnT = Aws::String>
84 m_sourceArnHasBeenSet =
true;
85 m_sourceArn = std::forward<SourceArnT>(value);
87 template <
typename SourceArnT = Aws::String>
101 template <
typename DestinationT = Aws::String>
103 m_destinationHasBeenSet =
true;
104 m_destination = std::forward<DestinationT>(value);
106 template <
typename DestinationT = Aws::String>
122 m_destinationPortHasBeenSet =
true;
123 m_destinationPort = value;
140 m_protocolHasBeenSet =
true;
157 m_packetSizeHasBeenSet =
true;
158 m_packetSize = value;
173 m_addressFamilyHasBeenSet =
true;
174 m_addressFamily = value;
188 template <
typename VpcIdT = Aws::String>
190 m_vpcIdHasBeenSet =
true;
191 m_vpcId = std::forward<VpcIdT>(value);
193 template <
typename VpcIdT = Aws::String>
195 SetVpcId(std::forward<VpcIdT>(value));
207 m_stateHasBeenSet =
true;
222 template <
typename CreatedAtT = Aws::Utils::DateTime>
224 m_createdAtHasBeenSet =
true;
225 m_createdAt = std::forward<CreatedAtT>(value);
227 template <
typename CreatedAtT = Aws::Utils::DateTime>
240 template <
typename ModifiedAtT = Aws::Utils::DateTime>
242 m_modifiedAtHasBeenSet =
true;
243 m_modifiedAt = std::forward<ModifiedAtT>(value);
245 template <
typename ModifiedAtT = Aws::Utils::DateTime>
258 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
260 m_tagsHasBeenSet =
true;
261 m_tags = std::forward<TagsT>(value);
263 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
265 SetTags(std::forward<TagsT>(value));
268 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
270 m_tagsHasBeenSet =
true;
271 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
284 int m_destinationPort{0};
301 bool m_probeIdHasBeenSet =
false;
302 bool m_probeArnHasBeenSet =
false;
303 bool m_sourceArnHasBeenSet =
false;
304 bool m_destinationHasBeenSet =
false;
305 bool m_destinationPortHasBeenSet =
false;
306 bool m_protocolHasBeenSet =
false;
307 bool m_packetSizeHasBeenSet =
false;
308 bool m_addressFamilyHasBeenSet =
false;
309 bool m_vpcIdHasBeenSet =
false;
310 bool m_stateHasBeenSet =
false;
311 bool m_createdAtHasBeenSet =
false;
312 bool m_modifiedAtHasBeenSet =
false;
313 bool m_tagsHasBeenSet =
false;
const Aws::String & GetSourceArn() const
bool CreatedAtHasBeenSet() const
int GetPacketSize() const
bool AddressFamilyHasBeenSet() const
const Aws::String & GetProbeId() const
bool ProbeArnHasBeenSet() const
bool PacketSizeHasBeenSet() const
Probe & WithPacketSize(int value)
AWS_NETWORKMONITOR_API Probe()=default
void SetVpcId(VpcIdT &&value)
bool ModifiedAtHasBeenSet() const
void SetDestinationPort(int value)
void SetProbeId(ProbeIdT &&value)
bool ProtocolHasBeenSet() const
bool DestinationPortHasBeenSet() const
Probe & WithModifiedAt(ModifiedAtT &&value)
AWS_NETWORKMONITOR_API Probe(Aws::Utils::Json::JsonView jsonValue)
bool SourceArnHasBeenSet() const
void SetAddressFamily(AddressFamily value)
Probe & WithProbeId(ProbeIdT &&value)
Probe & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
void SetState(ProbeState value)
Probe & WithVpcId(VpcIdT &&value)
void SetTags(TagsT &&value)
Probe & WithDestination(DestinationT &&value)
AWS_NETWORKMONITOR_API Probe & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceArn(SourceArnT &&value)
void SetPacketSize(int value)
const Aws::Utils::DateTime & GetModifiedAt() const
Probe & WithTags(TagsT &&value)
const Aws::String & GetVpcId() const
AddressFamily GetAddressFamily() const
const Aws::String & GetProbeArn() const
AWS_NETWORKMONITOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
bool DestinationHasBeenSet() const
void SetProtocol(Protocol value)
const Aws::Utils::DateTime & GetCreatedAt() const
Probe & WithProtocol(Protocol value)
Probe & WithAddressFamily(AddressFamily value)
int GetDestinationPort() const
bool ProbeIdHasBeenSet() const
void SetDestination(DestinationT &&value)
void SetModifiedAt(ModifiedAtT &&value)
Probe & WithState(ProbeState value)
void SetProbeArn(ProbeArnT &&value)
bool VpcIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool StateHasBeenSet() const
Probe & WithDestinationPort(int value)
Probe & WithSourceArn(SourceArnT &&value)
Probe & WithCreatedAt(CreatedAtT &&value)
Probe & WithProbeArn(ProbeArnT &&value)
Protocol GetProtocol() const
const Aws::String & GetDestination() const
ProbeState GetState() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue