AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PortProbeDetail.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ActionLocalIpDetails.h>
9#include <aws/securityhub/model/ActionLocalPortDetails.h>
10#include <aws/securityhub/model/ActionRemoteIpDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
33 public:
34 AWS_SECURITYHUB_API PortProbeDetail() = default;
35 AWS_SECURITYHUB_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API PortProbeDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const ActionLocalPortDetails& GetLocalPortDetails() const { return m_localPortDetails; }
44 inline bool LocalPortDetailsHasBeenSet() const { return m_localPortDetailsHasBeenSet; }
45 template <typename LocalPortDetailsT = ActionLocalPortDetails>
46 void SetLocalPortDetails(LocalPortDetailsT&& value) {
47 m_localPortDetailsHasBeenSet = true;
48 m_localPortDetails = std::forward<LocalPortDetailsT>(value);
49 }
50 template <typename LocalPortDetailsT = ActionLocalPortDetails>
51 PortProbeDetail& WithLocalPortDetails(LocalPortDetailsT&& value) {
52 SetLocalPortDetails(std::forward<LocalPortDetailsT>(value));
53 return *this;
54 }
56
58
62 inline const ActionLocalIpDetails& GetLocalIpDetails() const { return m_localIpDetails; }
63 inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; }
64 template <typename LocalIpDetailsT = ActionLocalIpDetails>
65 void SetLocalIpDetails(LocalIpDetailsT&& value) {
66 m_localIpDetailsHasBeenSet = true;
67 m_localIpDetails = std::forward<LocalIpDetailsT>(value);
68 }
69 template <typename LocalIpDetailsT = ActionLocalIpDetails>
70 PortProbeDetail& WithLocalIpDetails(LocalIpDetailsT&& value) {
71 SetLocalIpDetails(std::forward<LocalIpDetailsT>(value));
72 return *this;
73 }
75
77
80 inline const ActionRemoteIpDetails& GetRemoteIpDetails() const { return m_remoteIpDetails; }
81 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
82 template <typename RemoteIpDetailsT = ActionRemoteIpDetails>
83 void SetRemoteIpDetails(RemoteIpDetailsT&& value) {
84 m_remoteIpDetailsHasBeenSet = true;
85 m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value);
86 }
87 template <typename RemoteIpDetailsT = ActionRemoteIpDetails>
88 PortProbeDetail& WithRemoteIpDetails(RemoteIpDetailsT&& value) {
89 SetRemoteIpDetails(std::forward<RemoteIpDetailsT>(value));
90 return *this;
91 }
93 private:
94 ActionLocalPortDetails m_localPortDetails;
95
96 ActionLocalIpDetails m_localIpDetails;
97
98 ActionRemoteIpDetails m_remoteIpDetails;
99 bool m_localPortDetailsHasBeenSet = false;
100 bool m_localIpDetailsHasBeenSet = false;
101 bool m_remoteIpDetailsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
PortProbeDetail & WithLocalIpDetails(LocalIpDetailsT &&value)
const ActionLocalIpDetails & GetLocalIpDetails() const
const ActionLocalPortDetails & GetLocalPortDetails() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API PortProbeDetail()=default
void SetLocalIpDetails(LocalIpDetailsT &&value)
void SetLocalPortDetails(LocalPortDetailsT &&value)
PortProbeDetail & WithLocalPortDetails(LocalPortDetailsT &&value)
PortProbeDetail & WithRemoteIpDetails(RemoteIpDetailsT &&value)
AWS_SECURITYHUB_API PortProbeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const ActionRemoteIpDetails & GetRemoteIpDetails() const
AWS_SECURITYHUB_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteIpDetails(RemoteIpDetailsT &&value)
Aws::Utils::Json::JsonValue JsonValue