AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCondition.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/model/EventStartCondition.h>
10#include <aws/pinpoint/model/SegmentCondition.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
36 {
37 public:
38 AWS_PINPOINT_API StartCondition();
39 AWS_PINPOINT_API StartCondition(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDescription() const{ return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
50 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline StartCondition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline StartCondition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline StartCondition& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
60 inline const EventStartCondition& GetEventStartCondition() const{ return m_eventStartCondition; }
61 inline bool EventStartConditionHasBeenSet() const { return m_eventStartConditionHasBeenSet; }
62 inline void SetEventStartCondition(const EventStartCondition& value) { m_eventStartConditionHasBeenSet = true; m_eventStartCondition = value; }
63 inline void SetEventStartCondition(EventStartCondition&& value) { m_eventStartConditionHasBeenSet = true; m_eventStartCondition = std::move(value); }
65 inline StartCondition& WithEventStartCondition(EventStartCondition&& value) { SetEventStartCondition(std::move(value)); return *this;}
67
69
73 inline const SegmentCondition& GetSegmentStartCondition() const{ return m_segmentStartCondition; }
74 inline bool SegmentStartConditionHasBeenSet() const { return m_segmentStartConditionHasBeenSet; }
75 inline void SetSegmentStartCondition(const SegmentCondition& value) { m_segmentStartConditionHasBeenSet = true; m_segmentStartCondition = value; }
76 inline void SetSegmentStartCondition(SegmentCondition&& value) { m_segmentStartConditionHasBeenSet = true; m_segmentStartCondition = std::move(value); }
78 inline StartCondition& WithSegmentStartCondition(SegmentCondition&& value) { SetSegmentStartCondition(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84
85 EventStartCondition m_eventStartCondition;
86 bool m_eventStartConditionHasBeenSet = false;
87
88 SegmentCondition m_segmentStartCondition;
89 bool m_segmentStartConditionHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Pinpoint
94} // namespace Aws
StartCondition & WithSegmentStartCondition(const SegmentCondition &value)
AWS_PINPOINT_API StartCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
StartCondition & WithDescription(const char *value)
void SetEventStartCondition(const EventStartCondition &value)
StartCondition & WithSegmentStartCondition(SegmentCondition &&value)
AWS_PINPOINT_API StartCondition(Aws::Utils::Json::JsonView jsonValue)
const EventStartCondition & GetEventStartCondition() const
void SetDescription(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
StartCondition & WithEventStartCondition(EventStartCondition &&value)
StartCondition & WithEventStartCondition(const EventStartCondition &value)
const SegmentCondition & GetSegmentStartCondition() const
StartCondition & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetSegmentStartCondition(const SegmentCondition &value)
void SetEventStartCondition(EventStartCondition &&value)
StartCondition & WithDescription(Aws::String &&value)
void SetSegmentStartCondition(SegmentCondition &&value)
void SetDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue