AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventStartCondition.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/EventFilter.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API EventStartCondition();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const EventFilter& GetEventFilter() const{ return m_eventFilter; }
45 inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; }
46 inline void SetEventFilter(const EventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; }
47 inline void SetEventFilter(EventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); }
48 inline EventStartCondition& WithEventFilter(const EventFilter& value) { SetEventFilter(value); return *this;}
49 inline EventStartCondition& WithEventFilter(EventFilter&& value) { SetEventFilter(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
55 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
56 inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
57 inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
58 inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
59 inline EventStartCondition& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
60 inline EventStartCondition& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
61 inline EventStartCondition& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
63 private:
64
65 EventFilter m_eventFilter;
66 bool m_eventFilterHasBeenSet = false;
67
68 Aws::String m_segmentId;
69 bool m_segmentIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Pinpoint
74} // namespace Aws
AWS_PINPOINT_API EventStartCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventFilter(const EventFilter &value)
EventStartCondition & WithEventFilter(const EventFilter &value)
EventStartCondition & WithSegmentId(const char *value)
EventStartCondition & WithEventFilter(EventFilter &&value)
AWS_PINPOINT_API EventStartCondition(Aws::Utils::Json::JsonView jsonValue)
void SetSegmentId(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EventStartCondition & WithSegmentId(Aws::String &&value)
EventStartCondition & WithSegmentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue