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/Threat.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace SecurityAgent {
42 template <
typename ThreatsT = Aws::Vector<Threat>>
44 m_threatsHasBeenSet =
true;
45 m_threats = std::forward<ThreatsT>(value);
47 template <
typename ThreatsT = Aws::Vector<Threat>>
52 template <
typename ThreatsT = Threat>
54 m_threatsHasBeenSet =
true;
55 m_threats.emplace_back(std::forward<ThreatsT>(value));
65 template <
typename NotFoundT = Aws::Vector<Aws::String>>
67 m_notFoundHasBeenSet =
true;
68 m_notFound = std::forward<NotFoundT>(value);
70 template <
typename NotFoundT = Aws::Vector<Aws::String>>
75 template <
typename NotFoundT = Aws::String>
77 m_notFoundHasBeenSet =
true;
78 m_notFound.emplace_back(std::forward<NotFoundT>(value));
86 template <
typename RequestIdT = Aws::String>
88 m_requestIdHasBeenSet =
true;
89 m_requestId = std::forward<RequestIdT>(value);
91 template <
typename RequestIdT = Aws::String>
106 bool m_threatsHasBeenSet =
false;
107 bool m_notFoundHasBeenSet =
false;
108 bool m_requestIdHasBeenSet =
false;
BatchGetThreatsResult & WithRequestId(RequestIdT &&value)
BatchGetThreatsResult & AddThreats(ThreatsT &&value)
AWS_SECURITYAGENT_API BatchGetThreatsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetThreats(ThreatsT &&value)
AWS_SECURITYAGENT_API BatchGetThreatsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
BatchGetThreatsResult & WithNotFound(NotFoundT &&value)
BatchGetThreatsResult & AddNotFound(NotFoundT &&value)
BatchGetThreatsResult & WithThreats(ThreatsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< Threat > & GetThreats() const
AWS_SECURITYAGENT_API BatchGetThreatsResult()=default
void SetNotFound(NotFoundT &&value)
const Aws::Vector< Aws::String > & GetNotFound() 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