AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API FindingActor() = default;
38 AWS_MACIE2_API FindingActor(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const DomainDetails& GetDomainDetails() const { return m_domainDetails; }
49 inline bool DomainDetailsHasBeenSet() const { return m_domainDetailsHasBeenSet; }
50 template<typename DomainDetailsT = DomainDetails>
51 void SetDomainDetails(DomainDetailsT&& value) { m_domainDetailsHasBeenSet = true; m_domainDetails = std::forward<DomainDetailsT>(value); }
52 template<typename DomainDetailsT = DomainDetails>
53 FindingActor& WithDomainDetails(DomainDetailsT&& value) { SetDomainDetails(std::forward<DomainDetailsT>(value)); return *this;}
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) { m_ipAddressDetailsHasBeenSet = true; m_ipAddressDetails = std::forward<IpAddressDetailsT>(value); }
66 template<typename IpAddressDetailsT = IpAddressDetails>
67 FindingActor& WithIpAddressDetails(IpAddressDetailsT&& value) { SetIpAddressDetails(std::forward<IpAddressDetailsT>(value)); return *this;}
69
71
76 inline const UserIdentity& GetUserIdentity() const { return m_userIdentity; }
77 inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; }
78 template<typename UserIdentityT = UserIdentity>
79 void SetUserIdentity(UserIdentityT&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::forward<UserIdentityT>(value); }
80 template<typename UserIdentityT = UserIdentity>
81 FindingActor& WithUserIdentity(UserIdentityT&& value) { SetUserIdentity(std::forward<UserIdentityT>(value)); return *this;}
83 private:
84
85 DomainDetails m_domainDetails;
86 bool m_domainDetailsHasBeenSet = false;
87
88 IpAddressDetails m_ipAddressDetails;
89 bool m_ipAddressDetailsHasBeenSet = false;
90
91 UserIdentity m_userIdentity;
92 bool m_userIdentityHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Macie2
97} // 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