AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnusedPermissionsRecommendedStep.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/accessanalyzer/model/RecommendedRemediationAction.h>
10#include <aws/core/utils/memory/stl/AWSString.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 AccessAnalyzer
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ACCESSANALYZER_API UnusedPermissionsRecommendedStep();
40 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Utils::DateTime& GetPolicyUpdatedAt() const{ return m_policyUpdatedAt; }
49 inline bool PolicyUpdatedAtHasBeenSet() const { return m_policyUpdatedAtHasBeenSet; }
50 inline void SetPolicyUpdatedAt(const Aws::Utils::DateTime& value) { m_policyUpdatedAtHasBeenSet = true; m_policyUpdatedAt = value; }
51 inline void SetPolicyUpdatedAt(Aws::Utils::DateTime&& value) { m_policyUpdatedAtHasBeenSet = true; m_policyUpdatedAt = std::move(value); }
55
57
61 inline const RecommendedRemediationAction& GetRecommendedAction() const{ return m_recommendedAction; }
62 inline bool RecommendedActionHasBeenSet() const { return m_recommendedActionHasBeenSet; }
63 inline void SetRecommendedAction(const RecommendedRemediationAction& value) { m_recommendedActionHasBeenSet = true; m_recommendedAction = value; }
64 inline void SetRecommendedAction(RecommendedRemediationAction&& value) { m_recommendedActionHasBeenSet = true; m_recommendedAction = std::move(value); }
68
70
75 inline const Aws::String& GetRecommendedPolicy() const{ return m_recommendedPolicy; }
76 inline bool RecommendedPolicyHasBeenSet() const { return m_recommendedPolicyHasBeenSet; }
77 inline void SetRecommendedPolicy(const Aws::String& value) { m_recommendedPolicyHasBeenSet = true; m_recommendedPolicy = value; }
78 inline void SetRecommendedPolicy(Aws::String&& value) { m_recommendedPolicyHasBeenSet = true; m_recommendedPolicy = std::move(value); }
79 inline void SetRecommendedPolicy(const char* value) { m_recommendedPolicyHasBeenSet = true; m_recommendedPolicy.assign(value); }
82 inline UnusedPermissionsRecommendedStep& WithRecommendedPolicy(const char* value) { SetRecommendedPolicy(value); return *this;}
84
86
90 inline const Aws::String& GetExistingPolicyId() const{ return m_existingPolicyId; }
91 inline bool ExistingPolicyIdHasBeenSet() const { return m_existingPolicyIdHasBeenSet; }
92 inline void SetExistingPolicyId(const Aws::String& value) { m_existingPolicyIdHasBeenSet = true; m_existingPolicyId = value; }
93 inline void SetExistingPolicyId(Aws::String&& value) { m_existingPolicyIdHasBeenSet = true; m_existingPolicyId = std::move(value); }
94 inline void SetExistingPolicyId(const char* value) { m_existingPolicyIdHasBeenSet = true; m_existingPolicyId.assign(value); }
96 inline UnusedPermissionsRecommendedStep& WithExistingPolicyId(Aws::String&& value) { SetExistingPolicyId(std::move(value)); return *this;}
97 inline UnusedPermissionsRecommendedStep& WithExistingPolicyId(const char* value) { SetExistingPolicyId(value); return *this;}
99 private:
100
101 Aws::Utils::DateTime m_policyUpdatedAt;
102 bool m_policyUpdatedAtHasBeenSet = false;
103
104 RecommendedRemediationAction m_recommendedAction;
105 bool m_recommendedActionHasBeenSet = false;
106
107 Aws::String m_recommendedPolicy;
108 bool m_recommendedPolicyHasBeenSet = false;
109
110 Aws::String m_existingPolicyId;
111 bool m_existingPolicyIdHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace AccessAnalyzer
116} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue