AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetStandardsControlAssociationsResult.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/StandardsControlAssociationDetail.h>
11#include <aws/securityhub/model/UnprocessedStandardsControlAssociation.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 BatchGetStandardsControlAssociationsResult() = default;
36
37
39
43 inline const Aws::Vector<StandardsControlAssociationDetail>& GetStandardsControlAssociationDetails() const { return m_standardsControlAssociationDetails; }
44 template<typename StandardsControlAssociationDetailsT = Aws::Vector<StandardsControlAssociationDetail>>
45 void SetStandardsControlAssociationDetails(StandardsControlAssociationDetailsT&& value) { m_standardsControlAssociationDetailsHasBeenSet = true; m_standardsControlAssociationDetails = std::forward<StandardsControlAssociationDetailsT>(value); }
46 template<typename StandardsControlAssociationDetailsT = Aws::Vector<StandardsControlAssociationDetail>>
47 BatchGetStandardsControlAssociationsResult& WithStandardsControlAssociationDetails(StandardsControlAssociationDetailsT&& value) { SetStandardsControlAssociationDetails(std::forward<StandardsControlAssociationDetailsT>(value)); return *this;}
48 template<typename StandardsControlAssociationDetailsT = StandardsControlAssociationDetail>
49 BatchGetStandardsControlAssociationsResult& AddStandardsControlAssociationDetails(StandardsControlAssociationDetailsT&& value) { m_standardsControlAssociationDetailsHasBeenSet = true; m_standardsControlAssociationDetails.emplace_back(std::forward<StandardsControlAssociationDetailsT>(value)); return *this; }
51
53
58 inline const Aws::Vector<UnprocessedStandardsControlAssociation>& GetUnprocessedAssociations() const { return m_unprocessedAssociations; }
59 template<typename UnprocessedAssociationsT = Aws::Vector<UnprocessedStandardsControlAssociation>>
60 void SetUnprocessedAssociations(UnprocessedAssociationsT&& value) { m_unprocessedAssociationsHasBeenSet = true; m_unprocessedAssociations = std::forward<UnprocessedAssociationsT>(value); }
61 template<typename UnprocessedAssociationsT = Aws::Vector<UnprocessedStandardsControlAssociation>>
62 BatchGetStandardsControlAssociationsResult& WithUnprocessedAssociations(UnprocessedAssociationsT&& value) { SetUnprocessedAssociations(std::forward<UnprocessedAssociationsT>(value)); return *this;}
63 template<typename UnprocessedAssociationsT = UnprocessedStandardsControlAssociation>
64 BatchGetStandardsControlAssociationsResult& AddUnprocessedAssociations(UnprocessedAssociationsT&& value) { m_unprocessedAssociationsHasBeenSet = true; m_unprocessedAssociations.emplace_back(std::forward<UnprocessedAssociationsT>(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 BatchGetStandardsControlAssociationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::Vector<StandardsControlAssociationDetail> m_standardsControlAssociationDetails;
78 bool m_standardsControlAssociationDetailsHasBeenSet = false;
79
81 bool m_unprocessedAssociationsHasBeenSet = false;
82
83 Aws::String m_requestId;
84 bool m_requestIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SecurityHub
89} // namespace Aws
AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetStandardsControlAssociationsResult & WithUnprocessedAssociations(UnprocessedAssociationsT &&value)
const Aws::Vector< UnprocessedStandardsControlAssociation > & GetUnprocessedAssociations() const
const Aws::Vector< StandardsControlAssociationDetail > & GetStandardsControlAssociationDetails() const
AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetStandardsControlAssociationsResult & WithRequestId(RequestIdT &&value)
BatchGetStandardsControlAssociationsResult & AddUnprocessedAssociations(UnprocessedAssociationsT &&value)
BatchGetStandardsControlAssociationsResult & AddStandardsControlAssociationDetails(StandardsControlAssociationDetailsT &&value)
BatchGetStandardsControlAssociationsResult & WithStandardsControlAssociationDetails(StandardsControlAssociationDetailsT &&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