7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10#include <aws/macie2/model/TimeRange.h>
11#include <aws/macie2/model/UsageRecord.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename NextTokenT = Aws::String>
40 m_nextTokenHasBeenSet =
true;
41 m_nextToken = std::forward<NextTokenT>(value);
43 template <
typename NextTokenT = Aws::String>
57 template <
typename RecordsT = Aws::Vector<UsageRecord>>
59 m_recordsHasBeenSet =
true;
60 m_records = std::forward<RecordsT>(value);
62 template <
typename RecordsT = Aws::Vector<UsageRecord>>
67 template <
typename RecordsT = UsageRecord>
69 m_recordsHasBeenSet =
true;
70 m_records.emplace_back(std::forward<RecordsT>(value));
83 m_timeRangeHasBeenSet =
true;
95 template <
typename RequestIdT = Aws::String>
97 m_requestIdHasBeenSet =
true;
98 m_requestId = std::forward<RequestIdT>(value);
100 template <
typename RequestIdT = Aws::String>
114 bool m_nextTokenHasBeenSet =
false;
115 bool m_recordsHasBeenSet =
false;
116 bool m_timeRangeHasBeenSet =
false;
117 bool m_requestIdHasBeenSet =
false;
void SetRecords(RecordsT &&value)
GetUsageStatisticsResult & WithRecords(RecordsT &&value)
GetUsageStatisticsResult & AddRecords(RecordsT &&value)
GetUsageStatisticsResult & WithTimeRange(TimeRange value)
AWS_MACIE2_API GetUsageStatisticsResult()=default
void SetNextToken(NextTokenT &&value)
TimeRange GetTimeRange() const
void SetTimeRange(TimeRange value)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_MACIE2_API GetUsageStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACIE2_API GetUsageStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< UsageRecord > & GetRecords() const
GetUsageStatisticsResult & WithRequestId(RequestIdT &&value)
GetUsageStatisticsResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue