AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
InvestigationSummaryData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/AccountAnalysis.h>
11#include <aws/guardduty/model/Countermeasure.h>
12#include <aws/guardduty/model/KeyObservations.h>
13#include <aws/guardduty/model/OrganizationAnalysis.h>
14#include <aws/guardduty/model/Recommendation.h>
15#include <aws/guardduty/model/ThreatAssessment.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace GuardDuty {
27namespace Model {
28
36 public:
37 AWS_GUARDDUTY_API InvestigationSummaryData() = default;
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetFindingType() const { return m_findingType; }
48 inline bool FindingTypeHasBeenSet() const { return m_findingTypeHasBeenSet; }
49 template <typename FindingTypeT = Aws::String>
50 void SetFindingType(FindingTypeT&& value) {
51 m_findingTypeHasBeenSet = true;
52 m_findingType = std::forward<FindingTypeT>(value);
53 }
54 template <typename FindingTypeT = Aws::String>
56 SetFindingType(std::forward<FindingTypeT>(value));
57 return *this;
58 }
60
62
66 inline const ThreatAssessment& GetThreatAssessment() const { return m_threatAssessment; }
67 inline bool ThreatAssessmentHasBeenSet() const { return m_threatAssessmentHasBeenSet; }
68 template <typename ThreatAssessmentT = ThreatAssessment>
69 void SetThreatAssessment(ThreatAssessmentT&& value) {
70 m_threatAssessmentHasBeenSet = true;
71 m_threatAssessment = std::forward<ThreatAssessmentT>(value);
72 }
73 template <typename ThreatAssessmentT = ThreatAssessment>
74 InvestigationSummaryData& WithThreatAssessment(ThreatAssessmentT&& value) {
75 SetThreatAssessment(std::forward<ThreatAssessmentT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::Vector<Countermeasure>& GetCountermeasures() const { return m_countermeasures; }
86 inline bool CountermeasuresHasBeenSet() const { return m_countermeasuresHasBeenSet; }
87 template <typename CountermeasuresT = Aws::Vector<Countermeasure>>
88 void SetCountermeasures(CountermeasuresT&& value) {
89 m_countermeasuresHasBeenSet = true;
90 m_countermeasures = std::forward<CountermeasuresT>(value);
91 }
92 template <typename CountermeasuresT = Aws::Vector<Countermeasure>>
93 InvestigationSummaryData& WithCountermeasures(CountermeasuresT&& value) {
94 SetCountermeasures(std::forward<CountermeasuresT>(value));
95 return *this;
96 }
97 template <typename CountermeasuresT = Countermeasure>
98 InvestigationSummaryData& AddCountermeasures(CountermeasuresT&& value) {
99 m_countermeasuresHasBeenSet = true;
100 m_countermeasures.emplace_back(std::forward<CountermeasuresT>(value));
101 return *this;
102 }
104
106
110 inline const AccountAnalysis& GetAccountAnalysis() const { return m_accountAnalysis; }
111 inline bool AccountAnalysisHasBeenSet() const { return m_accountAnalysisHasBeenSet; }
112 template <typename AccountAnalysisT = AccountAnalysis>
113 void SetAccountAnalysis(AccountAnalysisT&& value) {
114 m_accountAnalysisHasBeenSet = true;
115 m_accountAnalysis = std::forward<AccountAnalysisT>(value);
116 }
117 template <typename AccountAnalysisT = AccountAnalysis>
119 SetAccountAnalysis(std::forward<AccountAnalysisT>(value));
120 return *this;
121 }
123
125
129 inline const OrganizationAnalysis& GetOrganizationAnalysis() const { return m_organizationAnalysis; }
130 inline bool OrganizationAnalysisHasBeenSet() const { return m_organizationAnalysisHasBeenSet; }
131 template <typename OrganizationAnalysisT = OrganizationAnalysis>
132 void SetOrganizationAnalysis(OrganizationAnalysisT&& value) {
133 m_organizationAnalysisHasBeenSet = true;
134 m_organizationAnalysis = std::forward<OrganizationAnalysisT>(value);
135 }
136 template <typename OrganizationAnalysisT = OrganizationAnalysis>
137 InvestigationSummaryData& WithOrganizationAnalysis(OrganizationAnalysisT&& value) {
138 SetOrganizationAnalysis(std::forward<OrganizationAnalysisT>(value));
139 return *this;
140 }
142
144
147 inline const KeyObservations& GetKeyObservations() const { return m_keyObservations; }
148 inline bool KeyObservationsHasBeenSet() const { return m_keyObservationsHasBeenSet; }
149 template <typename KeyObservationsT = KeyObservations>
150 void SetKeyObservations(KeyObservationsT&& value) {
151 m_keyObservationsHasBeenSet = true;
152 m_keyObservations = std::forward<KeyObservationsT>(value);
153 }
154 template <typename KeyObservationsT = KeyObservations>
156 SetKeyObservations(std::forward<KeyObservationsT>(value));
157 return *this;
158 }
160
162
166 inline const Aws::Vector<Recommendation>& GetRecommendations() const { return m_recommendations; }
167 inline bool RecommendationsHasBeenSet() const { return m_recommendationsHasBeenSet; }
168 template <typename RecommendationsT = Aws::Vector<Recommendation>>
169 void SetRecommendations(RecommendationsT&& value) {
170 m_recommendationsHasBeenSet = true;
171 m_recommendations = std::forward<RecommendationsT>(value);
172 }
173 template <typename RecommendationsT = Aws::Vector<Recommendation>>
175 SetRecommendations(std::forward<RecommendationsT>(value));
176 return *this;
177 }
178 template <typename RecommendationsT = Recommendation>
179 InvestigationSummaryData& AddRecommendations(RecommendationsT&& value) {
180 m_recommendationsHasBeenSet = true;
181 m_recommendations.emplace_back(std::forward<RecommendationsT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_findingType;
187
188 ThreatAssessment m_threatAssessment;
189
190 Aws::Vector<Countermeasure> m_countermeasures;
191
192 AccountAnalysis m_accountAnalysis;
193
194 OrganizationAnalysis m_organizationAnalysis;
195
196 KeyObservations m_keyObservations;
197
198 Aws::Vector<Recommendation> m_recommendations;
199 bool m_findingTypeHasBeenSet = false;
200 bool m_threatAssessmentHasBeenSet = false;
201 bool m_countermeasuresHasBeenSet = false;
202 bool m_accountAnalysisHasBeenSet = false;
203 bool m_organizationAnalysisHasBeenSet = false;
204 bool m_keyObservationsHasBeenSet = false;
205 bool m_recommendationsHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace GuardDuty
210} // namespace Aws
InvestigationSummaryData & AddCountermeasures(CountermeasuresT &&value)
const Aws::Vector< Countermeasure > & GetCountermeasures() const
AWS_GUARDDUTY_API InvestigationSummaryData()=default
AWS_GUARDDUTY_API InvestigationSummaryData(Aws::Utils::Json::JsonView jsonValue)
InvestigationSummaryData & AddRecommendations(RecommendationsT &&value)
InvestigationSummaryData & WithRecommendations(RecommendationsT &&value)
InvestigationSummaryData & WithOrganizationAnalysis(OrganizationAnalysisT &&value)
InvestigationSummaryData & WithAccountAnalysis(AccountAnalysisT &&value)
const Aws::Vector< Recommendation > & GetRecommendations() const
const OrganizationAnalysis & GetOrganizationAnalysis() const
InvestigationSummaryData & WithThreatAssessment(ThreatAssessmentT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrganizationAnalysis(OrganizationAnalysisT &&value)
InvestigationSummaryData & WithKeyObservations(KeyObservationsT &&value)
InvestigationSummaryData & WithFindingType(FindingTypeT &&value)
InvestigationSummaryData & WithCountermeasures(CountermeasuresT &&value)
AWS_GUARDDUTY_API InvestigationSummaryData & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue