AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetSecurityControlsResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/SecurityControl.h>
11#include <aws/securityhub/model/UnprocessedSecurityControl.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SecurityHub
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SECURITYHUB_API BatchGetSecurityControlsResult() = default;
36
37
39
45 inline const Aws::Vector<SecurityControl>& GetSecurityControls() const { return m_securityControls; }
46 template<typename SecurityControlsT = Aws::Vector<SecurityControl>>
47 void SetSecurityControls(SecurityControlsT&& value) { m_securityControlsHasBeenSet = true; m_securityControls = std::forward<SecurityControlsT>(value); }
48 template<typename SecurityControlsT = Aws::Vector<SecurityControl>>
49 BatchGetSecurityControlsResult& WithSecurityControls(SecurityControlsT&& value) { SetSecurityControls(std::forward<SecurityControlsT>(value)); return *this;}
50 template<typename SecurityControlsT = SecurityControl>
51 BatchGetSecurityControlsResult& AddSecurityControls(SecurityControlsT&& value) { m_securityControlsHasBeenSet = true; m_securityControls.emplace_back(std::forward<SecurityControlsT>(value)); return *this; }
53
55
60 inline const Aws::Vector<UnprocessedSecurityControl>& GetUnprocessedIds() const { return m_unprocessedIds; }
61 template<typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
62 void SetUnprocessedIds(UnprocessedIdsT&& value) { m_unprocessedIdsHasBeenSet = true; m_unprocessedIds = std::forward<UnprocessedIdsT>(value); }
63 template<typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
64 BatchGetSecurityControlsResult& WithUnprocessedIds(UnprocessedIdsT&& value) { SetUnprocessedIds(std::forward<UnprocessedIdsT>(value)); return *this;}
65 template<typename UnprocessedIdsT = UnprocessedSecurityControl>
66 BatchGetSecurityControlsResult& AddUnprocessedIds(UnprocessedIdsT&& value) { m_unprocessedIdsHasBeenSet = true; m_unprocessedIds.emplace_back(std::forward<UnprocessedIdsT>(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 BatchGetSecurityControlsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::Vector<SecurityControl> m_securityControls;
80 bool m_securityControlsHasBeenSet = false;
81
83 bool m_unprocessedIdsHasBeenSet = false;
84
85 Aws::String m_requestId;
86 bool m_requestIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SecurityHub
91} // namespace Aws
BatchGetSecurityControlsResult & AddSecurityControls(SecurityControlsT &&value)
const Aws::Vector< UnprocessedSecurityControl > & GetUnprocessedIds() const
AWS_SECURITYHUB_API BatchGetSecurityControlsResult()=default
AWS_SECURITYHUB_API BatchGetSecurityControlsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetSecurityControlsResult & AddUnprocessedIds(UnprocessedIdsT &&value)
BatchGetSecurityControlsResult & WithUnprocessedIds(UnprocessedIdsT &&value)
BatchGetSecurityControlsResult & WithSecurityControls(SecurityControlsT &&value)
const Aws::Vector< SecurityControl > & GetSecurityControls() 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