7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/networkmonitor/NetworkMonitor_EXPORTS.h>
12#include <aws/networkmonitor/model/AddressFamily.h>
13#include <aws/networkmonitor/model/ProbeState.h>
14#include <aws/networkmonitor/model/Protocol.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace NetworkMonitor {
40 template <
typename ProbeIdT = Aws::String>
42 m_probeIdHasBeenSet =
true;
43 m_probeId = std::forward<ProbeIdT>(value);
45 template <
typename ProbeIdT = Aws::String>
57 template <
typename ProbeArnT = Aws::String>
59 m_probeArnHasBeenSet =
true;
60 m_probeArn = std::forward<ProbeArnT>(value);
62 template <
typename ProbeArnT = Aws::String>
74 template <
typename SourceArnT = Aws::String>
76 m_sourceArnHasBeenSet =
true;
77 m_sourceArn = std::forward<SourceArnT>(value);
79 template <
typename SourceArnT = Aws::String>
92 template <
typename DestinationT = Aws::String>
94 m_destinationHasBeenSet =
true;
95 m_destination = std::forward<DestinationT>(value);
97 template <
typename DestinationT = Aws::String>
112 m_destinationPortHasBeenSet =
true;
113 m_destinationPort = value;
129 m_protocolHasBeenSet =
true;
145 m_packetSizeHasBeenSet =
true;
146 m_packetSize = value;
161 m_addressFamilyHasBeenSet =
true;
162 m_addressFamily = value;
175 template <
typename VpcIdT = Aws::String>
177 m_vpcIdHasBeenSet =
true;
178 m_vpcId = std::forward<VpcIdT>(value);
180 template <
typename VpcIdT = Aws::String>
182 SetVpcId(std::forward<VpcIdT>(value));
193 m_stateHasBeenSet =
true;
207 template <
typename CreatedAtT = Aws::Utils::DateTime>
209 m_createdAtHasBeenSet =
true;
210 m_createdAt = std::forward<CreatedAtT>(value);
212 template <
typename CreatedAtT = Aws::Utils::DateTime>
224 template <
typename ModifiedAtT = Aws::Utils::DateTime>
226 m_modifiedAtHasBeenSet =
true;
227 m_modifiedAt = std::forward<ModifiedAtT>(value);
229 template <
typename ModifiedAtT = Aws::Utils::DateTime>
241 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
243 m_tagsHasBeenSet =
true;
244 m_tags = std::forward<TagsT>(value);
246 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 SetTags(std::forward<TagsT>(value));
251 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
253 m_tagsHasBeenSet =
true;
254 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
262 template <
typename RequestIdT = Aws::String>
264 m_requestIdHasBeenSet =
true;
265 m_requestId = std::forward<RequestIdT>(value);
267 template <
typename RequestIdT = Aws::String>
284 int m_destinationPort{0};
304 bool m_probeIdHasBeenSet =
false;
305 bool m_probeArnHasBeenSet =
false;
306 bool m_sourceArnHasBeenSet =
false;
307 bool m_destinationHasBeenSet =
false;
308 bool m_destinationPortHasBeenSet =
false;
309 bool m_protocolHasBeenSet =
false;
310 bool m_packetSizeHasBeenSet =
false;
311 bool m_addressFamilyHasBeenSet =
false;
312 bool m_vpcIdHasBeenSet =
false;
313 bool m_stateHasBeenSet =
false;
314 bool m_createdAtHasBeenSet =
false;
315 bool m_modifiedAtHasBeenSet =
false;
316 bool m_tagsHasBeenSet =
false;
317 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedAt() const
void SetModifiedAt(ModifiedAtT &&value)
CreateProbeResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetProbeId() const
CreateProbeResult & WithDestination(DestinationT &&value)
void SetDestination(DestinationT &&value)
void SetCreatedAt(CreatedAtT &&value)
int GetPacketSize() const
void SetPacketSize(int value)
CreateProbeResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateProbeResult & WithDestinationPort(int value)
const Aws::String & GetSourceArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ProbeState GetState() const
AddressFamily GetAddressFamily() const
const Aws::String & GetVpcId() const
AWS_NETWORKMONITOR_API CreateProbeResult()=default
AWS_NETWORKMONITOR_API CreateProbeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProbeResult & WithProbeId(ProbeIdT &&value)
void SetAddressFamily(AddressFamily value)
CreateProbeResult & WithProtocol(Protocol value)
void SetProbeId(ProbeIdT &&value)
void SetVpcId(VpcIdT &&value)
CreateProbeResult & WithVpcId(VpcIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
void SetProbeArn(ProbeArnT &&value)
CreateProbeResult & WithPacketSize(int value)
void SetSourceArn(SourceArnT &&value)
int GetDestinationPort() const
const Aws::String & GetDestination() const
CreateProbeResult & WithTags(TagsT &&value)
void SetState(ProbeState value)
CreateProbeResult & WithCreatedAt(CreatedAtT &&value)
CreateProbeResult & WithProbeArn(ProbeArnT &&value)
AWS_NETWORKMONITOR_API CreateProbeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateProbeResult & WithModifiedAt(ModifiedAtT &&value)
void SetTags(TagsT &&value)
void SetProtocol(Protocol value)
const Aws::Utils::DateTime & GetModifiedAt() const
Protocol GetProtocol() const
CreateProbeResult & WithState(ProbeState value)
CreateProbeResult & WithAddressFamily(AddressFamily value)
void SetDestinationPort(int value)
CreateProbeResult & WithSourceArn(SourceArnT &&value)
const Aws::String & GetProbeArn() 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