7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/ActivityWindow.h>
10#include <aws/guardduty/model/Enrichment.h>
43 template <
typename OutcomeT = Aws::String>
45 m_outcomeHasBeenSet =
true;
46 m_outcome = std::forward<OutcomeT>(value);
48 template <
typename OutcomeT = Aws::String>
61 template <
typename RateT = Aws::String>
63 m_rateHasBeenSet =
true;
64 m_rate = std::forward<RateT>(value);
66 template <
typename RateT = Aws::String>
68 SetRate(std::forward<RateT>(value));
79 template <
typename AnomalyContextT = Aws::String>
81 m_anomalyContextHasBeenSet =
true;
82 m_anomalyContext = std::forward<AnomalyContextT>(value);
84 template <
typename AnomalyContextT = Aws::String>
98 m_loginCountHasBeenSet =
true;
113 template <
typename ActivityWindowT = ActivityWindow>
115 m_activityWindowHasBeenSet =
true;
116 m_activityWindow = std::forward<ActivityWindowT>(value);
118 template <
typename ActivityWindowT = ActivityWindow>
132 template <
typename EnrichmentT = Enrichment>
134 m_enrichmentHasBeenSet =
true;
135 m_enrichment = std::forward<EnrichmentT>(value);
137 template <
typename EnrichmentT = Enrichment>
150 long long m_loginCount{0};
152 ActivityWindow m_activityWindow;
154 Enrichment m_enrichment;
155 bool m_outcomeHasBeenSet =
false;
156 bool m_rateHasBeenSet =
false;
157 bool m_anomalyContextHasBeenSet =
false;
158 bool m_loginCountHasBeenSet =
false;
159 bool m_activityWindowHasBeenSet =
false;
160 bool m_enrichmentHasBeenSet =
false;
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAnomalyContext() const
const ActivityWindow & GetActivityWindow() const
void SetRate(RateT &&value)
bool EnrichmentHasBeenSet() const
void SetEnrichment(EnrichmentT &&value)
RdsLoginActivity & WithOutcome(OutcomeT &&value)
long long GetLoginCount() const
AWS_GUARDDUTY_API RdsLoginActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnomalyContext(AnomalyContextT &&value)
void SetActivityWindow(ActivityWindowT &&value)
bool LoginCountHasBeenSet() const
const Enrichment & GetEnrichment() const
AWS_GUARDDUTY_API RdsLoginActivity(Aws::Utils::Json::JsonView jsonValue)
RdsLoginActivity & WithActivityWindow(ActivityWindowT &&value)
RdsLoginActivity & WithRate(RateT &&value)
RdsLoginActivity & WithAnomalyContext(AnomalyContextT &&value)
const Aws::String & GetRate() const
bool RateHasBeenSet() const
AWS_GUARDDUTY_API RdsLoginActivity()=default
RdsLoginActivity & WithEnrichment(EnrichmentT &&value)
RdsLoginActivity & WithLoginCount(long long value)
bool OutcomeHasBeenSet() const
const Aws::String & GetOutcome() const
bool AnomalyContextHasBeenSet() const
void SetLoginCount(long long value)
bool ActivityWindowHasBeenSet() const
void SetOutcome(OutcomeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue