AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UnusedPermissionsRecommendedStep.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/RecommendedRemediationAction.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AccessAnalyzer {
22namespace Model {
23
31 public:
32 AWS_ACCESSANALYZER_API UnusedPermissionsRecommendedStep() = default;
35 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Utils::DateTime& GetPolicyUpdatedAt() const { return m_policyUpdatedAt; }
43 inline bool PolicyUpdatedAtHasBeenSet() const { return m_policyUpdatedAtHasBeenSet; }
44 template <typename PolicyUpdatedAtT = Aws::Utils::DateTime>
45 void SetPolicyUpdatedAt(PolicyUpdatedAtT&& value) {
46 m_policyUpdatedAtHasBeenSet = true;
47 m_policyUpdatedAt = std::forward<PolicyUpdatedAtT>(value);
48 }
49 template <typename PolicyUpdatedAtT = Aws::Utils::DateTime>
51 SetPolicyUpdatedAt(std::forward<PolicyUpdatedAtT>(value));
52 return *this;
53 }
55
57
61 inline RecommendedRemediationAction GetRecommendedAction() const { return m_recommendedAction; }
62 inline bool RecommendedActionHasBeenSet() const { return m_recommendedActionHasBeenSet; }
64 m_recommendedActionHasBeenSet = true;
65 m_recommendedAction = value;
66 }
69 return *this;
70 }
72
74
79 inline const Aws::String& GetRecommendedPolicy() const { return m_recommendedPolicy; }
80 inline bool RecommendedPolicyHasBeenSet() const { return m_recommendedPolicyHasBeenSet; }
81 template <typename RecommendedPolicyT = Aws::String>
82 void SetRecommendedPolicy(RecommendedPolicyT&& value) {
83 m_recommendedPolicyHasBeenSet = true;
84 m_recommendedPolicy = std::forward<RecommendedPolicyT>(value);
85 }
86 template <typename RecommendedPolicyT = Aws::String>
88 SetRecommendedPolicy(std::forward<RecommendedPolicyT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetExistingPolicyId() const { return m_existingPolicyId; }
99 inline bool ExistingPolicyIdHasBeenSet() const { return m_existingPolicyIdHasBeenSet; }
100 template <typename ExistingPolicyIdT = Aws::String>
101 void SetExistingPolicyId(ExistingPolicyIdT&& value) {
102 m_existingPolicyIdHasBeenSet = true;
103 m_existingPolicyId = std::forward<ExistingPolicyIdT>(value);
104 }
105 template <typename ExistingPolicyIdT = Aws::String>
107 SetExistingPolicyId(std::forward<ExistingPolicyIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::Utils::DateTime m_policyUpdatedAt{};
113
115
116 Aws::String m_recommendedPolicy;
117
118 Aws::String m_existingPolicyId;
119 bool m_policyUpdatedAtHasBeenSet = false;
120 bool m_recommendedActionHasBeenSet = false;
121 bool m_recommendedPolicyHasBeenSet = false;
122 bool m_existingPolicyIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace AccessAnalyzer
127} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue