AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename EventFilterT = EventFilter>
47 void SetEventFilter(EventFilterT&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::forward<EventFilterT>(value); }
48 template<typename EventFilterT = EventFilter>
49 EventStartCondition& WithEventFilter(EventFilterT&& value) { SetEventFilter(std::forward<EventFilterT>(value)); return *this;}
51
53
54 inline const Aws::String& GetSegmentId() const { return m_segmentId; }
55 inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; }
56 template<typename SegmentIdT = Aws::String>
57 void SetSegmentId(SegmentIdT&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::forward<SegmentIdT>(value); }
58 template<typename SegmentIdT = Aws::String>
59 EventStartCondition& WithSegmentId(SegmentIdT&& value) { SetSegmentId(std::forward<SegmentIdT>(value)); return *this;}
61 private:
62
63 EventFilter m_eventFilter;
64 bool m_eventFilterHasBeenSet = false;
65
66 Aws::String m_segmentId;
67 bool m_segmentIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Pinpoint
72} // namespace Aws
AWS_PINPOINT_API EventStartCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EventStartCondition()=default
EventStartCondition & WithEventFilter(EventFilterT &&value)
EventStartCondition & WithSegmentId(SegmentIdT &&value)
AWS_PINPOINT_API EventStartCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue