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/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/FindingHistoryRecord.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
38 template <
typename RecordsT = Aws::Vector<FindingHistoryRecord>>
40 m_recordsHasBeenSet =
true;
41 m_records = std::forward<RecordsT>(value);
43 template <
typename RecordsT = Aws::Vector<FindingHistoryRecord>>
48 template <
typename RecordsT = FindingHistoryRecord>
50 m_recordsHasBeenSet =
true;
51 m_records.emplace_back(std::forward<RecordsT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
99 bool m_recordsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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