7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/FindingHistoryRecord.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
37 template <
typename RecordsT = Aws::Vector<FindingHistoryRecord>>
39 m_recordsHasBeenSet =
true;
40 m_records = std::forward<RecordsT>(value);
42 template <
typename RecordsT = Aws::Vector<FindingHistoryRecord>>
47 template <
typename RecordsT = FindingHistoryRecord>
49 m_recordsHasBeenSet =
true;
50 m_records.emplace_back(std::forward<RecordsT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
95 bool m_recordsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
void SetRecords(RecordsT &&value)
AWS_SECURITYHUB_API GetFindingHistoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
GetFindingHistoryResult & AddRecords(RecordsT &&value)
void SetRequestId(RequestIdT &&value)
GetFindingHistoryResult & WithRecords(RecordsT &&value)
AWS_SECURITYHUB_API GetFindingHistoryResult()=default
AWS_SECURITYHUB_API GetFindingHistoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FindingHistoryRecord > & GetRecords() const
GetFindingHistoryResult & WithRequestId(RequestIdT &&value)
GetFindingHistoryResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() 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