AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiConditionalBranch.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/SimpleCondition.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 MultiConditionalBranch();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const SimpleCondition& GetCondition() const{ return m_condition; }
47 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
48 inline void SetCondition(const SimpleCondition& value) { m_conditionHasBeenSet = true; m_condition = value; }
49 inline void SetCondition(SimpleCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
50 inline MultiConditionalBranch& WithCondition(const SimpleCondition& value) { SetCondition(value); return *this;}
51 inline MultiConditionalBranch& WithCondition(SimpleCondition&& value) { SetCondition(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetNextActivity() const{ return m_nextActivity; }
60 inline bool NextActivityHasBeenSet() const { return m_nextActivityHasBeenSet; }
61 inline void SetNextActivity(const Aws::String& value) { m_nextActivityHasBeenSet = true; m_nextActivity = value; }
62 inline void SetNextActivity(Aws::String&& value) { m_nextActivityHasBeenSet = true; m_nextActivity = std::move(value); }
63 inline void SetNextActivity(const char* value) { m_nextActivityHasBeenSet = true; m_nextActivity.assign(value); }
64 inline MultiConditionalBranch& WithNextActivity(const Aws::String& value) { SetNextActivity(value); return *this;}
65 inline MultiConditionalBranch& WithNextActivity(Aws::String&& value) { SetNextActivity(std::move(value)); return *this;}
66 inline MultiConditionalBranch& WithNextActivity(const char* value) { SetNextActivity(value); return *this;}
68 private:
69
70 SimpleCondition m_condition;
71 bool m_conditionHasBeenSet = false;
72
73 Aws::String m_nextActivity;
74 bool m_nextActivityHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Pinpoint
79} // namespace Aws
MultiConditionalBranch & WithNextActivity(Aws::String &&value)
void SetCondition(const SimpleCondition &value)
AWS_PINPOINT_API MultiConditionalBranch & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiConditionalBranch & WithCondition(const SimpleCondition &value)
MultiConditionalBranch & WithNextActivity(const char *value)
AWS_PINPOINT_API MultiConditionalBranch(Aws::Utils::Json::JsonView jsonValue)
MultiConditionalBranch & WithCondition(SimpleCondition &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
MultiConditionalBranch & WithNextActivity(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue