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>
46 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
85 inline void SetUnit(
const char* value) { m_unitHasBeenSet =
true; m_unit.assign(value); }
97 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
112 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
120 bool m_detectorIdHasBeenSet =
false;
123 bool m_usageStatisticTypeHasBeenSet =
false;
126 bool m_usageCriteriaHasBeenSet =
false;
129 bool m_unitHasBeenSet =
false;
132 bool m_maxResultsHasBeenSet =
false;
135 bool m_nextTokenHasBeenSet =
false;
void SetDetectorId(const char *value)
bool UnitHasBeenSet() const
const UsageCriteria & GetUsageCriteria() const
GetUsageStatisticsRequest & WithDetectorId(const char *value)
GetUsageStatisticsRequest & WithUnit(const Aws::String &value)
void SetUsageCriteria(UsageCriteria &&value)
void SetUsageCriteria(const UsageCriteria &value)
bool NextTokenHasBeenSet() const
GetUsageStatisticsRequest & WithNextToken(Aws::String &&value)
GetUsageStatisticsRequest & WithNextToken(const char *value)
const UsageStatisticType & GetUsageStatisticType() const
void SetNextToken(const Aws::String &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
GetUsageStatisticsRequest & WithUsageStatisticType(UsageStatisticType &&value)
GetUsageStatisticsRequest & WithUsageCriteria(UsageCriteria &&value)
const Aws::String & GetDetectorId() const
GetUsageStatisticsRequest & WithDetectorId(Aws::String &&value)
bool MaxResultsHasBeenSet() const
void SetUsageStatisticType(const UsageStatisticType &value)
void SetMaxResults(int value)
AWS_GUARDDUTY_API GetUsageStatisticsRequest()
GetUsageStatisticsRequest & WithUsageStatisticType(const UsageStatisticType &value)
void SetDetectorId(Aws::String &&value)
void SetDetectorId(const Aws::String &value)
void SetNextToken(const char *value)
int GetMaxResults() const
void SetUnit(Aws::String &&value)
bool UsageCriteriaHasBeenSet() const
void SetUnit(const Aws::String &value)
GetUsageStatisticsRequest & WithDetectorId(const Aws::String &value)
GetUsageStatisticsRequest & WithUnit(Aws::String &&value)
const Aws::String & GetUnit() const
bool DetectorIdHasBeenSet() const
bool UsageStatisticTypeHasBeenSet() const
void SetUsageStatisticType(UsageStatisticType &&value)
GetUsageStatisticsRequest & WithUsageCriteria(const UsageCriteria &value)
GetUsageStatisticsRequest & WithMaxResults(int value)
GetUsageStatisticsRequest & WithUnit(const char *value)
GetUsageStatisticsRequest & WithNextToken(const Aws::String &value)
void SetUnit(const char *value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
void SetNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String