AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocalPortDetails(const ActionLocalPortDetails& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = value; }
52 inline void SetLocalPortDetails(ActionLocalPortDetails&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::move(value); }
54 inline PortProbeDetail& WithLocalPortDetails(ActionLocalPortDetails&& value) { SetLocalPortDetails(std::move(value)); return *this;}
56
58
62 inline const ActionLocalIpDetails& GetLocalIpDetails() const{ return m_localIpDetails; }
63 inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; }
64 inline void SetLocalIpDetails(const ActionLocalIpDetails& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = value; }
65 inline void SetLocalIpDetails(ActionLocalIpDetails&& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::move(value); }
66 inline PortProbeDetail& WithLocalIpDetails(const ActionLocalIpDetails& value) { SetLocalIpDetails(value); return *this;}
67 inline PortProbeDetail& WithLocalIpDetails(ActionLocalIpDetails&& value) { SetLocalIpDetails(std::move(value)); return *this;}
69
71
74 inline const ActionRemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
75 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
76 inline void SetRemoteIpDetails(const ActionRemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; }
77 inline void SetRemoteIpDetails(ActionRemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); }
78 inline PortProbeDetail& WithRemoteIpDetails(const ActionRemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;}
79 inline PortProbeDetail& WithRemoteIpDetails(ActionRemoteIpDetails&& value) { SetRemoteIpDetails(std::move(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
const ActionLocalIpDetails & GetLocalIpDetails() const
void SetRemoteIpDetails(const ActionRemoteIpDetails &value)
PortProbeDetail & WithRemoteIpDetails(ActionRemoteIpDetails &&value)
PortProbeDetail & WithLocalPortDetails(const ActionLocalPortDetails &value)
const ActionLocalPortDetails & GetLocalPortDetails() const
PortProbeDetail & WithLocalPortDetails(ActionLocalPortDetails &&value)
void SetLocalPortDetails(const ActionLocalPortDetails &value)
void SetLocalIpDetails(const ActionLocalIpDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRemoteIpDetails(ActionRemoteIpDetails &&value)
PortProbeDetail & WithLocalIpDetails(ActionLocalIpDetails &&value)
void SetLocalIpDetails(ActionLocalIpDetails &&value)
void SetLocalPortDetails(ActionLocalPortDetails &&value)
PortProbeDetail & WithLocalIpDetails(const ActionLocalIpDetails &value)
PortProbeDetail & WithRemoteIpDetails(const ActionRemoteIpDetails &value)
AWS_SECURITYHUB_API PortProbeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const ActionRemoteIpDetails & GetRemoteIpDetails() const
AWS_SECURITYHUB_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue