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/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/ThreatSummary.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace SecurityAgent {
42 template <
typename ThreatsT = Aws::Vector<ThreatSummary>>
44 m_threatsHasBeenSet =
true;
45 m_threats = std::forward<ThreatsT>(value);
47 template <
typename ThreatsT = Aws::Vector<ThreatSummary>>
52 template <
typename ThreatsT = ThreatSummary>
54 m_threatsHasBeenSet =
true;
55 m_threats.emplace_back(std::forward<ThreatsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_threatsHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
ListThreatsResult & AddThreats(ThreatsT &&value)
AWS_SECURITYAGENT_API ListThreatsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ThreatSummary > & GetThreats() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListThreatsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListThreatsResult & WithNextToken(NextTokenT &&value)
AWS_SECURITYAGENT_API ListThreatsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetThreats(ThreatsT &&value)
AWS_SECURITYAGENT_API ListThreatsResult()=default
ListThreatsResult & WithThreats(ThreatsT &&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