AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContinuousIntegrationScanConfiguration.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API ContinuousIntegrationScanConfiguration() = default;
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<ContinuousIntegrationScanEvent>& GetSupportedEvents() const { return m_supportedEvents; }
48 inline bool SupportedEventsHasBeenSet() const { return m_supportedEventsHasBeenSet; }
49 template<typename SupportedEventsT = Aws::Vector<ContinuousIntegrationScanEvent>>
50 void SetSupportedEvents(SupportedEventsT&& value) { m_supportedEventsHasBeenSet = true; m_supportedEvents = std::forward<SupportedEventsT>(value); }
51 template<typename SupportedEventsT = Aws::Vector<ContinuousIntegrationScanEvent>>
52 ContinuousIntegrationScanConfiguration& WithSupportedEvents(SupportedEventsT&& value) { SetSupportedEvents(std::forward<SupportedEventsT>(value)); return *this;}
53 inline ContinuousIntegrationScanConfiguration& AddSupportedEvents(ContinuousIntegrationScanEvent value) { m_supportedEventsHasBeenSet = true; m_supportedEvents.push_back(value); return *this; }
55 private:
56
58 bool m_supportedEventsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Inspector2
63} // namespace Aws
AWS_INSPECTOR2_API ContinuousIntegrationScanConfiguration(Aws::Utils::Json::JsonView jsonValue)
ContinuousIntegrationScanConfiguration & AddSupportedEvents(ContinuousIntegrationScanEvent value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ContinuousIntegrationScanEvent > & GetSupportedEvents() const
AWS_INSPECTOR2_API ContinuousIntegrationScanConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ContinuousIntegrationScanConfiguration & WithSupportedEvents(SupportedEventsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue