AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
IndicatorDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/model/FlaggedIpAddressDetail.h>
9#include <aws/detective/model/ImpossibleTravelDetail.h>
10#include <aws/detective/model/NewAsoDetail.h>
11#include <aws/detective/model/NewGeolocationDetail.h>
12#include <aws/detective/model/NewUserAgentDetail.h>
13#include <aws/detective/model/RelatedFindingDetail.h>
14#include <aws/detective/model/RelatedFindingGroupDetail.h>
15#include <aws/detective/model/TTPsObservedDetail.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Detective {
27namespace Model {
28
42 public:
43 AWS_DETECTIVE_API IndicatorDetail() = default;
44 AWS_DETECTIVE_API IndicatorDetail(Aws::Utils::Json::JsonView jsonValue);
46 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const TTPsObservedDetail& GetTTPsObservedDetail() const { return m_tTPsObservedDetail; }
53 inline bool TTPsObservedDetailHasBeenSet() const { return m_tTPsObservedDetailHasBeenSet; }
54 template <typename TTPsObservedDetailT = TTPsObservedDetail>
55 void SetTTPsObservedDetail(TTPsObservedDetailT&& value) {
56 m_tTPsObservedDetailHasBeenSet = true;
57 m_tTPsObservedDetail = std::forward<TTPsObservedDetailT>(value);
58 }
59 template <typename TTPsObservedDetailT = TTPsObservedDetail>
60 IndicatorDetail& WithTTPsObservedDetail(TTPsObservedDetailT&& value) {
61 SetTTPsObservedDetail(std::forward<TTPsObservedDetailT>(value));
62 return *this;
63 }
65
67
70 inline const ImpossibleTravelDetail& GetImpossibleTravelDetail() const { return m_impossibleTravelDetail; }
71 inline bool ImpossibleTravelDetailHasBeenSet() const { return m_impossibleTravelDetailHasBeenSet; }
72 template <typename ImpossibleTravelDetailT = ImpossibleTravelDetail>
73 void SetImpossibleTravelDetail(ImpossibleTravelDetailT&& value) {
74 m_impossibleTravelDetailHasBeenSet = true;
75 m_impossibleTravelDetail = std::forward<ImpossibleTravelDetailT>(value);
76 }
77 template <typename ImpossibleTravelDetailT = ImpossibleTravelDetail>
78 IndicatorDetail& WithImpossibleTravelDetail(ImpossibleTravelDetailT&& value) {
79 SetImpossibleTravelDetail(std::forward<ImpossibleTravelDetailT>(value));
80 return *this;
81 }
83
85
90 inline const FlaggedIpAddressDetail& GetFlaggedIpAddressDetail() const { return m_flaggedIpAddressDetail; }
91 inline bool FlaggedIpAddressDetailHasBeenSet() const { return m_flaggedIpAddressDetailHasBeenSet; }
92 template <typename FlaggedIpAddressDetailT = FlaggedIpAddressDetail>
93 void SetFlaggedIpAddressDetail(FlaggedIpAddressDetailT&& value) {
94 m_flaggedIpAddressDetailHasBeenSet = true;
95 m_flaggedIpAddressDetail = std::forward<FlaggedIpAddressDetailT>(value);
96 }
97 template <typename FlaggedIpAddressDetailT = FlaggedIpAddressDetail>
98 IndicatorDetail& WithFlaggedIpAddressDetail(FlaggedIpAddressDetailT&& value) {
99 SetFlaggedIpAddressDetail(std::forward<FlaggedIpAddressDetailT>(value));
100 return *this;
101 }
103
105
108 inline const NewGeolocationDetail& GetNewGeolocationDetail() const { return m_newGeolocationDetail; }
109 inline bool NewGeolocationDetailHasBeenSet() const { return m_newGeolocationDetailHasBeenSet; }
110 template <typename NewGeolocationDetailT = NewGeolocationDetail>
111 void SetNewGeolocationDetail(NewGeolocationDetailT&& value) {
112 m_newGeolocationDetailHasBeenSet = true;
113 m_newGeolocationDetail = std::forward<NewGeolocationDetailT>(value);
114 }
115 template <typename NewGeolocationDetailT = NewGeolocationDetail>
116 IndicatorDetail& WithNewGeolocationDetail(NewGeolocationDetailT&& value) {
117 SetNewGeolocationDetail(std::forward<NewGeolocationDetailT>(value));
118 return *this;
119 }
121
123
126 inline const NewAsoDetail& GetNewAsoDetail() const { return m_newAsoDetail; }
127 inline bool NewAsoDetailHasBeenSet() const { return m_newAsoDetailHasBeenSet; }
128 template <typename NewAsoDetailT = NewAsoDetail>
129 void SetNewAsoDetail(NewAsoDetailT&& value) {
130 m_newAsoDetailHasBeenSet = true;
131 m_newAsoDetail = std::forward<NewAsoDetailT>(value);
132 }
133 template <typename NewAsoDetailT = NewAsoDetail>
134 IndicatorDetail& WithNewAsoDetail(NewAsoDetailT&& value) {
135 SetNewAsoDetail(std::forward<NewAsoDetailT>(value));
136 return *this;
137 }
139
141
144 inline const NewUserAgentDetail& GetNewUserAgentDetail() const { return m_newUserAgentDetail; }
145 inline bool NewUserAgentDetailHasBeenSet() const { return m_newUserAgentDetailHasBeenSet; }
146 template <typename NewUserAgentDetailT = NewUserAgentDetail>
147 void SetNewUserAgentDetail(NewUserAgentDetailT&& value) {
148 m_newUserAgentDetailHasBeenSet = true;
149 m_newUserAgentDetail = std::forward<NewUserAgentDetailT>(value);
150 }
151 template <typename NewUserAgentDetailT = NewUserAgentDetail>
152 IndicatorDetail& WithNewUserAgentDetail(NewUserAgentDetailT&& value) {
153 SetNewUserAgentDetail(std::forward<NewUserAgentDetailT>(value));
154 return *this;
155 }
157
159
162 inline const RelatedFindingDetail& GetRelatedFindingDetail() const { return m_relatedFindingDetail; }
163 inline bool RelatedFindingDetailHasBeenSet() const { return m_relatedFindingDetailHasBeenSet; }
164 template <typename RelatedFindingDetailT = RelatedFindingDetail>
165 void SetRelatedFindingDetail(RelatedFindingDetailT&& value) {
166 m_relatedFindingDetailHasBeenSet = true;
167 m_relatedFindingDetail = std::forward<RelatedFindingDetailT>(value);
168 }
169 template <typename RelatedFindingDetailT = RelatedFindingDetail>
170 IndicatorDetail& WithRelatedFindingDetail(RelatedFindingDetailT&& value) {
171 SetRelatedFindingDetail(std::forward<RelatedFindingDetailT>(value));
172 return *this;
173 }
175
177
180 inline const RelatedFindingGroupDetail& GetRelatedFindingGroupDetail() const { return m_relatedFindingGroupDetail; }
181 inline bool RelatedFindingGroupDetailHasBeenSet() const { return m_relatedFindingGroupDetailHasBeenSet; }
182 template <typename RelatedFindingGroupDetailT = RelatedFindingGroupDetail>
183 void SetRelatedFindingGroupDetail(RelatedFindingGroupDetailT&& value) {
184 m_relatedFindingGroupDetailHasBeenSet = true;
185 m_relatedFindingGroupDetail = std::forward<RelatedFindingGroupDetailT>(value);
186 }
187 template <typename RelatedFindingGroupDetailT = RelatedFindingGroupDetail>
188 IndicatorDetail& WithRelatedFindingGroupDetail(RelatedFindingGroupDetailT&& value) {
189 SetRelatedFindingGroupDetail(std::forward<RelatedFindingGroupDetailT>(value));
190 return *this;
191 }
193 private:
194 TTPsObservedDetail m_tTPsObservedDetail;
195
196 ImpossibleTravelDetail m_impossibleTravelDetail;
197
198 FlaggedIpAddressDetail m_flaggedIpAddressDetail;
199
200 NewGeolocationDetail m_newGeolocationDetail;
201
202 NewAsoDetail m_newAsoDetail;
203
204 NewUserAgentDetail m_newUserAgentDetail;
205
206 RelatedFindingDetail m_relatedFindingDetail;
207
208 RelatedFindingGroupDetail m_relatedFindingGroupDetail;
209 bool m_tTPsObservedDetailHasBeenSet = false;
210 bool m_impossibleTravelDetailHasBeenSet = false;
211 bool m_flaggedIpAddressDetailHasBeenSet = false;
212 bool m_newGeolocationDetailHasBeenSet = false;
213 bool m_newAsoDetailHasBeenSet = false;
214 bool m_newUserAgentDetailHasBeenSet = false;
215 bool m_relatedFindingDetailHasBeenSet = false;
216 bool m_relatedFindingGroupDetailHasBeenSet = false;
217};
218
219} // namespace Model
220} // namespace Detective
221} // namespace Aws
void SetNewUserAgentDetail(NewUserAgentDetailT &&value)
IndicatorDetail & WithNewAsoDetail(NewAsoDetailT &&value)
void SetRelatedFindingDetail(RelatedFindingDetailT &&value)
IndicatorDetail & WithNewUserAgentDetail(NewUserAgentDetailT &&value)
void SetImpossibleTravelDetail(ImpossibleTravelDetailT &&value)
void SetNewAsoDetail(NewAsoDetailT &&value)
const FlaggedIpAddressDetail & GetFlaggedIpAddressDetail() const
const NewGeolocationDetail & GetNewGeolocationDetail() const
IndicatorDetail & WithTTPsObservedDetail(TTPsObservedDetailT &&value)
void SetTTPsObservedDetail(TTPsObservedDetailT &&value)
const RelatedFindingGroupDetail & GetRelatedFindingGroupDetail() const
IndicatorDetail & WithImpossibleTravelDetail(ImpossibleTravelDetailT &&value)
const TTPsObservedDetail & GetTTPsObservedDetail() const
IndicatorDetail & WithFlaggedIpAddressDetail(FlaggedIpAddressDetailT &&value)
const NewUserAgentDetail & GetNewUserAgentDetail() const
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNewGeolocationDetail(NewGeolocationDetailT &&value)
AWS_DETECTIVE_API IndicatorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const NewAsoDetail & GetNewAsoDetail() const
IndicatorDetail & WithRelatedFindingGroupDetail(RelatedFindingGroupDetailT &&value)
const RelatedFindingDetail & GetRelatedFindingDetail() const
const ImpossibleTravelDetail & GetImpossibleTravelDetail() const
IndicatorDetail & WithRelatedFindingDetail(RelatedFindingDetailT &&value)
void SetFlaggedIpAddressDetail(FlaggedIpAddressDetailT &&value)
AWS_DETECTIVE_API IndicatorDetail()=default
void SetRelatedFindingGroupDetail(RelatedFindingGroupDetailT &&value)
AWS_DETECTIVE_API IndicatorDetail(Aws::Utils::Json::JsonView jsonValue)
IndicatorDetail & WithNewGeolocationDetail(NewGeolocationDetailT &&value)
Aws::Utils::Json::JsonValue JsonValue