7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/TimeRange.h>
12#include <aws/macie2/model/UsageRecord.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename NextTokenT = Aws::String>
41 m_nextTokenHasBeenSet =
true;
42 m_nextToken = std::forward<NextTokenT>(value);
44 template <
typename NextTokenT = Aws::String>
58 template <
typename RecordsT = Aws::Vector<UsageRecord>>
60 m_recordsHasBeenSet =
true;
61 m_records = std::forward<RecordsT>(value);
63 template <
typename RecordsT = Aws::Vector<UsageRecord>>
68 template <
typename RecordsT = UsageRecord>
70 m_recordsHasBeenSet =
true;
71 m_records.emplace_back(std::forward<RecordsT>(value));
84 m_timeRangeHasBeenSet =
true;
96 template <
typename RequestIdT = Aws::String>
98 m_requestIdHasBeenSet =
true;
99 m_requestId = std::forward<RequestIdT>(value);
101 template <
typename RequestIdT = Aws::String>
118 bool m_nextTokenHasBeenSet =
false;
119 bool m_recordsHasBeenSet =
false;
120 bool m_timeRangeHasBeenSet =
false;
121 bool m_requestIdHasBeenSet =
false;
void SetRecords(RecordsT &&value)
GetUsageStatisticsResult & WithRecords(RecordsT &&value)
GetUsageStatisticsResult & AddRecords(RecordsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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