AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FindingActor.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/DomainDetails.h>
9#include <aws/macie2/model/IpAddressDetails.h>
10#include <aws/macie2/model/UserIdentity.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2 {
22namespace Model {
23
31 public:
32 AWS_MACIE2_API FindingActor() = default;
33 AWS_MACIE2_API FindingActor(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const DomainDetails& GetDomainDetails() const { return m_domainDetails; }
43 inline bool DomainDetailsHasBeenSet() const { return m_domainDetailsHasBeenSet; }
44 template <typename DomainDetailsT = DomainDetails>
45 void SetDomainDetails(DomainDetailsT&& value) {
46 m_domainDetailsHasBeenSet = true;
47 m_domainDetails = std::forward<DomainDetailsT>(value);
48 }
49 template <typename DomainDetailsT = DomainDetails>
50 FindingActor& WithDomainDetails(DomainDetailsT&& value) {
51 SetDomainDetails(std::forward<DomainDetailsT>(value));
52 return *this;
53 }
55
57
62 inline const IpAddressDetails& GetIpAddressDetails() const { return m_ipAddressDetails; }
63 inline bool IpAddressDetailsHasBeenSet() const { return m_ipAddressDetailsHasBeenSet; }
64 template <typename IpAddressDetailsT = IpAddressDetails>
65 void SetIpAddressDetails(IpAddressDetailsT&& value) {
66 m_ipAddressDetailsHasBeenSet = true;
67 m_ipAddressDetails = std::forward<IpAddressDetailsT>(value);
68 }
69 template <typename IpAddressDetailsT = IpAddressDetails>
70 FindingActor& WithIpAddressDetails(IpAddressDetailsT&& value) {
71 SetIpAddressDetails(std::forward<IpAddressDetailsT>(value));
72 return *this;
73 }
75
77
82 inline const UserIdentity& GetUserIdentity() const { return m_userIdentity; }
83 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
84 template <typename UserIdentityT = UserIdentity>
85 void SetUserIdentity(UserIdentityT&& value) {
86 m_userIdentityHasBeenSet = true;
87 m_userIdentity = std::forward<UserIdentityT>(value);
88 }
89 template <typename UserIdentityT = UserIdentity>
90 FindingActor& WithUserIdentity(UserIdentityT&& value) {
91 SetUserIdentity(std::forward<UserIdentityT>(value));
92 return *this;
93 }
95 private:
96 DomainDetails m_domainDetails;
97
98 IpAddressDetails m_ipAddressDetails;
99
100 UserIdentity m_userIdentity;
101 bool m_domainDetailsHasBeenSet = false;
102 bool m_ipAddressDetailsHasBeenSet = false;
103 bool m_userIdentityHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace Macie2
108} // namespace Aws
FindingActor & WithDomainDetails(DomainDetailsT &&value)
void SetUserIdentity(UserIdentityT &&value)
const UserIdentity & GetUserIdentity() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const IpAddressDetails & GetIpAddressDetails() const
FindingActor & WithIpAddressDetails(IpAddressDetailsT &&value)
AWS_MACIE2_API FindingActor & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingActor & WithUserIdentity(UserIdentityT &&value)
void SetIpAddressDetails(IpAddressDetailsT &&value)
const DomainDetails & GetDomainDetails() const
void SetDomainDetails(DomainDetailsT &&value)
AWS_MACIE2_API FindingActor()=default
AWS_MACIE2_API FindingActor(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue