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/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ActionLocalPortDetails.h>
9#include <aws/securityhub/model/ActionLocalIpDetails.h>
10#include <aws/securityhub/model/ActionRemoteIpDetails.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 SecurityHub
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_SECURITYHUB_API PortProbeDetail() = default;
40 AWS_SECURITYHUB_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SECURITYHUB_API PortProbeDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ActionLocalPortDetails& GetLocalPortDetails() const { return m_localPortDetails; }
50 inline bool LocalPortDetailsHasBeenSet() const { return m_localPortDetailsHasBeenSet; }
51 template<typename LocalPortDetailsT = ActionLocalPortDetails>
52 void SetLocalPortDetails(LocalPortDetailsT&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::forward<LocalPortDetailsT>(value); }
53 template<typename LocalPortDetailsT = ActionLocalPortDetails>
54 PortProbeDetail& WithLocalPortDetails(LocalPortDetailsT&& value) { SetLocalPortDetails(std::forward<LocalPortDetailsT>(value)); return *this;}
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) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::forward<LocalIpDetailsT>(value); }
66 template<typename LocalIpDetailsT = ActionLocalIpDetails>
67 PortProbeDetail& WithLocalIpDetails(LocalIpDetailsT&& value) { SetLocalIpDetails(std::forward<LocalIpDetailsT>(value)); return *this;}
69
71
74 inline const ActionRemoteIpDetails& GetRemoteIpDetails() const { return m_remoteIpDetails; }
75 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
76 template<typename RemoteIpDetailsT = ActionRemoteIpDetails>
77 void SetRemoteIpDetails(RemoteIpDetailsT&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::forward<RemoteIpDetailsT>(value); }
78 template<typename RemoteIpDetailsT = ActionRemoteIpDetails>
79 PortProbeDetail& WithRemoteIpDetails(RemoteIpDetailsT&& value) { SetRemoteIpDetails(std::forward<RemoteIpDetailsT>(value)); return *this;}
81 private:
82
83 ActionLocalPortDetails m_localPortDetails;
84 bool m_localPortDetailsHasBeenSet = false;
85
86 ActionLocalIpDetails m_localIpDetails;
87 bool m_localIpDetailsHasBeenSet = false;
88
89 ActionRemoteIpDetails m_remoteIpDetails;
90 bool m_remoteIpDetailsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SecurityHub
95} // 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