AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventCondition.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/EventDimensions.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 EventCondition();
37 AWS_PINPOINT_API EventCondition(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const EventDimensions& GetDimensions() const{ return m_dimensions; }
47 inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
48 inline void SetDimensions(const EventDimensions& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
49 inline void SetDimensions(EventDimensions&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
50 inline EventCondition& WithDimensions(const EventDimensions& value) { SetDimensions(value); return *this;}
51 inline EventCondition& WithDimensions(EventDimensions&& value) { SetDimensions(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetMessageActivity() const{ return m_messageActivity; }
60 inline bool MessageActivityHasBeenSet() const { return m_messageActivityHasBeenSet; }
61 inline void SetMessageActivity(const Aws::String& value) { m_messageActivityHasBeenSet = true; m_messageActivity = value; }
62 inline void SetMessageActivity(Aws::String&& value) { m_messageActivityHasBeenSet = true; m_messageActivity = std::move(value); }
63 inline void SetMessageActivity(const char* value) { m_messageActivityHasBeenSet = true; m_messageActivity.assign(value); }
64 inline EventCondition& WithMessageActivity(const Aws::String& value) { SetMessageActivity(value); return *this;}
65 inline EventCondition& WithMessageActivity(Aws::String&& value) { SetMessageActivity(std::move(value)); return *this;}
66 inline EventCondition& WithMessageActivity(const char* value) { SetMessageActivity(value); return *this;}
68 private:
69
70 EventDimensions m_dimensions;
71 bool m_dimensionsHasBeenSet = false;
72
73 Aws::String m_messageActivity;
74 bool m_messageActivityHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Pinpoint
79} // namespace Aws
void SetMessageActivity(Aws::String &&value)
void SetMessageActivity(const Aws::String &value)
void SetDimensions(const EventDimensions &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDimensions(EventDimensions &&value)
const EventDimensions & GetDimensions() const
void SetMessageActivity(const char *value)
EventCondition & WithDimensions(const EventDimensions &value)
EventCondition & WithMessageActivity(Aws::String &&value)
EventCondition & WithMessageActivity(const char *value)
const Aws::String & GetMessageActivity() const
AWS_PINPOINT_API EventCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EventCondition(Aws::Utils::Json::JsonView jsonValue)
EventCondition & WithMessageActivity(const Aws::String &value)
EventCondition & WithDimensions(EventDimensions &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue