AWS SDK for C++  1.9.157
AWS SDK for C++
GetAccessPreviewResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AccessAnalyzer
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const AccessPreview& GetAccessPreview() const{ return m_accessPreview; }
39 
43  inline void SetAccessPreview(const AccessPreview& value) { m_accessPreview = value; }
44 
48  inline void SetAccessPreview(AccessPreview&& value) { m_accessPreview = std::move(value); }
49 
53  inline GetAccessPreviewResult& WithAccessPreview(const AccessPreview& value) { SetAccessPreview(value); return *this;}
54 
58  inline GetAccessPreviewResult& WithAccessPreview(AccessPreview&& value) { SetAccessPreview(std::move(value)); return *this;}
59 
60  private:
61 
62  AccessPreview m_accessPreview;
63  };
64 
65 } // namespace Model
66 } // namespace AccessAnalyzer
67 } // namespace Aws
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::GetAccessPreviewResult
GetAccessPreviewResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::SetAccessPreview
void SetAccessPreview(const AccessPreview &value)
Definition: GetAccessPreviewResult.h:43
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::WithAccessPreview
GetAccessPreviewResult & WithAccessPreview(AccessPreview &&value)
Definition: GetAccessPreviewResult.h:58
Aws::AccessAnalyzer::Model::AccessPreview
Definition: AccessPreview.h:37
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::operator=
GetAccessPreviewResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::SetAccessPreview
void SetAccessPreview(AccessPreview &&value)
Definition: GetAccessPreviewResult.h:48
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::GetAccessPreviewResult
GetAccessPreviewResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::GetAccessPreview
const AccessPreview & GetAccessPreview() const
Definition: GetAccessPreviewResult.h:38
Aws::AccessAnalyzer::Model::GetAccessPreviewResult::WithAccessPreview
GetAccessPreviewResult & WithAccessPreview(const AccessPreview &value)
Definition: GetAccessPreviewResult.h:53
Aws::AccessAnalyzer::Model::GetAccessPreviewResult
Definition: GetAccessPreviewResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
AccessPreview.h