AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IndicatorDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/detective/model/TTPsObservedDetail.h>
9#include <aws/detective/model/ImpossibleTravelDetail.h>
10#include <aws/detective/model/FlaggedIpAddressDetail.h>
11#include <aws/detective/model/NewGeolocationDetail.h>
12#include <aws/detective/model/NewAsoDetail.h>
13#include <aws/detective/model/NewUserAgentDetail.h>
14#include <aws/detective/model/RelatedFindingDetail.h>
15#include <aws/detective/model/RelatedFindingGroupDetail.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Detective
29{
30namespace Model
31{
32
46 {
47 public:
48 AWS_DETECTIVE_API IndicatorDetail() = default;
49 AWS_DETECTIVE_API IndicatorDetail(Aws::Utils::Json::JsonView jsonValue);
51 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const TTPsObservedDetail& GetTTPsObservedDetail() const { return m_tTPsObservedDetail; }
59 inline bool TTPsObservedDetailHasBeenSet() const { return m_tTPsObservedDetailHasBeenSet; }
60 template<typename TTPsObservedDetailT = TTPsObservedDetail>
61 void SetTTPsObservedDetail(TTPsObservedDetailT&& value) { m_tTPsObservedDetailHasBeenSet = true; m_tTPsObservedDetail = std::forward<TTPsObservedDetailT>(value); }
62 template<typename TTPsObservedDetailT = TTPsObservedDetail>
63 IndicatorDetail& WithTTPsObservedDetail(TTPsObservedDetailT&& value) { SetTTPsObservedDetail(std::forward<TTPsObservedDetailT>(value)); return *this;}
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) { m_impossibleTravelDetailHasBeenSet = true; m_impossibleTravelDetail = std::forward<ImpossibleTravelDetailT>(value); }
74 template<typename ImpossibleTravelDetailT = ImpossibleTravelDetail>
75 IndicatorDetail& WithImpossibleTravelDetail(ImpossibleTravelDetailT&& value) { SetImpossibleTravelDetail(std::forward<ImpossibleTravelDetailT>(value)); return *this;}
77
79
84 inline const FlaggedIpAddressDetail& GetFlaggedIpAddressDetail() const { return m_flaggedIpAddressDetail; }
85 inline bool FlaggedIpAddressDetailHasBeenSet() const { return m_flaggedIpAddressDetailHasBeenSet; }
86 template<typename FlaggedIpAddressDetailT = FlaggedIpAddressDetail>
87 void SetFlaggedIpAddressDetail(FlaggedIpAddressDetailT&& value) { m_flaggedIpAddressDetailHasBeenSet = true; m_flaggedIpAddressDetail = std::forward<FlaggedIpAddressDetailT>(value); }
88 template<typename FlaggedIpAddressDetailT = FlaggedIpAddressDetail>
89 IndicatorDetail& WithFlaggedIpAddressDetail(FlaggedIpAddressDetailT&& value) { SetFlaggedIpAddressDetail(std::forward<FlaggedIpAddressDetailT>(value)); return *this;}
91
93
96 inline const NewGeolocationDetail& GetNewGeolocationDetail() const { return m_newGeolocationDetail; }
97 inline bool NewGeolocationDetailHasBeenSet() const { return m_newGeolocationDetailHasBeenSet; }
98 template<typename NewGeolocationDetailT = NewGeolocationDetail>
99 void SetNewGeolocationDetail(NewGeolocationDetailT&& value) { m_newGeolocationDetailHasBeenSet = true; m_newGeolocationDetail = std::forward<NewGeolocationDetailT>(value); }
100 template<typename NewGeolocationDetailT = NewGeolocationDetail>
101 IndicatorDetail& WithNewGeolocationDetail(NewGeolocationDetailT&& value) { SetNewGeolocationDetail(std::forward<NewGeolocationDetailT>(value)); return *this;}
103
105
108 inline const NewAsoDetail& GetNewAsoDetail() const { return m_newAsoDetail; }
109 inline bool NewAsoDetailHasBeenSet() const { return m_newAsoDetailHasBeenSet; }
110 template<typename NewAsoDetailT = NewAsoDetail>
111 void SetNewAsoDetail(NewAsoDetailT&& value) { m_newAsoDetailHasBeenSet = true; m_newAsoDetail = std::forward<NewAsoDetailT>(value); }
112 template<typename NewAsoDetailT = NewAsoDetail>
113 IndicatorDetail& WithNewAsoDetail(NewAsoDetailT&& value) { SetNewAsoDetail(std::forward<NewAsoDetailT>(value)); return *this;}
115
117
120 inline const NewUserAgentDetail& GetNewUserAgentDetail() const { return m_newUserAgentDetail; }
121 inline bool NewUserAgentDetailHasBeenSet() const { return m_newUserAgentDetailHasBeenSet; }
122 template<typename NewUserAgentDetailT = NewUserAgentDetail>
123 void SetNewUserAgentDetail(NewUserAgentDetailT&& value) { m_newUserAgentDetailHasBeenSet = true; m_newUserAgentDetail = std::forward<NewUserAgentDetailT>(value); }
124 template<typename NewUserAgentDetailT = NewUserAgentDetail>
125 IndicatorDetail& WithNewUserAgentDetail(NewUserAgentDetailT&& value) { SetNewUserAgentDetail(std::forward<NewUserAgentDetailT>(value)); return *this;}
127
129
132 inline const RelatedFindingDetail& GetRelatedFindingDetail() const { return m_relatedFindingDetail; }
133 inline bool RelatedFindingDetailHasBeenSet() const { return m_relatedFindingDetailHasBeenSet; }
134 template<typename RelatedFindingDetailT = RelatedFindingDetail>
135 void SetRelatedFindingDetail(RelatedFindingDetailT&& value) { m_relatedFindingDetailHasBeenSet = true; m_relatedFindingDetail = std::forward<RelatedFindingDetailT>(value); }
136 template<typename RelatedFindingDetailT = RelatedFindingDetail>
137 IndicatorDetail& WithRelatedFindingDetail(RelatedFindingDetailT&& value) { SetRelatedFindingDetail(std::forward<RelatedFindingDetailT>(value)); return *this;}
139
141
144 inline const RelatedFindingGroupDetail& GetRelatedFindingGroupDetail() const { return m_relatedFindingGroupDetail; }
145 inline bool RelatedFindingGroupDetailHasBeenSet() const { return m_relatedFindingGroupDetailHasBeenSet; }
146 template<typename RelatedFindingGroupDetailT = RelatedFindingGroupDetail>
147 void SetRelatedFindingGroupDetail(RelatedFindingGroupDetailT&& value) { m_relatedFindingGroupDetailHasBeenSet = true; m_relatedFindingGroupDetail = std::forward<RelatedFindingGroupDetailT>(value); }
148 template<typename RelatedFindingGroupDetailT = RelatedFindingGroupDetail>
149 IndicatorDetail& WithRelatedFindingGroupDetail(RelatedFindingGroupDetailT&& value) { SetRelatedFindingGroupDetail(std::forward<RelatedFindingGroupDetailT>(value)); return *this;}
151 private:
152
153 TTPsObservedDetail m_tTPsObservedDetail;
154 bool m_tTPsObservedDetailHasBeenSet = false;
155
156 ImpossibleTravelDetail m_impossibleTravelDetail;
157 bool m_impossibleTravelDetailHasBeenSet = false;
158
159 FlaggedIpAddressDetail m_flaggedIpAddressDetail;
160 bool m_flaggedIpAddressDetailHasBeenSet = false;
161
162 NewGeolocationDetail m_newGeolocationDetail;
163 bool m_newGeolocationDetailHasBeenSet = false;
164
165 NewAsoDetail m_newAsoDetail;
166 bool m_newAsoDetailHasBeenSet = false;
167
168 NewUserAgentDetail m_newUserAgentDetail;
169 bool m_newUserAgentDetailHasBeenSet = false;
170
171 RelatedFindingDetail m_relatedFindingDetail;
172 bool m_relatedFindingDetailHasBeenSet = false;
173
174 RelatedFindingGroupDetail m_relatedFindingGroupDetail;
175 bool m_relatedFindingGroupDetailHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace Detective
180} // 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