AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectContinuousIntegrationScanConfiguration.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/inspector2/model/ContinuousIntegrationScanEvent.h>
10#include <aws/inspector2/model/RuleSetCategory.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API ProjectContinuousIntegrationScanConfiguration() = default;
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<RuleSetCategory>& GetRuleSetCategories() const { return m_ruleSetCategories; }
49 inline bool RuleSetCategoriesHasBeenSet() const { return m_ruleSetCategoriesHasBeenSet; }
50 template<typename RuleSetCategoriesT = Aws::Vector<RuleSetCategory>>
51 void SetRuleSetCategories(RuleSetCategoriesT&& value) { m_ruleSetCategoriesHasBeenSet = true; m_ruleSetCategories = std::forward<RuleSetCategoriesT>(value); }
52 template<typename RuleSetCategoriesT = Aws::Vector<RuleSetCategory>>
53 ProjectContinuousIntegrationScanConfiguration& WithRuleSetCategories(RuleSetCategoriesT&& value) { SetRuleSetCategories(std::forward<RuleSetCategoriesT>(value)); return *this;}
54 inline ProjectContinuousIntegrationScanConfiguration& AddRuleSetCategories(RuleSetCategory value) { m_ruleSetCategoriesHasBeenSet = true; m_ruleSetCategories.push_back(value); return *this; }
56
58
62 inline ContinuousIntegrationScanEvent GetSupportedEvent() const { return m_supportedEvent; }
63 inline bool SupportedEventHasBeenSet() const { return m_supportedEventHasBeenSet; }
64 inline void SetSupportedEvent(ContinuousIntegrationScanEvent value) { m_supportedEventHasBeenSet = true; m_supportedEvent = value; }
67 private:
68
69 Aws::Vector<RuleSetCategory> m_ruleSetCategories;
70 bool m_ruleSetCategoriesHasBeenSet = false;
71
73 bool m_supportedEventHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Inspector2
78} // namespace Aws
AWS_INSPECTOR2_API ProjectContinuousIntegrationScanConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectContinuousIntegrationScanConfiguration & WithSupportedEvent(ContinuousIntegrationScanEvent value)
AWS_INSPECTOR2_API ProjectContinuousIntegrationScanConfiguration(Aws::Utils::Json::JsonView jsonValue)
ProjectContinuousIntegrationScanConfiguration & WithRuleSetCategories(RuleSetCategoriesT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectContinuousIntegrationScanConfiguration & AddRuleSetCategories(RuleSetCategory value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue