AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ContinuousIntegrationScanConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/ContinuousIntegrationScanEvent.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API ContinuousIntegrationScanConfiguration() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<ContinuousIntegrationScanEvent>& GetSupportedEvents() const { return m_supportedEvents; }
42 inline bool SupportedEventsHasBeenSet() const { return m_supportedEventsHasBeenSet; }
43 template <typename SupportedEventsT = Aws::Vector<ContinuousIntegrationScanEvent>>
44 void SetSupportedEvents(SupportedEventsT&& value) {
45 m_supportedEventsHasBeenSet = true;
46 m_supportedEvents = std::forward<SupportedEventsT>(value);
47 }
48 template <typename SupportedEventsT = Aws::Vector<ContinuousIntegrationScanEvent>>
50 SetSupportedEvents(std::forward<SupportedEventsT>(value));
51 return *this;
52 }
54 m_supportedEventsHasBeenSet = true;
55 m_supportedEvents.push_back(value);
56 return *this;
57 }
59 private:
61 bool m_supportedEventsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Inspector2
66} // 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