AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGeneratedPolicyResult.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/JobDetails.h>
9#include <aws/accessanalyzer/model/GeneratedPolicyResults.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AccessAnalyzer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ACCESSANALYZER_API GetGeneratedPolicyResult();
35
36
38
42 inline const JobDetails& GetJobDetails() const{ return m_jobDetails; }
43 inline void SetJobDetails(const JobDetails& value) { m_jobDetails = value; }
44 inline void SetJobDetails(JobDetails&& value) { m_jobDetails = std::move(value); }
45 inline GetGeneratedPolicyResult& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;}
46 inline GetGeneratedPolicyResult& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;}
48
50
54 inline const GeneratedPolicyResults& GetGeneratedPolicyResults() const{ return m_generatedPolicyResults; }
55 inline void SetGeneratedPolicyResults(const GeneratedPolicyResults& value) { m_generatedPolicyResults = value; }
56 inline void SetGeneratedPolicyResults(GeneratedPolicyResults&& value) { m_generatedPolicyResults = std::move(value); }
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetGeneratedPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetGeneratedPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetGeneratedPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 JobDetails m_jobDetails;
74
75 GeneratedPolicyResults m_generatedPolicyResults;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace AccessAnalyzer
82} // namespace Aws
GetGeneratedPolicyResult & WithGeneratedPolicyResults(const GeneratedPolicyResults &value)
GetGeneratedPolicyResult & WithRequestId(const Aws::String &value)
AWS_ACCESSANALYZER_API GetGeneratedPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeneratedPolicyResult & WithGeneratedPolicyResults(GeneratedPolicyResults &&value)
void SetGeneratedPolicyResults(const GeneratedPolicyResults &value)
GetGeneratedPolicyResult & WithRequestId(const char *value)
GetGeneratedPolicyResult & WithJobDetails(JobDetails &&value)
GetGeneratedPolicyResult & WithJobDetails(const JobDetails &value)
void SetGeneratedPolicyResults(GeneratedPolicyResults &&value)
AWS_ACCESSANALYZER_API GetGeneratedPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeneratedPolicyResult & WithRequestId(Aws::String &&value)
const GeneratedPolicyResults & GetGeneratedPolicyResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue