AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingDetails.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/ExternalAccessDetails.h>
9#include <aws/accessanalyzer/model/UnusedPermissionDetails.h>
10#include <aws/accessanalyzer/model/UnusedIamUserAccessKeyDetails.h>
11#include <aws/accessanalyzer/model/UnusedIamRoleDetails.h>
12#include <aws/accessanalyzer/model/UnusedIamUserPasswordDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AccessAnalyzer
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_ACCESSANALYZER_API FindingDetails();
41 AWS_ACCESSANALYZER_API FindingDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ACCESSANALYZER_API FindingDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const ExternalAccessDetails& GetExternalAccessDetails() const{ return m_externalAccessDetails; }
51 inline bool ExternalAccessDetailsHasBeenSet() const { return m_externalAccessDetailsHasBeenSet; }
52 inline void SetExternalAccessDetails(const ExternalAccessDetails& value) { m_externalAccessDetailsHasBeenSet = true; m_externalAccessDetails = value; }
53 inline void SetExternalAccessDetails(ExternalAccessDetails&& value) { m_externalAccessDetailsHasBeenSet = true; m_externalAccessDetails = std::move(value); }
57
59
63 inline const UnusedPermissionDetails& GetUnusedPermissionDetails() const{ return m_unusedPermissionDetails; }
64 inline bool UnusedPermissionDetailsHasBeenSet() const { return m_unusedPermissionDetailsHasBeenSet; }
65 inline void SetUnusedPermissionDetails(const UnusedPermissionDetails& value) { m_unusedPermissionDetailsHasBeenSet = true; m_unusedPermissionDetails = value; }
66 inline void SetUnusedPermissionDetails(UnusedPermissionDetails&& value) { m_unusedPermissionDetailsHasBeenSet = true; m_unusedPermissionDetails = std::move(value); }
70
72
76 inline const UnusedIamUserAccessKeyDetails& GetUnusedIamUserAccessKeyDetails() const{ return m_unusedIamUserAccessKeyDetails; }
77 inline bool UnusedIamUserAccessKeyDetailsHasBeenSet() const { return m_unusedIamUserAccessKeyDetailsHasBeenSet; }
78 inline void SetUnusedIamUserAccessKeyDetails(const UnusedIamUserAccessKeyDetails& value) { m_unusedIamUserAccessKeyDetailsHasBeenSet = true; m_unusedIamUserAccessKeyDetails = value; }
79 inline void SetUnusedIamUserAccessKeyDetails(UnusedIamUserAccessKeyDetails&& value) { m_unusedIamUserAccessKeyDetailsHasBeenSet = true; m_unusedIamUserAccessKeyDetails = std::move(value); }
83
85
89 inline const UnusedIamRoleDetails& GetUnusedIamRoleDetails() const{ return m_unusedIamRoleDetails; }
90 inline bool UnusedIamRoleDetailsHasBeenSet() const { return m_unusedIamRoleDetailsHasBeenSet; }
91 inline void SetUnusedIamRoleDetails(const UnusedIamRoleDetails& value) { m_unusedIamRoleDetailsHasBeenSet = true; m_unusedIamRoleDetails = value; }
92 inline void SetUnusedIamRoleDetails(UnusedIamRoleDetails&& value) { m_unusedIamRoleDetailsHasBeenSet = true; m_unusedIamRoleDetails = std::move(value); }
94 inline FindingDetails& WithUnusedIamRoleDetails(UnusedIamRoleDetails&& value) { SetUnusedIamRoleDetails(std::move(value)); return *this;}
96
98
102 inline const UnusedIamUserPasswordDetails& GetUnusedIamUserPasswordDetails() const{ return m_unusedIamUserPasswordDetails; }
103 inline bool UnusedIamUserPasswordDetailsHasBeenSet() const { return m_unusedIamUserPasswordDetailsHasBeenSet; }
104 inline void SetUnusedIamUserPasswordDetails(const UnusedIamUserPasswordDetails& value) { m_unusedIamUserPasswordDetailsHasBeenSet = true; m_unusedIamUserPasswordDetails = value; }
105 inline void SetUnusedIamUserPasswordDetails(UnusedIamUserPasswordDetails&& value) { m_unusedIamUserPasswordDetailsHasBeenSet = true; m_unusedIamUserPasswordDetails = std::move(value); }
109 private:
110
111 ExternalAccessDetails m_externalAccessDetails;
112 bool m_externalAccessDetailsHasBeenSet = false;
113
114 UnusedPermissionDetails m_unusedPermissionDetails;
115 bool m_unusedPermissionDetailsHasBeenSet = false;
116
117 UnusedIamUserAccessKeyDetails m_unusedIamUserAccessKeyDetails;
118 bool m_unusedIamUserAccessKeyDetailsHasBeenSet = false;
119
120 UnusedIamRoleDetails m_unusedIamRoleDetails;
121 bool m_unusedIamRoleDetailsHasBeenSet = false;
122
123 UnusedIamUserPasswordDetails m_unusedIamUserPasswordDetails;
124 bool m_unusedIamUserPasswordDetailsHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AccessAnalyzer
129} // namespace Aws
AWS_ACCESSANALYZER_API FindingDetails()
void SetUnusedIamUserAccessKeyDetails(UnusedIamUserAccessKeyDetails &&value)
FindingDetails & WithUnusedIamRoleDetails(UnusedIamRoleDetails &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExternalAccessDetails(const ExternalAccessDetails &value)
void SetUnusedPermissionDetails(const UnusedPermissionDetails &value)
FindingDetails & WithUnusedIamUserAccessKeyDetails(const UnusedIamUserAccessKeyDetails &value)
void SetUnusedIamUserPasswordDetails(const UnusedIamUserPasswordDetails &value)
void SetUnusedPermissionDetails(UnusedPermissionDetails &&value)
void SetUnusedIamUserAccessKeyDetails(const UnusedIamUserAccessKeyDetails &value)
void SetUnusedIamRoleDetails(UnusedIamRoleDetails &&value)
const UnusedIamUserAccessKeyDetails & GetUnusedIamUserAccessKeyDetails() const
const UnusedIamUserPasswordDetails & GetUnusedIamUserPasswordDetails() const
FindingDetails & WithExternalAccessDetails(const ExternalAccessDetails &value)
FindingDetails & WithUnusedIamUserAccessKeyDetails(UnusedIamUserAccessKeyDetails &&value)
FindingDetails & WithUnusedIamRoleDetails(const UnusedIamRoleDetails &value)
FindingDetails & WithUnusedPermissionDetails(const UnusedPermissionDetails &value)
const ExternalAccessDetails & GetExternalAccessDetails() const
FindingDetails & WithUnusedIamUserPasswordDetails(const UnusedIamUserPasswordDetails &value)
FindingDetails & WithExternalAccessDetails(ExternalAccessDetails &&value)
void SetExternalAccessDetails(ExternalAccessDetails &&value)
FindingDetails & WithUnusedPermissionDetails(UnusedPermissionDetails &&value)
void SetUnusedIamUserPasswordDetails(UnusedIamUserPasswordDetails &&value)
void SetUnusedIamRoleDetails(const UnusedIamRoleDetails &value)
AWS_ACCESSANALYZER_API FindingDetails(Aws::Utils::Json::JsonView jsonValue)
FindingDetails & WithUnusedIamUserPasswordDetails(UnusedIamUserPasswordDetails &&value)
AWS_ACCESSANALYZER_API FindingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const UnusedPermissionDetails & GetUnusedPermissionDetails() const
const UnusedIamRoleDetails & GetUnusedIamRoleDetails() const
Aws::Utils::Json::JsonValue JsonValue