AWS SDK for C++  1.9.157
AWS SDK for C++
FindingSource.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AccessAnalyzer
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
47  inline const FindingSourceDetail& GetDetail() const{ return m_detail; }
48 
53  inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
54 
59  inline void SetDetail(const FindingSourceDetail& value) { m_detailHasBeenSet = true; m_detail = value; }
60 
65  inline void SetDetail(FindingSourceDetail&& value) { m_detailHasBeenSet = true; m_detail = std::move(value); }
66 
71  inline FindingSource& WithDetail(const FindingSourceDetail& value) { SetDetail(value); return *this;}
72 
77  inline FindingSource& WithDetail(FindingSourceDetail&& value) { SetDetail(std::move(value)); return *this;}
78 
79 
83  inline const FindingSourceType& GetType() const{ return m_type; }
84 
88  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 
93  inline void SetType(const FindingSourceType& value) { m_typeHasBeenSet = true; m_type = value; }
94 
98  inline void SetType(FindingSourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
99 
103  inline FindingSource& WithType(const FindingSourceType& value) { SetType(value); return *this;}
104 
108  inline FindingSource& WithType(FindingSourceType&& value) { SetType(std::move(value)); return *this;}
109 
110  private:
111 
112  FindingSourceDetail m_detail;
113  bool m_detailHasBeenSet;
114 
115  FindingSourceType m_type;
116  bool m_typeHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace AccessAnalyzer
121 } // namespace Aws
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::FindingSource::SetDetail
void SetDetail(FindingSourceDetail &&value)
Definition: FindingSource.h:65
FindingSourceType.h
Aws::AccessAnalyzer::Model::FindingSource::DetailHasBeenSet
bool DetailHasBeenSet() const
Definition: FindingSource.h:53
Aws::AccessAnalyzer::Model::FindingSource::WithDetail
FindingSource & WithDetail(const FindingSourceDetail &value)
Definition: FindingSource.h:71
Aws::AccessAnalyzer::Model::FindingSource::WithType
FindingSource & WithType(const FindingSourceType &value)
Definition: FindingSource.h:103
Aws::AccessAnalyzer::Model::FindingSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::FindingSource::GetType
const FindingSourceType & GetType() const
Definition: FindingSource.h:83
Aws::AccessAnalyzer::Model::FindingSource::SetType
void SetType(const FindingSourceType &value)
Definition: FindingSource.h:93
Aws::AccessAnalyzer::Model::FindingSource::FindingSource
FindingSource()
FindingSourceDetail.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::FindingSource::GetDetail
const FindingSourceDetail & GetDetail() const
Definition: FindingSource.h:47
Aws::AccessAnalyzer::Model::FindingSource::WithType
FindingSource & WithType(FindingSourceType &&value)
Definition: FindingSource.h:108
Aws::AccessAnalyzer::Model::FindingSourceDetail
Definition: FindingSourceDetail.h:33
Aws::AccessAnalyzer::Model::FindingSource::operator=
FindingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::FindingSourceType
FindingSourceType
Definition: FindingSourceType.h:17
Aws::AccessAnalyzer::Model::FindingSource::FindingSource
FindingSource(Aws::Utils::Json::JsonView jsonValue)
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::FindingSource
Definition: FindingSource.h:35
Aws::AccessAnalyzer::Model::FindingSource::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FindingSource.h:88
Aws::AccessAnalyzer::Model::FindingSource::SetType
void SetType(FindingSourceType &&value)
Definition: FindingSource.h:98
Aws::AccessAnalyzer::Model::FindingSource::WithDetail
FindingSource & WithDetail(FindingSourceDetail &&value)
Definition: FindingSource.h:77
Aws::AccessAnalyzer::Model::FindingSource::SetDetail
void SetDetail(const FindingSourceDetail &value)
Definition: FindingSource.h:59