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/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();
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 inline void SetLocalPortDetails(const LocalPortDetails& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = value; }
50 inline void SetLocalPortDetails(LocalPortDetails&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::move(value); }
51 inline PortProbeDetail& WithLocalPortDetails(const LocalPortDetails& value) { SetLocalPortDetails(value); return *this;}
52 inline PortProbeDetail& WithLocalPortDetails(LocalPortDetails&& value) { SetLocalPortDetails(std::move(value)); return *this;}
54
56
59 inline const LocalIpDetails& GetLocalIpDetails() const{ return m_localIpDetails; }
60 inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; }
61 inline void SetLocalIpDetails(const LocalIpDetails& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = value; }
62 inline void SetLocalIpDetails(LocalIpDetails&& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::move(value); }
63 inline PortProbeDetail& WithLocalIpDetails(const LocalIpDetails& value) { SetLocalIpDetails(value); return *this;}
64 inline PortProbeDetail& WithLocalIpDetails(LocalIpDetails&& value) { SetLocalIpDetails(std::move(value)); return *this;}
66
68
71 inline const RemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
72 inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
73 inline void SetRemoteIpDetails(const RemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; }
74 inline void SetRemoteIpDetails(RemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); }
75 inline PortProbeDetail& WithRemoteIpDetails(const RemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;}
76 inline PortProbeDetail& WithRemoteIpDetails(RemoteIpDetails&& value) { SetRemoteIpDetails(std::move(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(const RemoteIpDetails &value)
PortProbeDetail & WithLocalPortDetails(const LocalPortDetails &value)
void SetLocalIpDetails(LocalIpDetails &&value)
PortProbeDetail & WithLocalIpDetails(const LocalIpDetails &value)
const LocalIpDetails & GetLocalIpDetails() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
PortProbeDetail & WithRemoteIpDetails(const RemoteIpDetails &value)
void SetLocalIpDetails(const LocalIpDetails &value)
PortProbeDetail & WithLocalIpDetails(LocalIpDetails &&value)
void SetLocalPortDetails(LocalPortDetails &&value)
AWS_GUARDDUTY_API PortProbeDetail(Aws::Utils::Json::JsonView jsonValue)
const LocalPortDetails & GetLocalPortDetails() const
void SetLocalPortDetails(const LocalPortDetails &value)
PortProbeDetail & WithLocalPortDetails(LocalPortDetails &&value)
PortProbeDetail & WithRemoteIpDetails(RemoteIpDetails &&value)
void SetRemoteIpDetails(RemoteIpDetails &&value)
AWS_GUARDDUTY_API PortProbeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const RemoteIpDetails & GetRemoteIpDetails() const
Aws::Utils::Json::JsonValue JsonValue