7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/TimeGranularity.h>
11#include <aws/guardduty/model/TimeWindowGroup.h>
33 AWS_GUARDDUTY_API
Trend() =
default;
46 m_granularityHasBeenSet =
true;
47 m_granularity = value;
61 template <
typename StartedAtT = Aws::Utils::DateTime>
63 m_startedAtHasBeenSet =
true;
64 m_startedAt = std::forward<StartedAtT>(value);
66 template <
typename StartedAtT = Aws::Utils::DateTime>
79 template <
typename EndedAtT = Aws::Utils::DateTime>
81 m_endedAtHasBeenSet =
true;
82 m_endedAt = std::forward<EndedAtT>(value);
84 template <
typename EndedAtT = Aws::Utils::DateTime>
98 m_totalFindingsHasBeenSet =
true;
99 m_totalFindings = value;
113 template <
typename ByTimeWindowT = Aws::Vector<TimeWindowGroup>>
115 m_byTimeWindowHasBeenSet =
true;
116 m_byTimeWindow = std::forward<ByTimeWindowT>(value);
118 template <
typename ByTimeWindowT = Aws::Vector<TimeWindowGroup>>
123 template <
typename ByTimeWindowT = TimeWindowGroup>
125 m_byTimeWindowHasBeenSet =
true;
126 m_byTimeWindow.emplace_back(std::forward<ByTimeWindowT>(value));
137 long long m_totalFindings{0};
140 bool m_granularityHasBeenSet =
false;
141 bool m_startedAtHasBeenSet =
false;
142 bool m_endedAtHasBeenSet =
false;
143 bool m_totalFindingsHasBeenSet =
false;
144 bool m_byTimeWindowHasBeenSet =
false;
long long GetTotalFindings() const
AWS_GUARDDUTY_API Trend & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ByTimeWindowHasBeenSet() const
bool EndedAtHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API Trend(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndedAt() const
bool GranularityHasBeenSet() const
void SetByTimeWindow(ByTimeWindowT &&value)
void SetGranularity(TimeGranularity value)
Trend & WithByTimeWindow(ByTimeWindowT &&value)
Trend & WithTotalFindings(long long value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Vector< TimeWindowGroup > & GetByTimeWindow() const
Trend & WithEndedAt(EndedAtT &&value)
TimeGranularity GetGranularity() const
void SetStartedAt(StartedAtT &&value)
Trend & WithGranularity(TimeGranularity value)
void SetTotalFindings(long long value)
AWS_GUARDDUTY_API Trend()=default
bool TotalFindingsHasBeenSet() const
Trend & WithStartedAt(StartedAtT &&value)
void SetEndedAt(EndedAtT &&value)
bool StartedAtHasBeenSet() const
Trend & AddByTimeWindow(ByTimeWindowT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue