AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
43 inline const Aws::Vector<StandardsControlAssociationDetail>& GetStandardsControlAssociationDetails() const{ return m_standardsControlAssociationDetails; }
44 inline void SetStandardsControlAssociationDetails(const Aws::Vector<StandardsControlAssociationDetail>& value) { m_standardsControlAssociationDetails = value; }
45 inline void SetStandardsControlAssociationDetails(Aws::Vector<StandardsControlAssociationDetail>&& value) { m_standardsControlAssociationDetails = std::move(value); }
48 inline BatchGetStandardsControlAssociationsResult& AddStandardsControlAssociationDetails(const StandardsControlAssociationDetail& value) { m_standardsControlAssociationDetails.push_back(value); return *this; }
49 inline BatchGetStandardsControlAssociationsResult& AddStandardsControlAssociationDetails(StandardsControlAssociationDetail&& value) { m_standardsControlAssociationDetails.push_back(std::move(value)); return *this; }
51
53
58 inline const Aws::Vector<UnprocessedStandardsControlAssociation>& GetUnprocessedAssociations() const{ return m_unprocessedAssociations; }
59 inline void SetUnprocessedAssociations(const Aws::Vector<UnprocessedStandardsControlAssociation>& value) { m_unprocessedAssociations = value; }
60 inline void SetUnprocessedAssociations(Aws::Vector<UnprocessedStandardsControlAssociation>&& value) { m_unprocessedAssociations = std::move(value); }
63 inline BatchGetStandardsControlAssociationsResult& AddUnprocessedAssociations(const UnprocessedStandardsControlAssociation& value) { m_unprocessedAssociations.push_back(value); return *this; }
64 inline BatchGetStandardsControlAssociationsResult& AddUnprocessedAssociations(UnprocessedStandardsControlAssociation&& value) { m_unprocessedAssociations.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline BatchGetStandardsControlAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline BatchGetStandardsControlAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::Vector<StandardsControlAssociationDetail> m_standardsControlAssociationDetails;
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetStandardsControlAssociationsResult & WithStandardsControlAssociationDetails(Aws::Vector< StandardsControlAssociationDetail > &&value)
BatchGetStandardsControlAssociationsResult & AddStandardsControlAssociationDetails(StandardsControlAssociationDetail &&value)
BatchGetStandardsControlAssociationsResult & WithRequestId(const char *value)
BatchGetStandardsControlAssociationsResult & AddUnprocessedAssociations(const UnprocessedStandardsControlAssociation &value)
void SetStandardsControlAssociationDetails(const Aws::Vector< StandardsControlAssociationDetail > &value)
const Aws::Vector< UnprocessedStandardsControlAssociation > & GetUnprocessedAssociations() const
BatchGetStandardsControlAssociationsResult & WithUnprocessedAssociations(const Aws::Vector< UnprocessedStandardsControlAssociation > &value)
const Aws::Vector< StandardsControlAssociationDetail > & GetStandardsControlAssociationDetails() const
BatchGetStandardsControlAssociationsResult & WithRequestId(const Aws::String &value)
BatchGetStandardsControlAssociationsResult & WithRequestId(Aws::String &&value)
BatchGetStandardsControlAssociationsResult & WithUnprocessedAssociations(Aws::Vector< UnprocessedStandardsControlAssociation > &&value)
AWS_SECURITYHUB_API BatchGetStandardsControlAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStandardsControlAssociationDetails(Aws::Vector< StandardsControlAssociationDetail > &&value)
void SetUnprocessedAssociations(const Aws::Vector< UnprocessedStandardsControlAssociation > &value)
BatchGetStandardsControlAssociationsResult & AddStandardsControlAssociationDetails(const StandardsControlAssociationDetail &value)
BatchGetStandardsControlAssociationsResult & WithStandardsControlAssociationDetails(const Aws::Vector< StandardsControlAssociationDetail > &value)
void SetUnprocessedAssociations(Aws::Vector< UnprocessedStandardsControlAssociation > &&value)
BatchGetStandardsControlAssociationsResult & AddUnprocessedAssociations(UnprocessedStandardsControlAssociation &&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