7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/UsageCriteria.h>
11#include <aws/guardduty/model/UsageStatisticType.h>
44 template <
typename DetectorIdT = Aws::String>
46 m_detectorIdHasBeenSet =
true;
47 m_detectorId = std::forward<DetectorIdT>(value);
49 template <
typename DetectorIdT = Aws::String>
63 m_usageStatisticTypeHasBeenSet =
true;
64 m_usageStatisticType = value;
78 template <
typename UsageCriteriaT = UsageCriteria>
80 m_usageCriteriaHasBeenSet =
true;
81 m_usageCriteria = std::forward<UsageCriteriaT>(value);
83 template <
typename UsageCriteriaT = UsageCriteria>
97 template <
typename UnitT = Aws::String>
99 m_unitHasBeenSet =
true;
100 m_unit = std::forward<UnitT>(value);
102 template <
typename UnitT = Aws::String>
104 SetUnit(std::forward<UnitT>(value));
116 m_maxResultsHasBeenSet =
true;
117 m_maxResults = value;
134 template <
typename NextTokenT = Aws::String>
136 m_nextTokenHasBeenSet =
true;
137 m_nextToken = std::forward<NextTokenT>(value);
139 template <
typename NextTokenT = Aws::String>
150 UsageCriteria m_usageCriteria;
157 bool m_detectorIdHasBeenSet =
false;
158 bool m_usageStatisticTypeHasBeenSet =
false;
159 bool m_usageCriteriaHasBeenSet =
false;
160 bool m_unitHasBeenSet =
false;
161 bool m_maxResultsHasBeenSet =
false;
162 bool m_nextTokenHasBeenSet =
false;
bool UnitHasBeenSet() const
const UsageCriteria & GetUsageCriteria() const
GetUsageStatisticsRequest & WithDetectorId(DetectorIdT &&value)
bool NextTokenHasBeenSet() const
GetUsageStatisticsRequest & WithNextToken(NextTokenT &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
void SetDetectorId(DetectorIdT &&value)
const Aws::String & GetDetectorId() const
void SetUsageStatisticType(UsageStatisticType value)
bool MaxResultsHasBeenSet() const
void SetMaxResults(int value)
UsageStatisticType GetUsageStatisticType() const
void SetUnit(UnitT &&value)
GetUsageStatisticsRequest & WithUsageStatisticType(UsageStatisticType value)
int GetMaxResults() const
GetUsageStatisticsRequest & WithUnit(UnitT &&value)
bool UsageCriteriaHasBeenSet() const
const Aws::String & GetUnit() const
bool DetectorIdHasBeenSet() const
bool UsageStatisticTypeHasBeenSet() const
GetUsageStatisticsRequest & WithUsageCriteria(UsageCriteriaT &&value)
GetUsageStatisticsRequest & WithMaxResults(int value)
void SetNextToken(NextTokenT &&value)
AWS_GUARDDUTY_API GetUsageStatisticsRequest()=default
void SetUsageCriteria(UsageCriteriaT &&value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String