AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
45 inline const Aws::Vector<SecurityControl>& GetSecurityControls() const{ return m_securityControls; }
46 inline void SetSecurityControls(const Aws::Vector<SecurityControl>& value) { m_securityControls = value; }
47 inline void SetSecurityControls(Aws::Vector<SecurityControl>&& value) { m_securityControls = std::move(value); }
50 inline BatchGetSecurityControlsResult& AddSecurityControls(const SecurityControl& value) { m_securityControls.push_back(value); return *this; }
51 inline BatchGetSecurityControlsResult& AddSecurityControls(SecurityControl&& value) { m_securityControls.push_back(std::move(value)); return *this; }
53
55
60 inline const Aws::Vector<UnprocessedSecurityControl>& GetUnprocessedIds() const{ return m_unprocessedIds; }
61 inline void SetUnprocessedIds(const Aws::Vector<UnprocessedSecurityControl>& value) { m_unprocessedIds = value; }
62 inline void SetUnprocessedIds(Aws::Vector<UnprocessedSecurityControl>&& value) { m_unprocessedIds = std::move(value); }
65 inline BatchGetSecurityControlsResult& AddUnprocessedIds(const UnprocessedSecurityControl& value) { m_unprocessedIds.push_back(value); return *this; }
66 inline BatchGetSecurityControlsResult& AddUnprocessedIds(UnprocessedSecurityControl&& value) { m_unprocessedIds.push_back(std::move(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline BatchGetSecurityControlsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline BatchGetSecurityControlsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline BatchGetSecurityControlsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 Aws::Vector<SecurityControl> m_securityControls;
82
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace SecurityHub
90} // namespace Aws
const Aws::Vector< UnprocessedSecurityControl > & GetUnprocessedIds() const
BatchGetSecurityControlsResult & WithUnprocessedIds(Aws::Vector< UnprocessedSecurityControl > &&value)
BatchGetSecurityControlsResult & WithSecurityControls(const Aws::Vector< SecurityControl > &value)
BatchGetSecurityControlsResult & WithRequestId(const char *value)
AWS_SECURITYHUB_API BatchGetSecurityControlsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetSecurityControlsResult & AddUnprocessedIds(const UnprocessedSecurityControl &value)
void SetUnprocessedIds(const Aws::Vector< UnprocessedSecurityControl > &value)
void SetSecurityControls(const Aws::Vector< SecurityControl > &value)
void SetUnprocessedIds(Aws::Vector< UnprocessedSecurityControl > &&value)
BatchGetSecurityControlsResult & AddSecurityControls(const SecurityControl &value)
void SetSecurityControls(Aws::Vector< SecurityControl > &&value)
BatchGetSecurityControlsResult & WithSecurityControls(Aws::Vector< SecurityControl > &&value)
BatchGetSecurityControlsResult & AddSecurityControls(SecurityControl &&value)
BatchGetSecurityControlsResult & AddUnprocessedIds(UnprocessedSecurityControl &&value)
BatchGetSecurityControlsResult & WithRequestId(const Aws::String &value)
BatchGetSecurityControlsResult & WithUnprocessedIds(const Aws::Vector< UnprocessedSecurityControl > &value)
BatchGetSecurityControlsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< SecurityControl > & GetSecurityControls() const
AWS_SECURITYHUB_API BatchGetSecurityControlsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue