AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EventParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CustomerProfiles {
20namespace Model {
21
29 public:
30 AWS_CUSTOMERPROFILES_API EventParameters() = default;
31 AWS_CUSTOMERPROFILES_API EventParameters(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CUSTOMERPROFILES_API EventParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEventType() const { return m_eventType; }
40 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
41 template <typename EventTypeT = Aws::String>
42 void SetEventType(EventTypeT&& value) {
43 m_eventTypeHasBeenSet = true;
44 m_eventType = std::forward<EventTypeT>(value);
45 }
46 template <typename EventTypeT = Aws::String>
47 EventParameters& WithEventType(EventTypeT&& value) {
48 SetEventType(std::forward<EventTypeT>(value));
49 return *this;
50 }
52
54
58 inline double GetEventValueThreshold() const { return m_eventValueThreshold; }
59 inline bool EventValueThresholdHasBeenSet() const { return m_eventValueThresholdHasBeenSet; }
60 inline void SetEventValueThreshold(double value) {
61 m_eventValueThresholdHasBeenSet = true;
62 m_eventValueThreshold = value;
63 }
66 return *this;
67 }
69 private:
70 Aws::String m_eventType;
71
72 double m_eventValueThreshold{0.0};
73 bool m_eventTypeHasBeenSet = false;
74 bool m_eventValueThresholdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CustomerProfiles
79} // namespace Aws
AWS_CUSTOMERPROFILES_API EventParameters()=default
AWS_CUSTOMERPROFILES_API EventParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
EventParameters & WithEventValueThreshold(double value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventParameters & WithEventType(EventTypeT &&value)
AWS_CUSTOMERPROFILES_API EventParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue