AWS SDK for C++  1.8.126
AWS SDK for C++
PortProbeDetail.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GuardDuty
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const LocalPortDetails& GetLocalPortDetails() const{ return m_localPortDetails; }
47 
51  inline bool LocalPortDetailsHasBeenSet() const { return m_localPortDetailsHasBeenSet; }
52 
56  inline void SetLocalPortDetails(const LocalPortDetails& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = value; }
57 
61  inline void SetLocalPortDetails(LocalPortDetails&& value) { m_localPortDetailsHasBeenSet = true; m_localPortDetails = std::move(value); }
62 
66  inline PortProbeDetail& WithLocalPortDetails(const LocalPortDetails& value) { SetLocalPortDetails(value); return *this;}
67 
71  inline PortProbeDetail& WithLocalPortDetails(LocalPortDetails&& value) { SetLocalPortDetails(std::move(value)); return *this;}
72 
73 
77  inline const LocalIpDetails& GetLocalIpDetails() const{ return m_localIpDetails; }
78 
82  inline bool LocalIpDetailsHasBeenSet() const { return m_localIpDetailsHasBeenSet; }
83 
87  inline void SetLocalIpDetails(const LocalIpDetails& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = value; }
88 
92  inline void SetLocalIpDetails(LocalIpDetails&& value) { m_localIpDetailsHasBeenSet = true; m_localIpDetails = std::move(value); }
93 
97  inline PortProbeDetail& WithLocalIpDetails(const LocalIpDetails& value) { SetLocalIpDetails(value); return *this;}
98 
102  inline PortProbeDetail& WithLocalIpDetails(LocalIpDetails&& value) { SetLocalIpDetails(std::move(value)); return *this;}
103 
104 
108  inline const RemoteIpDetails& GetRemoteIpDetails() const{ return m_remoteIpDetails; }
109 
113  inline bool RemoteIpDetailsHasBeenSet() const { return m_remoteIpDetailsHasBeenSet; }
114 
118  inline void SetRemoteIpDetails(const RemoteIpDetails& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = value; }
119 
123  inline void SetRemoteIpDetails(RemoteIpDetails&& value) { m_remoteIpDetailsHasBeenSet = true; m_remoteIpDetails = std::move(value); }
124 
128  inline PortProbeDetail& WithRemoteIpDetails(const RemoteIpDetails& value) { SetRemoteIpDetails(value); return *this;}
129 
133  inline PortProbeDetail& WithRemoteIpDetails(RemoteIpDetails&& value) { SetRemoteIpDetails(std::move(value)); return *this;}
134 
135  private:
136 
137  LocalPortDetails m_localPortDetails;
138  bool m_localPortDetailsHasBeenSet;
139 
140  LocalIpDetails m_localIpDetails;
141  bool m_localIpDetailsHasBeenSet;
142 
143  RemoteIpDetails m_remoteIpDetails;
144  bool m_remoteIpDetailsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace GuardDuty
149 } // namespace Aws
Aws::GuardDuty::Model::PortProbeDetail::SetLocalPortDetails
void SetLocalPortDetails(LocalPortDetails &&value)
Definition: PortProbeDetail.h:61
LocalPortDetails.h
Aws::GuardDuty::Model::PortProbeDetail::WithLocalIpDetails
PortProbeDetail & WithLocalIpDetails(const LocalIpDetails &value)
Definition: PortProbeDetail.h:97
Aws::GuardDuty::Model::PortProbeDetail::SetLocalIpDetails
void SetLocalIpDetails(LocalIpDetails &&value)
Definition: PortProbeDetail.h:92
Aws::GuardDuty::Model::PortProbeDetail::PortProbeDetail
PortProbeDetail()
Aws::GuardDuty::Model::LocalIpDetails
Definition: LocalIpDetails.h:33
Aws::GuardDuty::Model::PortProbeDetail::WithLocalPortDetails
PortProbeDetail & WithLocalPortDetails(const LocalPortDetails &value)
Definition: PortProbeDetail.h:66
Aws::GuardDuty::Model::PortProbeDetail::GetLocalPortDetails
const LocalPortDetails & GetLocalPortDetails() const
Definition: PortProbeDetail.h:46
Aws::GuardDuty::Model::LocalPortDetails
Definition: LocalPortDetails.h:33
Aws::GuardDuty::Model::PortProbeDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GuardDuty::Model::PortProbeDetail::SetRemoteIpDetails
void SetRemoteIpDetails(RemoteIpDetails &&value)
Definition: PortProbeDetail.h:123
Aws::GuardDuty::Model::PortProbeDetail::SetLocalPortDetails
void SetLocalPortDetails(const LocalPortDetails &value)
Definition: PortProbeDetail.h:56
Aws::GuardDuty::Model::PortProbeDetail::WithRemoteIpDetails
PortProbeDetail & WithRemoteIpDetails(RemoteIpDetails &&value)
Definition: PortProbeDetail.h:133
Aws::GuardDuty::Model::PortProbeDetail::RemoteIpDetailsHasBeenSet
bool RemoteIpDetailsHasBeenSet() const
Definition: PortProbeDetail.h:113
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::PortProbeDetail::operator=
PortProbeDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::PortProbeDetail::WithRemoteIpDetails
PortProbeDetail & WithRemoteIpDetails(const RemoteIpDetails &value)
Definition: PortProbeDetail.h:128
Aws::GuardDuty::Model::PortProbeDetail::PortProbeDetail
PortProbeDetail(Aws::Utils::Json::JsonView jsonValue)
RemoteIpDetails.h
Aws::GuardDuty::Model::PortProbeDetail::GetLocalIpDetails
const LocalIpDetails & GetLocalIpDetails() const
Definition: PortProbeDetail.h:77
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GuardDuty::Model::PortProbeDetail::WithLocalPortDetails
PortProbeDetail & WithLocalPortDetails(LocalPortDetails &&value)
Definition: PortProbeDetail.h:71
LocalIpDetails.h
Aws::GuardDuty::Model::PortProbeDetail
Definition: PortProbeDetail.h:35
Aws::GuardDuty::Model::RemoteIpDetails
Definition: RemoteIpDetails.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::PortProbeDetail::SetLocalIpDetails
void SetLocalIpDetails(const LocalIpDetails &value)
Definition: PortProbeDetail.h:87
Aws::GuardDuty::Model::PortProbeDetail::SetRemoteIpDetails
void SetRemoteIpDetails(const RemoteIpDetails &value)
Definition: PortProbeDetail.h:118
Aws::GuardDuty::Model::PortProbeDetail::WithLocalIpDetails
PortProbeDetail & WithLocalIpDetails(LocalIpDetails &&value)
Definition: PortProbeDetail.h:102
Aws::GuardDuty::Model::PortProbeDetail::GetRemoteIpDetails
const RemoteIpDetails & GetRemoteIpDetails() const
Definition: PortProbeDetail.h:108
Aws::GuardDuty::Model::PortProbeDetail::LocalIpDetailsHasBeenSet
bool LocalIpDetailsHasBeenSet() const
Definition: PortProbeDetail.h:82
Aws::GuardDuty::Model::PortProbeDetail::LocalPortDetailsHasBeenSet
bool LocalPortDetailsHasBeenSet() const
Definition: PortProbeDetail.h:51