AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeneratedPolicyResults.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/GeneratedPolicyProperties.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/accessanalyzer/model/GeneratedPolicy.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 GeneratedPolicyResults();
38 AWS_ACCESSANALYZER_API GeneratedPolicyResults(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const GeneratedPolicyProperties& GetProperties() const{ return m_properties; }
49 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
50 inline void SetProperties(const GeneratedPolicyProperties& value) { m_propertiesHasBeenSet = true; m_properties = value; }
51 inline void SetProperties(GeneratedPolicyProperties&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
53 inline GeneratedPolicyResults& WithProperties(GeneratedPolicyProperties&& value) { SetProperties(std::move(value)); return *this;}
55
57
63 inline const Aws::Vector<GeneratedPolicy>& GetGeneratedPolicies() const{ return m_generatedPolicies; }
64 inline bool GeneratedPoliciesHasBeenSet() const { return m_generatedPoliciesHasBeenSet; }
65 inline void SetGeneratedPolicies(const Aws::Vector<GeneratedPolicy>& value) { m_generatedPoliciesHasBeenSet = true; m_generatedPolicies = value; }
66 inline void SetGeneratedPolicies(Aws::Vector<GeneratedPolicy>&& value) { m_generatedPoliciesHasBeenSet = true; m_generatedPolicies = std::move(value); }
69 inline GeneratedPolicyResults& AddGeneratedPolicies(const GeneratedPolicy& value) { m_generatedPoliciesHasBeenSet = true; m_generatedPolicies.push_back(value); return *this; }
70 inline GeneratedPolicyResults& AddGeneratedPolicies(GeneratedPolicy&& value) { m_generatedPoliciesHasBeenSet = true; m_generatedPolicies.push_back(std::move(value)); return *this; }
72 private:
73
74 GeneratedPolicyProperties m_properties;
75 bool m_propertiesHasBeenSet = false;
76
77 Aws::Vector<GeneratedPolicy> m_generatedPolicies;
78 bool m_generatedPoliciesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AccessAnalyzer
83} // namespace Aws
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API GeneratedPolicyResults(Aws::Utils::Json::JsonView jsonValue)
GeneratedPolicyResults & WithProperties(GeneratedPolicyProperties &&value)
void SetProperties(GeneratedPolicyProperties &&value)
void SetGeneratedPolicies(const Aws::Vector< GeneratedPolicy > &value)
GeneratedPolicyResults & AddGeneratedPolicies(GeneratedPolicy &&value)
AWS_ACCESSANALYZER_API GeneratedPolicyResults & operator=(Aws::Utils::Json::JsonView jsonValue)
GeneratedPolicyResults & WithProperties(const GeneratedPolicyProperties &value)
void SetGeneratedPolicies(Aws::Vector< GeneratedPolicy > &&value)
const GeneratedPolicyProperties & GetProperties() const
void SetProperties(const GeneratedPolicyProperties &value)
GeneratedPolicyResults & AddGeneratedPolicies(const GeneratedPolicy &value)
GeneratedPolicyResults & WithGeneratedPolicies(Aws::Vector< GeneratedPolicy > &&value)
GeneratedPolicyResults & WithGeneratedPolicies(const Aws::Vector< GeneratedPolicy > &value)
const Aws::Vector< GeneratedPolicy > & GetGeneratedPolicies() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue