AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EventsConfig.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/personalize/model/EventParameters.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 Personalize
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PERSONALIZE_API EventsConfig() = default;
37 AWS_PERSONALIZE_API EventsConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API EventsConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<EventParameters>& GetEventParametersList() const { return m_eventParametersList; }
48 inline bool EventParametersListHasBeenSet() const { return m_eventParametersListHasBeenSet; }
49 template<typename EventParametersListT = Aws::Vector<EventParameters>>
50 void SetEventParametersList(EventParametersListT&& value) { m_eventParametersListHasBeenSet = true; m_eventParametersList = std::forward<EventParametersListT>(value); }
51 template<typename EventParametersListT = Aws::Vector<EventParameters>>
52 EventsConfig& WithEventParametersList(EventParametersListT&& value) { SetEventParametersList(std::forward<EventParametersListT>(value)); return *this;}
53 template<typename EventParametersListT = EventParameters>
54 EventsConfig& AddEventParametersList(EventParametersListT&& value) { m_eventParametersListHasBeenSet = true; m_eventParametersList.emplace_back(std::forward<EventParametersListT>(value)); return *this; }
56 private:
57
58 Aws::Vector<EventParameters> m_eventParametersList;
59 bool m_eventParametersListHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Personalize
64} // namespace Aws
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
EventsConfig & WithEventParametersList(EventParametersListT &&value)
EventsConfig & AddEventParametersList(EventParametersListT &&value)
AWS_PERSONALIZE_API EventsConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API EventsConfig()=default
void SetEventParametersList(EventParametersListT &&value)
const Aws::Vector< EventParameters > & GetEventParametersList() const
AWS_PERSONALIZE_API EventsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue