AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Action.h
1
6#pragma once
7#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PersonalizeEvents
22{
23namespace Model
24{
25
34 class Action
35 {
36 public:
37 AWS_PERSONALIZEEVENTS_API Action() = default;
38 AWS_PERSONALIZEEVENTS_API Action(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZEEVENTS_API Action& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetActionId() const { return m_actionId; }
48 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
49 template<typename ActionIdT = Aws::String>
50 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
51 template<typename ActionIdT = Aws::String>
52 Action& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
54
56
65 inline const Aws::String& GetProperties() const { return m_properties; }
66 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
67 template<typename PropertiesT = Aws::String>
68 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
69 template<typename PropertiesT = Aws::String>
70 Action& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
72 private:
73
74 Aws::String m_actionId;
75 bool m_actionIdHasBeenSet = false;
76
77 Aws::String m_properties;
78 bool m_propertiesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace PersonalizeEvents
83} // namespace Aws
void SetActionId(ActionIdT &&value)
Definition Action.h:50
const Aws::String & GetActionId() const
Definition Action.h:47
Action & WithActionId(ActionIdT &&value)
Definition Action.h:52
AWS_PERSONALIZEEVENTS_API Action(Aws::Utils::Json::JsonView jsonValue)
Action & WithProperties(PropertiesT &&value)
Definition Action.h:70
const Aws::String & GetProperties() const
Definition Action.h:65
void SetProperties(PropertiesT &&value)
Definition Action.h:68
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZEEVENTS_API Action()=default
AWS_PERSONALIZEEVENTS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue