AWS SDK for C++  1.9.153
AWS SDK for C++
GetGeneratedPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace AccessAnalyzer
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const JobDetails& GetJobDetails() const{ return m_jobDetails; }
41 
46  inline void SetJobDetails(const JobDetails& value) { m_jobDetails = value; }
47 
52  inline void SetJobDetails(JobDetails&& value) { m_jobDetails = std::move(value); }
53 
58  inline GetGeneratedPolicyResult& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;}
59 
64  inline GetGeneratedPolicyResult& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;}
65 
66 
71  inline const GeneratedPolicyResults& GetGeneratedPolicyResults() const{ return m_generatedPolicyResults; }
72 
77  inline void SetGeneratedPolicyResults(const GeneratedPolicyResults& value) { m_generatedPolicyResults = value; }
78 
83  inline void SetGeneratedPolicyResults(GeneratedPolicyResults&& value) { m_generatedPolicyResults = std::move(value); }
84 
89  inline GetGeneratedPolicyResult& WithGeneratedPolicyResults(const GeneratedPolicyResults& value) { SetGeneratedPolicyResults(value); return *this;}
90 
95  inline GetGeneratedPolicyResult& WithGeneratedPolicyResults(GeneratedPolicyResults&& value) { SetGeneratedPolicyResults(std::move(value)); return *this;}
96 
97  private:
98 
99  JobDetails m_jobDetails;
100 
101  GeneratedPolicyResults m_generatedPolicyResults;
102  };
103 
104 } // namespace Model
105 } // namespace AccessAnalyzer
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::GetGeneratedPolicyResult
GetGeneratedPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::operator=
GetGeneratedPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::WithJobDetails
GetGeneratedPolicyResult & WithJobDetails(const JobDetails &value)
Definition: GetGeneratedPolicyResult.h:58
GeneratedPolicyResults.h
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult
Definition: GetGeneratedPolicyResult.h:29
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::SetGeneratedPolicyResults
void SetGeneratedPolicyResults(const GeneratedPolicyResults &value)
Definition: GetGeneratedPolicyResult.h:77
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::WithGeneratedPolicyResults
GetGeneratedPolicyResult & WithGeneratedPolicyResults(const GeneratedPolicyResults &value)
Definition: GetGeneratedPolicyResult.h:89
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::SetGeneratedPolicyResults
void SetGeneratedPolicyResults(GeneratedPolicyResults &&value)
Definition: GetGeneratedPolicyResult.h:83
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::GetGeneratedPolicyResult
GetGeneratedPolicyResult()
JobDetails.h
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::WithGeneratedPolicyResults
GetGeneratedPolicyResult & WithGeneratedPolicyResults(GeneratedPolicyResults &&value)
Definition: GetGeneratedPolicyResult.h:95
Aws::AccessAnalyzer::Model::JobDetails
Definition: JobDetails.h:36
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::SetJobDetails
void SetJobDetails(JobDetails &&value)
Definition: GetGeneratedPolicyResult.h:52
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::GetJobDetails
const JobDetails & GetJobDetails() const
Definition: GetGeneratedPolicyResult.h:40
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::GetGeneratedPolicyResults
const GeneratedPolicyResults & GetGeneratedPolicyResults() const
Definition: GetGeneratedPolicyResult.h:71
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::WithJobDetails
GetGeneratedPolicyResult & WithJobDetails(JobDetails &&value)
Definition: GetGeneratedPolicyResult.h:64
Aws::AccessAnalyzer::Model::GeneratedPolicyResults
Definition: GeneratedPolicyResults.h:35
Aws::AccessAnalyzer::Model::GetGeneratedPolicyResult::SetJobDetails
void SetJobDetails(const JobDetails &value)
Definition: GetGeneratedPolicyResult.h:46