7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/UsageStatisticType.h>
11#include <aws/guardduty/model/UsageCriteria.h>
48 template<
typename DetectorIdT = Aws::String>
49 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
50 template<
typename DetectorIdT = Aws::String>
70 template<
typename UsageCriteriaT = UsageCriteria>
71 void SetUsageCriteria(UsageCriteriaT&& value) { m_usageCriteriaHasBeenSet =
true; m_usageCriteria = std::forward<UsageCriteriaT>(value); }
72 template<
typename UsageCriteriaT = UsageCriteria>
83 template<
typename UnitT = Aws::String>
84 void SetUnit(UnitT&& value) { m_unitHasBeenSet =
true; m_unit = std::forward<UnitT>(value); }
85 template<
typename UnitT = Aws::String>
95 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
108 template<
typename NextTokenT = Aws::String>
109 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
110 template<
typename NextTokenT = Aws::String>
116 bool m_detectorIdHasBeenSet =
false;
119 bool m_usageStatisticTypeHasBeenSet =
false;
121 UsageCriteria m_usageCriteria;
122 bool m_usageCriteriaHasBeenSet =
false;
125 bool m_unitHasBeenSet =
false;
128 bool m_maxResultsHasBeenSet =
false;
131 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