AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventParameters.h
1
6#pragma once
7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/dlm/model/EventTypeValues.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.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 DLM
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DLM_API EventParameters();
41
42
44
47 inline const EventTypeValues& GetEventType() const{ return m_eventType; }
48 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
49 inline void SetEventType(const EventTypeValues& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
50 inline void SetEventType(EventTypeValues&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
51 inline EventParameters& WithEventType(const EventTypeValues& value) { SetEventType(value); return *this;}
52 inline EventParameters& WithEventType(EventTypeValues&& value) { SetEventType(std::move(value)); return *this;}
54
56
61 inline const Aws::Vector<Aws::String>& GetSnapshotOwner() const{ return m_snapshotOwner; }
62 inline bool SnapshotOwnerHasBeenSet() const { return m_snapshotOwnerHasBeenSet; }
63 inline void SetSnapshotOwner(const Aws::Vector<Aws::String>& value) { m_snapshotOwnerHasBeenSet = true; m_snapshotOwner = value; }
64 inline void SetSnapshotOwner(Aws::Vector<Aws::String>&& value) { m_snapshotOwnerHasBeenSet = true; m_snapshotOwner = std::move(value); }
65 inline EventParameters& WithSnapshotOwner(const Aws::Vector<Aws::String>& value) { SetSnapshotOwner(value); return *this;}
66 inline EventParameters& WithSnapshotOwner(Aws::Vector<Aws::String>&& value) { SetSnapshotOwner(std::move(value)); return *this;}
67 inline EventParameters& AddSnapshotOwner(const Aws::String& value) { m_snapshotOwnerHasBeenSet = true; m_snapshotOwner.push_back(value); return *this; }
68 inline EventParameters& AddSnapshotOwner(Aws::String&& value) { m_snapshotOwnerHasBeenSet = true; m_snapshotOwner.push_back(std::move(value)); return *this; }
69 inline EventParameters& AddSnapshotOwner(const char* value) { m_snapshotOwnerHasBeenSet = true; m_snapshotOwner.push_back(value); return *this; }
71
73
82 inline const Aws::String& GetDescriptionRegex() const{ return m_descriptionRegex; }
83 inline bool DescriptionRegexHasBeenSet() const { return m_descriptionRegexHasBeenSet; }
84 inline void SetDescriptionRegex(const Aws::String& value) { m_descriptionRegexHasBeenSet = true; m_descriptionRegex = value; }
85 inline void SetDescriptionRegex(Aws::String&& value) { m_descriptionRegexHasBeenSet = true; m_descriptionRegex = std::move(value); }
86 inline void SetDescriptionRegex(const char* value) { m_descriptionRegexHasBeenSet = true; m_descriptionRegex.assign(value); }
87 inline EventParameters& WithDescriptionRegex(const Aws::String& value) { SetDescriptionRegex(value); return *this;}
88 inline EventParameters& WithDescriptionRegex(Aws::String&& value) { SetDescriptionRegex(std::move(value)); return *this;}
89 inline EventParameters& WithDescriptionRegex(const char* value) { SetDescriptionRegex(value); return *this;}
91 private:
92
93 EventTypeValues m_eventType;
94 bool m_eventTypeHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_snapshotOwner;
97 bool m_snapshotOwnerHasBeenSet = false;
98
99 Aws::String m_descriptionRegex;
100 bool m_descriptionRegexHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace DLM
105} // namespace Aws
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
EventParameters & WithEventType(EventTypeValues &&value)
void SetEventType(const EventTypeValues &value)
AWS_DLM_API EventParameters(Aws::Utils::Json::JsonView jsonValue)
void SetDescriptionRegex(Aws::String &&value)
void SetSnapshotOwner(const Aws::Vector< Aws::String > &value)
EventParameters & WithEventType(const EventTypeValues &value)
EventParameters & WithDescriptionRegex(const Aws::String &value)
void SetSnapshotOwner(Aws::Vector< Aws::String > &&value)
void SetDescriptionRegex(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSnapshotOwner() const
AWS_DLM_API EventParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const EventTypeValues & GetEventType() const
EventParameters & WithSnapshotOwner(const Aws::Vector< Aws::String > &value)
EventParameters & AddSnapshotOwner(Aws::String &&value)
void SetEventType(EventTypeValues &&value)
void SetDescriptionRegex(const char *value)
EventParameters & WithDescriptionRegex(Aws::String &&value)
EventParameters & AddSnapshotOwner(const char *value)
EventParameters & WithSnapshotOwner(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescriptionRegex() const
EventParameters & AddSnapshotOwner(const Aws::String &value)
EventParameters & WithDescriptionRegex(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue