AWS SDK for C++  1.9.153
AWS SDK for C++
GetAnalyzedResourceResult.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 {
33  {
34  public:
38 
39 
44  inline const AnalyzedResource& GetResource() const{ return m_resource; }
45 
50  inline void SetResource(const AnalyzedResource& value) { m_resource = value; }
51 
56  inline void SetResource(AnalyzedResource&& value) { m_resource = std::move(value); }
57 
62  inline GetAnalyzedResourceResult& WithResource(const AnalyzedResource& value) { SetResource(value); return *this;}
63 
68  inline GetAnalyzedResourceResult& WithResource(AnalyzedResource&& value) { SetResource(std::move(value)); return *this;}
69 
70  private:
71 
72  AnalyzedResource m_resource;
73  };
74 
75 } // namespace Model
76 } // namespace AccessAnalyzer
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::WithResource
GetAnalyzedResourceResult & WithResource(AnalyzedResource &&value)
Definition: GetAnalyzedResourceResult.h:68
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::GetAnalyzedResourceResult
GetAnalyzedResourceResult()
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::operator=
GetAnalyzedResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::WithResource
GetAnalyzedResourceResult & WithResource(const AnalyzedResource &value)
Definition: GetAnalyzedResourceResult.h:62
Aws::AccessAnalyzer::Model::AnalyzedResource
Definition: AnalyzedResource.h:36
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult
Definition: GetAnalyzedResourceResult.h:33
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::GetResource
const AnalyzedResource & GetResource() const
Definition: GetAnalyzedResourceResult.h:44
AnalyzedResource.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::SetResource
void SetResource(const AnalyzedResource &value)
Definition: GetAnalyzedResourceResult.h:50
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::SetResource
void SetResource(AnalyzedResource &&value)
Definition: GetAnalyzedResourceResult.h:56
Aws::AccessAnalyzer::Model::GetAnalyzedResourceResult::GetAnalyzedResourceResult
GetAnalyzedResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)