AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetAutomationRulesResult.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/AutomationRulesConfig.h>
11#include <aws/securityhub/model/UnprocessedAutomationRule.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 BatchGetAutomationRulesResult();
36
37
39
42 inline const Aws::Vector<AutomationRulesConfig>& GetRules() const{ return m_rules; }
43 inline void SetRules(const Aws::Vector<AutomationRulesConfig>& value) { m_rules = value; }
44 inline void SetRules(Aws::Vector<AutomationRulesConfig>&& value) { m_rules = std::move(value); }
46 inline BatchGetAutomationRulesResult& WithRules(Aws::Vector<AutomationRulesConfig>&& value) { SetRules(std::move(value)); return *this;}
47 inline BatchGetAutomationRulesResult& AddRules(const AutomationRulesConfig& value) { m_rules.push_back(value); return *this; }
48 inline BatchGetAutomationRulesResult& AddRules(AutomationRulesConfig&& value) { m_rules.push_back(std::move(value)); return *this; }
50
52
57 inline const Aws::Vector<UnprocessedAutomationRule>& GetUnprocessedAutomationRules() const{ return m_unprocessedAutomationRules; }
58 inline void SetUnprocessedAutomationRules(const Aws::Vector<UnprocessedAutomationRule>& value) { m_unprocessedAutomationRules = value; }
59 inline void SetUnprocessedAutomationRules(Aws::Vector<UnprocessedAutomationRule>&& value) { m_unprocessedAutomationRules = std::move(value); }
62 inline BatchGetAutomationRulesResult& AddUnprocessedAutomationRules(const UnprocessedAutomationRule& value) { m_unprocessedAutomationRules.push_back(value); return *this; }
63 inline BatchGetAutomationRulesResult& AddUnprocessedAutomationRules(UnprocessedAutomationRule&& value) { m_unprocessedAutomationRules.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); }
72 inline BatchGetAutomationRulesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline BatchGetAutomationRulesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline BatchGetAutomationRulesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
79
80 Aws::Vector<UnprocessedAutomationRule> m_unprocessedAutomationRules;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace SecurityHub
87} // namespace Aws
AWS_SECURITYHUB_API BatchGetAutomationRulesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAutomationRulesResult & WithRules(Aws::Vector< AutomationRulesConfig > &&value)
const Aws::Vector< UnprocessedAutomationRule > & GetUnprocessedAutomationRules() const
void SetUnprocessedAutomationRules(Aws::Vector< UnprocessedAutomationRule > &&value)
const Aws::Vector< AutomationRulesConfig > & GetRules() const
BatchGetAutomationRulesResult & AddRules(const AutomationRulesConfig &value)
BatchGetAutomationRulesResult & AddUnprocessedAutomationRules(UnprocessedAutomationRule &&value)
void SetRules(Aws::Vector< AutomationRulesConfig > &&value)
void SetUnprocessedAutomationRules(const Aws::Vector< UnprocessedAutomationRule > &value)
BatchGetAutomationRulesResult & WithRequestId(Aws::String &&value)
AWS_SECURITYHUB_API BatchGetAutomationRulesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetAutomationRulesResult & WithUnprocessedAutomationRules(const Aws::Vector< UnprocessedAutomationRule > &value)
BatchGetAutomationRulesResult & WithRequestId(const Aws::String &value)
BatchGetAutomationRulesResult & WithRules(const Aws::Vector< AutomationRulesConfig > &value)
BatchGetAutomationRulesResult & WithUnprocessedAutomationRules(Aws::Vector< UnprocessedAutomationRule > &&value)
BatchGetAutomationRulesResult & AddUnprocessedAutomationRules(const UnprocessedAutomationRule &value)
BatchGetAutomationRulesResult & AddRules(AutomationRulesConfig &&value)
void SetRules(const Aws::Vector< AutomationRulesConfig > &value)
BatchGetAutomationRulesResult & WithRequestId(const char *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