AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BatchGetSecurityControlsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/SecurityControl.h>
11#include <aws/securityhub/model/UnprocessedSecurityControl.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub {
25namespace Model {
27 public:
28 AWS_SECURITYHUB_API BatchGetSecurityControlsResult() = default;
31
33
39 inline const Aws::Vector<SecurityControl>& GetSecurityControls() const { return m_securityControls; }
40 template <typename SecurityControlsT = Aws::Vector<SecurityControl>>
41 void SetSecurityControls(SecurityControlsT&& value) {
42 m_securityControlsHasBeenSet = true;
43 m_securityControls = std::forward<SecurityControlsT>(value);
44 }
45 template <typename SecurityControlsT = Aws::Vector<SecurityControl>>
47 SetSecurityControls(std::forward<SecurityControlsT>(value));
48 return *this;
49 }
50 template <typename SecurityControlsT = SecurityControl>
52 m_securityControlsHasBeenSet = true;
53 m_securityControls.emplace_back(std::forward<SecurityControlsT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::Vector<UnprocessedSecurityControl>& GetUnprocessedIds() const { return m_unprocessedIds; }
65 template <typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
66 void SetUnprocessedIds(UnprocessedIdsT&& value) {
67 m_unprocessedIdsHasBeenSet = true;
68 m_unprocessedIds = std::forward<UnprocessedIdsT>(value);
69 }
70 template <typename UnprocessedIdsT = Aws::Vector<UnprocessedSecurityControl>>
72 SetUnprocessedIds(std::forward<UnprocessedIdsT>(value));
73 return *this;
74 }
75 template <typename UnprocessedIdsT = UnprocessedSecurityControl>
77 m_unprocessedIdsHasBeenSet = true;
78 m_unprocessedIds.emplace_back(std::forward<UnprocessedIdsT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 private:
98 Aws::Vector<SecurityControl> m_securityControls;
99
101
102 Aws::String m_requestId;
103 bool m_securityControlsHasBeenSet = false;
104 bool m_unprocessedIdsHasBeenSet = false;
105 bool m_requestIdHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SecurityHub
110} // 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