AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
50 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
51 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
52 inline Action& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
53 inline Action& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
54 inline Action& WithActionId(const char* value) { SetActionId(value); return *this;}
56
58
67 inline const Aws::String& GetProperties() const{ return m_properties; }
68 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
69 inline void SetProperties(const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties = value; }
70 inline void SetProperties(Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
71 inline void SetProperties(const char* value) { m_propertiesHasBeenSet = true; m_properties.assign(value); }
72 inline Action& WithProperties(const Aws::String& value) { SetProperties(value); return *this;}
73 inline Action& WithProperties(Aws::String&& value) { SetProperties(std::move(value)); return *this;}
74 inline Action& WithProperties(const char* value) { SetProperties(value); return *this;}
76 private:
77
78 Aws::String m_actionId;
79 bool m_actionIdHasBeenSet = false;
80
81 Aws::String m_properties;
82 bool m_propertiesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace PersonalizeEvents
87} // namespace Aws
Action & WithActionId(Aws::String &&value)
Definition Action.h:53
const Aws::String & GetActionId() const
Definition Action.h:47
Action & WithActionId(const Aws::String &value)
Definition Action.h:52
void SetProperties(const Aws::String &value)
Definition Action.h:69
void SetActionId(const char *value)
Definition Action.h:51
AWS_PERSONALIZEEVENTS_API Action(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProperties() const
Definition Action.h:67
Action & WithProperties(Aws::String &&value)
Definition Action.h:73
Action & WithActionId(const char *value)
Definition Action.h:54
void SetActionId(Aws::String &&value)
Definition Action.h:50
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActionId(const Aws::String &value)
Definition Action.h:49
void SetProperties(const char *value)
Definition Action.h:71
Action & WithProperties(const Aws::String &value)
Definition Action.h:72
AWS_PERSONALIZEEVENTS_API Action()
void SetProperties(Aws::String &&value)
Definition Action.h:70
AWS_PERSONALIZEEVENTS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
Action & WithProperties(const char *value)
Definition Action.h:74
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue