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/SecurityControl.h>
12#include <aws/securityhub/model/UnprocessedSecurityControl.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
41 template <
typename SecurityControlsT = Aws::Vector<SecurityControl>>
43 m_securityControlsHasBeenSet =
true;
44 m_securityControls = std::forward<SecurityControlsT>(value);
46 template <
typename SecurityControlsT = Aws::Vector<SecurityControl>>
51 template <
typename SecurityControlsT = SecurityControl>
53 m_securityControlsHasBeenSet =
true;
54 m_securityControls.emplace_back(std::forward<SecurityControlsT>(value));
66 template <
typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
68 m_unprocessedIdsHasBeenSet =
true;
69 m_unprocessedIds = std::forward<UnprocessedIdsT>(value);
71 template <
typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
76 template <
typename UnprocessedIdsT = UnprocessedSecurityControl>
78 m_unprocessedIdsHasBeenSet =
true;
79 m_unprocessedIds.emplace_back(std::forward<UnprocessedIdsT>(value));
87 template <
typename RequestIdT = Aws::String>
89 m_requestIdHasBeenSet =
true;
90 m_requestId = std::forward<RequestIdT>(value);
92 template <
typename RequestIdT = Aws::String>
107 bool m_securityControlsHasBeenSet =
false;
108 bool m_unprocessedIdsHasBeenSet =
false;
109 bool m_requestIdHasBeenSet =
false;
BatchGetSecurityControlsResult & AddSecurityControls(SecurityControlsT &&value)
const Aws::Vector< UnprocessedSecurityControl > & GetUnprocessedIds() const
AWS_SECURITYHUB_API BatchGetSecurityControlsResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_SECURITYHUB_API BatchGetSecurityControlsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSecurityControls(SecurityControlsT &&value)
BatchGetSecurityControlsResult & AddUnprocessedIds(UnprocessedIdsT &&value)
BatchGetSecurityControlsResult & WithUnprocessedIds(UnprocessedIdsT &&value)
BatchGetSecurityControlsResult & WithSecurityControls(SecurityControlsT &&value)
void SetUnprocessedIds(UnprocessedIdsT &&value)
const Aws::Vector< SecurityControl > & GetSecurityControls() const
const Aws::String & GetRequestId() const
AWS_SECURITYHUB_API BatchGetSecurityControlsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetSecurityControlsResult & WithRequestId(RequestIdT &&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