AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoImportPolicy.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/fsx/model/EventType.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 FSx
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_FSX_API AutoImportPolicy();
44
45
47
58 inline const Aws::Vector<EventType>& GetEvents() const{ return m_events; }
59 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
60 inline void SetEvents(const Aws::Vector<EventType>& value) { m_eventsHasBeenSet = true; m_events = value; }
61 inline void SetEvents(Aws::Vector<EventType>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
62 inline AutoImportPolicy& WithEvents(const Aws::Vector<EventType>& value) { SetEvents(value); return *this;}
63 inline AutoImportPolicy& WithEvents(Aws::Vector<EventType>&& value) { SetEvents(std::move(value)); return *this;}
64 inline AutoImportPolicy& AddEvents(const EventType& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
65 inline AutoImportPolicy& AddEvents(EventType&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
67 private:
68
70 bool m_eventsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace FSx
75} // namespace Aws
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FSX_API AutoImportPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(Aws::Vector< EventType > &&value)
const Aws::Vector< EventType > & GetEvents() const
AutoImportPolicy & WithEvents(Aws::Vector< EventType > &&value)
void SetEvents(const Aws::Vector< EventType > &value)
AutoImportPolicy & WithEvents(const Aws::Vector< EventType > &value)
AWS_FSX_API AutoImportPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoImportPolicy & AddEvents(const EventType &value)
AutoImportPolicy & AddEvents(EventType &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue