AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimpleCondition.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/EventCondition.h>
9#include <aws/pinpoint/model/SegmentCondition.h>
10#include <aws/pinpoint/model/SegmentDimensions.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 Pinpoint
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_PINPOINT_API SimpleCondition();
38 AWS_PINPOINT_API SimpleCondition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const EventCondition& GetEventCondition() const{ return m_eventCondition; }
48 inline bool EventConditionHasBeenSet() const { return m_eventConditionHasBeenSet; }
49 inline void SetEventCondition(const EventCondition& value) { m_eventConditionHasBeenSet = true; m_eventCondition = value; }
50 inline void SetEventCondition(EventCondition&& value) { m_eventConditionHasBeenSet = true; m_eventCondition = std::move(value); }
51 inline SimpleCondition& WithEventCondition(const EventCondition& value) { SetEventCondition(value); return *this;}
52 inline SimpleCondition& WithEventCondition(EventCondition&& value) { SetEventCondition(std::move(value)); return *this;}
54
56
59 inline const SegmentCondition& GetSegmentCondition() const{ return m_segmentCondition; }
60 inline bool SegmentConditionHasBeenSet() const { return m_segmentConditionHasBeenSet; }
61 inline void SetSegmentCondition(const SegmentCondition& value) { m_segmentConditionHasBeenSet = true; m_segmentCondition = value; }
62 inline void SetSegmentCondition(SegmentCondition&& value) { m_segmentConditionHasBeenSet = true; m_segmentCondition = std::move(value); }
63 inline SimpleCondition& WithSegmentCondition(const SegmentCondition& value) { SetSegmentCondition(value); return *this;}
64 inline SimpleCondition& WithSegmentCondition(SegmentCondition&& value) { SetSegmentCondition(std::move(value)); return *this;}
66
68
72 inline const SegmentDimensions& GetSegmentDimensions() const{ return m_segmentDimensions; }
73 inline bool SegmentDimensionsHasBeenSet() const { return m_segmentDimensionsHasBeenSet; }
74 inline void SetSegmentDimensions(const SegmentDimensions& value) { m_segmentDimensionsHasBeenSet = true; m_segmentDimensions = value; }
75 inline void SetSegmentDimensions(SegmentDimensions&& value) { m_segmentDimensionsHasBeenSet = true; m_segmentDimensions = std::move(value); }
76 inline SimpleCondition& WithSegmentDimensions(const SegmentDimensions& value) { SetSegmentDimensions(value); return *this;}
77 inline SimpleCondition& WithSegmentDimensions(SegmentDimensions&& value) { SetSegmentDimensions(std::move(value)); return *this;}
79 private:
80
81 EventCondition m_eventCondition;
82 bool m_eventConditionHasBeenSet = false;
83
84 SegmentCondition m_segmentCondition;
85 bool m_segmentConditionHasBeenSet = false;
86
87 SegmentDimensions m_segmentDimensions;
88 bool m_segmentDimensionsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Pinpoint
93} // namespace Aws
void SetSegmentCondition(SegmentCondition &&value)
void SetSegmentDimensions(SegmentDimensions &&value)
const SegmentDimensions & GetSegmentDimensions() const
SimpleCondition & WithSegmentCondition(SegmentCondition &&value)
const EventCondition & GetEventCondition() const
void SetEventCondition(const EventCondition &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
SimpleCondition & WithEventCondition(EventCondition &&value)
void SetEventCondition(EventCondition &&value)
SimpleCondition & WithEventCondition(const EventCondition &value)
AWS_PINPOINT_API SimpleCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API SimpleCondition(Aws::Utils::Json::JsonView jsonValue)
void SetSegmentDimensions(const SegmentDimensions &value)
const SegmentCondition & GetSegmentCondition() const
SimpleCondition & WithSegmentCondition(const SegmentCondition &value)
SimpleCondition & WithSegmentDimensions(const SegmentDimensions &value)
void SetSegmentCondition(const SegmentCondition &value)
SimpleCondition & WithSegmentDimensions(SegmentDimensions &&value)
Aws::Utils::Json::JsonValue JsonValue