AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PortProbeDetail.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/model/LocalPortDetails.h>
9#include <aws/guardduty/model/LocalIpDetails.h>
10#include <aws/guardduty/model/RemoteIpDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API PortProbeDetail() = default;
38 AWS_GUARDDUTY_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const LocalPortDetails& GetLocalPortDetails() const { return m_localPortDetails; }
48 inline bool LocalPortDetailsHasBeenSet() const { return m_localPortDetailsHasBeenSet; }
49 template<typename LocalPortDetailsT = LocalPortDetails>
50 void SetLocalPortDetails(LocalPortDetailsT&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::forward<LocalPortDetailsT>(value); }
51 template<typename LocalPortDetailsT = LocalPortDetails>
52 PortProbeDetail& WithLocalPortDetails(LocalPortDetailsT&& value) { SetLocalPortDetails(std::forward<LocalPortDetailsT>(value)); return *this;}
54
56
59 inline const LocalIpDetails& GetLocalIpDetails() const { return m_localIpDetails; }
60 inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; }
61 template<typename LocalIpDetailsT = LocalIpDetails>
62 void SetLocalIpDetails(LocalIpDetailsT&& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::forward<LocalIpDetailsT>(value); }
63 template<typename LocalIpDetailsT = LocalIpDetails>
64 PortProbeDetail& WithLocalIpDetails(LocalIpDetailsT&& value) { SetLocalIpDetails(std::forward<LocalIpDetailsT>(value)); return *this;}
66
68
71 inline const RemoteIpDetails& GetRemoteIpDetails() const { return m_remoteIpDetails; }
72 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
73 template<typename RemoteIpDetailsT = RemoteIpDetails>
74 void SetRemoteIpDetails(RemoteIpDetailsT&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value); }
75 template<typename RemoteIpDetailsT = RemoteIpDetails>
76 PortProbeDetail& WithRemoteIpDetails(RemoteIpDetailsT&& value) { SetRemoteIpDetails(std::forward<RemoteIpDetailsT>(value)); return *this;}
78 private:
79
80 LocalPortDetails m_localPortDetails;
81 bool m_localPortDetailsHasBeenSet = false;
82
83 LocalIpDetails m_localIpDetails;
84 bool m_localIpDetailsHasBeenSet = false;
85
86 RemoteIpDetails m_remoteIpDetails;
87 bool m_remoteIpDetailsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GuardDuty
92} // namespace Aws
void SetRemoteIpDetails(RemoteIpDetailsT &&value)
const LocalIpDetails & GetLocalIpDetails() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLocalPortDetails(LocalPortDetailsT &&value)
void SetLocalIpDetails(LocalIpDetailsT &&value)
PortProbeDetail & WithRemoteIpDetails(RemoteIpDetailsT &&value)
AWS_GUARDDUTY_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue)
const LocalPortDetails & GetLocalPortDetails() const
AWS_GUARDDUTY_API PortProbeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
PortProbeDetail & WithLocalIpDetails(LocalIpDetailsT &&value)
const RemoteIpDetails & GetRemoteIpDetails() const
PortProbeDetail & WithLocalPortDetails(LocalPortDetailsT &&value)
AWS_GUARDDUTY_API PortProbeDetail()=default
Aws::Utils::Json::JsonValue JsonValue