7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/GeneratedPolicy.h>
9#include <aws/accessanalyzer/model/GeneratedPolicyProperties.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AccessAnalyzer {
44 template <
typename PropertiesT = GeneratedPolicyProperties>
46 m_propertiesHasBeenSet =
true;
47 m_properties = std::forward<PropertiesT>(value);
49 template <
typename PropertiesT = GeneratedPolicyProperties>
65 template <
typename GeneratedPoliciesT = Aws::Vector<GeneratedPolicy>>
67 m_generatedPoliciesHasBeenSet =
true;
68 m_generatedPolicies = std::forward<GeneratedPoliciesT>(value);
70 template <
typename GeneratedPoliciesT = Aws::Vector<GeneratedPolicy>>
75 template <
typename GeneratedPoliciesT = GeneratedPolicy>
77 m_generatedPoliciesHasBeenSet =
true;
78 m_generatedPolicies.emplace_back(std::forward<GeneratedPoliciesT>(value));
86 bool m_propertiesHasBeenSet =
false;
87 bool m_generatedPoliciesHasBeenSet =
false;
bool GeneratedPoliciesHasBeenSet() const
GeneratedPolicyResults & WithProperties(PropertiesT &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API GeneratedPolicyResults(Aws::Utils::Json::JsonView jsonValue)
bool PropertiesHasBeenSet() const
GeneratedPolicyResults & AddGeneratedPolicies(GeneratedPoliciesT &&value)
AWS_ACCESSANALYZER_API GeneratedPolicyResults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API GeneratedPolicyResults()=default
void SetProperties(PropertiesT &&value)
const GeneratedPolicyProperties & GetProperties() const
void SetGeneratedPolicies(GeneratedPoliciesT &&value)
GeneratedPolicyResults & WithGeneratedPolicies(GeneratedPoliciesT &&value)
const Aws::Vector< GeneratedPolicy > & GetGeneratedPolicies() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue