AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoExportPolicy.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
40 {
41 public:
42 AWS_FSX_API AutoExportPolicy();
46
47
49
60 inline const Aws::Vector<EventType>& GetEvents() const{ return m_events; }
61 inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
62 inline void SetEvents(const Aws::Vector<EventType>& value) { m_eventsHasBeenSet = true; m_events = value; }
63 inline void SetEvents(Aws::Vector<EventType>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
64 inline AutoExportPolicy& WithEvents(const Aws::Vector<EventType>& value) { SetEvents(value); return *this;}
65 inline AutoExportPolicy& WithEvents(Aws::Vector<EventType>&& value) { SetEvents(std::move(value)); return *this;}
66 inline AutoExportPolicy& AddEvents(const EventType& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
67 inline AutoExportPolicy& AddEvents(EventType&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
69 private:
70
72 bool m_eventsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FSx
77} // namespace Aws
AutoExportPolicy & AddEvents(const EventType &value)
AutoExportPolicy & AddEvents(EventType &&value)
AWS_FSX_API AutoExportPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(const Aws::Vector< EventType > &value)
AutoExportPolicy & WithEvents(const Aws::Vector< EventType > &value)
AWS_FSX_API AutoExportPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(Aws::Vector< EventType > &&value)
AutoExportPolicy & WithEvents(Aws::Vector< EventType > &&value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EventType > & GetEvents() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue