AWS SDK for C++  1.9.153
AWS SDK for C++
GetFindingResult.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 
43  inline const Finding& GetFinding() const{ return m_finding; }
44 
48  inline void SetFinding(const Finding& value) { m_finding = value; }
49 
53  inline void SetFinding(Finding&& value) { m_finding = std::move(value); }
54 
58  inline GetFindingResult& WithFinding(const Finding& value) { SetFinding(value); return *this;}
59 
63  inline GetFindingResult& WithFinding(Finding&& value) { SetFinding(std::move(value)); return *this;}
64 
65  private:
66 
67  Finding m_finding;
68  };
69 
70 } // namespace Model
71 } // namespace AccessAnalyzer
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::GetFindingResult::operator=
GetFindingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetFindingResult
Definition: GetFindingResult.h:33
Aws::AccessAnalyzer::Model::GetFindingResult::GetFindingResult
GetFindingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetFindingResult::WithFinding
GetFindingResult & WithFinding(Finding &&value)
Definition: GetFindingResult.h:63
Aws::AccessAnalyzer::Model::Finding
Definition: Finding.h:38
Finding.h
Aws::AccessAnalyzer::Model::GetFindingResult::WithFinding
GetFindingResult & WithFinding(const Finding &value)
Definition: GetFindingResult.h:58
Aws::AccessAnalyzer::Model::GetFindingResult::SetFinding
void SetFinding(const Finding &value)
Definition: GetFindingResult.h:48
Aws::AccessAnalyzer::Model::GetFindingResult::GetFinding
const Finding & GetFinding() const
Definition: GetFindingResult.h:43
Aws::AccessAnalyzer::Model::GetFindingResult::GetFindingResult
GetFindingResult()
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
Aws::AccessAnalyzer::Model::GetFindingResult::SetFinding
void SetFinding(Finding &&value)
Definition: GetFindingResult.h:53