AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUsageStatisticsResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/model/TimeRange.h>
11#include <aws/macie2/model/UsageRecord.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Macie2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MACIE2_API GetUsageStatisticsResult();
36
37
39
43 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
45 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
46 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
47 inline GetUsageStatisticsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
48 inline GetUsageStatisticsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
49 inline GetUsageStatisticsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
51
53
58 inline const Aws::Vector<UsageRecord>& GetRecords() const{ return m_records; }
59 inline void SetRecords(const Aws::Vector<UsageRecord>& value) { m_records = value; }
60 inline void SetRecords(Aws::Vector<UsageRecord>&& value) { m_records = std::move(value); }
61 inline GetUsageStatisticsResult& WithRecords(const Aws::Vector<UsageRecord>& value) { SetRecords(value); return *this;}
62 inline GetUsageStatisticsResult& WithRecords(Aws::Vector<UsageRecord>&& value) { SetRecords(std::move(value)); return *this;}
63 inline GetUsageStatisticsResult& AddRecords(const UsageRecord& value) { m_records.push_back(value); return *this; }
64 inline GetUsageStatisticsResult& AddRecords(UsageRecord&& value) { m_records.push_back(std::move(value)); return *this; }
66
68
73 inline const TimeRange& GetTimeRange() const{ return m_timeRange; }
74 inline void SetTimeRange(const TimeRange& value) { m_timeRange = value; }
75 inline void SetTimeRange(TimeRange&& value) { m_timeRange = std::move(value); }
76 inline GetUsageStatisticsResult& WithTimeRange(const TimeRange& value) { SetTimeRange(value); return *this;}
77 inline GetUsageStatisticsResult& WithTimeRange(TimeRange&& value) { SetTimeRange(std::move(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline GetUsageStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline GetUsageStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline GetUsageStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 Aws::String m_nextToken;
93
95
96 TimeRange m_timeRange;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace Macie2
103} // namespace Aws
GetUsageStatisticsResult & AddRecords(UsageRecord &&value)
GetUsageStatisticsResult & WithNextToken(const Aws::String &value)
GetUsageStatisticsResult & AddRecords(const UsageRecord &value)
GetUsageStatisticsResult & WithRecords(const Aws::Vector< UsageRecord > &value)
GetUsageStatisticsResult & WithRequestId(Aws::String &&value)
GetUsageStatisticsResult & WithNextToken(Aws::String &&value)
GetUsageStatisticsResult & WithRequestId(const Aws::String &value)
GetUsageStatisticsResult & WithTimeRange(const TimeRange &value)
GetUsageStatisticsResult & WithRecords(Aws::Vector< UsageRecord > &&value)
void SetRecords(Aws::Vector< UsageRecord > &&value)
GetUsageStatisticsResult & WithTimeRange(TimeRange &&value)
GetUsageStatisticsResult & WithNextToken(const char *value)
GetUsageStatisticsResult & WithRequestId(const char *value)
void SetRecords(const Aws::Vector< UsageRecord > &value)
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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue