AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetConfigurationPolicyAssociationsResult.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/ConfigurationPolicyAssociationSummary.h>
11#include <aws/securityhub/model/UnprocessedConfigurationPolicyAssociation.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
42 inline const Aws::Vector<ConfigurationPolicyAssociationSummary>& GetConfigurationPolicyAssociations() const{ return m_configurationPolicyAssociations; }
43 inline void SetConfigurationPolicyAssociations(const Aws::Vector<ConfigurationPolicyAssociationSummary>& value) { m_configurationPolicyAssociations = value; }
44 inline void SetConfigurationPolicyAssociations(Aws::Vector<ConfigurationPolicyAssociationSummary>&& value) { m_configurationPolicyAssociations = std::move(value); }
47 inline BatchGetConfigurationPolicyAssociationsResult& AddConfigurationPolicyAssociations(const ConfigurationPolicyAssociationSummary& value) { m_configurationPolicyAssociations.push_back(value); return *this; }
48 inline BatchGetConfigurationPolicyAssociationsResult& AddConfigurationPolicyAssociations(ConfigurationPolicyAssociationSummary&& value) { m_configurationPolicyAssociations.push_back(std::move(value)); return *this; }
50
52
57 inline const Aws::Vector<UnprocessedConfigurationPolicyAssociation>& GetUnprocessedConfigurationPolicyAssociations() const{ return m_unprocessedConfigurationPolicyAssociations; }
58 inline void SetUnprocessedConfigurationPolicyAssociations(const Aws::Vector<UnprocessedConfigurationPolicyAssociation>& value) { m_unprocessedConfigurationPolicyAssociations = value; }
59 inline void SetUnprocessedConfigurationPolicyAssociations(Aws::Vector<UnprocessedConfigurationPolicyAssociation>&& value) { m_unprocessedConfigurationPolicyAssociations = std::move(value); }
62 inline BatchGetConfigurationPolicyAssociationsResult& AddUnprocessedConfigurationPolicyAssociations(const UnprocessedConfigurationPolicyAssociation& value) { m_unprocessedConfigurationPolicyAssociations.push_back(value); return *this; }
63 inline BatchGetConfigurationPolicyAssociationsResult& AddUnprocessedConfigurationPolicyAssociations(UnprocessedConfigurationPolicyAssociation&& value) { m_unprocessedConfigurationPolicyAssociations.push_back(std::move(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline BatchGetConfigurationPolicyAssociationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline BatchGetConfigurationPolicyAssociationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::Vector<ConfigurationPolicyAssociationSummary> m_configurationPolicyAssociations;
79
80 Aws::Vector<UnprocessedConfigurationPolicyAssociation> m_unprocessedConfigurationPolicyAssociations;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace SecurityHub
87} // namespace Aws
BatchGetConfigurationPolicyAssociationsResult & WithUnprocessedConfigurationPolicyAssociations(Aws::Vector< UnprocessedConfigurationPolicyAssociation > &&value)
BatchGetConfigurationPolicyAssociationsResult & WithUnprocessedConfigurationPolicyAssociations(const Aws::Vector< UnprocessedConfigurationPolicyAssociation > &value)
BatchGetConfigurationPolicyAssociationsResult & WithConfigurationPolicyAssociations(Aws::Vector< ConfigurationPolicyAssociationSummary > &&value)
void SetConfigurationPolicyAssociations(const Aws::Vector< ConfigurationPolicyAssociationSummary > &value)
BatchGetConfigurationPolicyAssociationsResult & AddUnprocessedConfigurationPolicyAssociations(const UnprocessedConfigurationPolicyAssociation &value)
void SetUnprocessedConfigurationPolicyAssociations(const Aws::Vector< UnprocessedConfigurationPolicyAssociation > &value)
BatchGetConfigurationPolicyAssociationsResult & AddConfigurationPolicyAssociations(ConfigurationPolicyAssociationSummary &&value)
const Aws::Vector< ConfigurationPolicyAssociationSummary > & GetConfigurationPolicyAssociations() const
const Aws::Vector< UnprocessedConfigurationPolicyAssociation > & GetUnprocessedConfigurationPolicyAssociations() const
BatchGetConfigurationPolicyAssociationsResult & WithRequestId(const char *value)
BatchGetConfigurationPolicyAssociationsResult & WithRequestId(Aws::String &&value)
BatchGetConfigurationPolicyAssociationsResult & WithConfigurationPolicyAssociations(const Aws::Vector< ConfigurationPolicyAssociationSummary > &value)
BatchGetConfigurationPolicyAssociationsResult & WithRequestId(const Aws::String &value)
AWS_SECURITYHUB_API BatchGetConfigurationPolicyAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetConfigurationPolicyAssociationsResult & AddUnprocessedConfigurationPolicyAssociations(UnprocessedConfigurationPolicyAssociation &&value)
void SetUnprocessedConfigurationPolicyAssociations(Aws::Vector< UnprocessedConfigurationPolicyAssociation > &&value)
AWS_SECURITYHUB_API BatchGetConfigurationPolicyAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetConfigurationPolicyAssociationsResult & AddConfigurationPolicyAssociations(const ConfigurationPolicyAssociationSummary &value)
void SetConfigurationPolicyAssociations(Aws::Vector< ConfigurationPolicyAssociationSummary > &&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